[Registry-dev] [jira] Created: (REGISTRY-386) wso2registry.war
deployment fails with jboss-4.0.4.GA due to JSP compilation errors.
Krishantha Samaraweera (JIRA)
jira at wso2.org
Mon Jun 2 01:13:47 PDT 2008
wso2registry.war deployment fails with jboss-4.0.4.GA due to JSP compilation errors.
------------------------------------------------------------------------------------
Key: REGISTRY-386
URL: https://wso2.org/jira/browse/REGISTRY-386
Project: WSO2 Registry
Issue Type: Bug
Components: UI
Affects Versions: 1.1
Environment: Ubuntu 7.10, JDK 1.5.0_08, jboss-4.0.4.GA, Firefox/2.0.0.8
Reporter: Krishantha Samaraweera
Assignee: Chanaka Jayasena
Priority: Blocker
wso2registry.war deployment fails with jboss-4.0.4.GA due to JSP compilation errors. Some errors are caused due to Jboss version limitations. Better if we can fix the error on this jboss version as well. Registry 1.0 works fine with above jboss version without any problem.
Compilation errors
============
u13:27:23,456 INFO [STDOUT] 13:27:23,455 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 1,198 in the jsp file: /admin/registry-resources.jsp
Generated servlet error:
The type Map is not generic; it cannot be parameterized with arguments <String, String[]>
An error occurred at line: 1,198 in the jsp file: /admin/registry-resources.jsp
Generated servlet error:
Syntax error, parameterized types are only available if source level is 5.0
An error occurred at line: 1,198 in the jsp file: /admin/registry-resources.jsp
Generated servlet error:
The type Iterator is not generic; it cannot be parameterized with arguments <String>
An error occurred at line: 1,198 in the jsp file: /admin/registry-resources.jsp
Generated servlet error:
Syntax error, parameterized types are only available if source level is 5.0
An error occurred at line: 1,217 in the jsp file: /admin/registry-resources.jsp
Generated servlet error:
Syntax error, 'for each' statements are only available if source level is 5.0
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.wso2.registry.web.ControllerServlet.forwardToResources(ControllerServlet.java:914)
at org.wso2.registry.web.ControllerServlet.doGet(ControllerServlet.java:482)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Registry-dev
mailing list