Hide Forgot
Affects: Release Notes Date of First Response: 2009-02-13 09:16:53 project_key: SOA Marc mentioned this one to me. The "test.jsp" is in 4.2 CP03 and 4.3 GA - it should be removed. 4.3: ./jboss-soa-p.4.3.0/jboss-as/tools/console/management-web/src/main/webapp/app/test.jsp ./jboss-soa-p.4.3.0_old/jboss-as/tools/console/management-web/src/main/webapp/app/test.jsp ./jboss-soa-p-standalone.4.3.0/jboss-esb/tools/console/management-web/src/main/webapp/app/test.jsp 4.2 CP03: ./jboss-soa-p.4.2.0/jboss-as/tools/console/management-web/src/main/webapp/app/test.jsp ./jboss-soa-p-standalone.4.2.0/jboss-as/tools/console/management-web/src/main/webapp/app/test.jsp It also does not run: 10:05:04,976 ERROR [ContainerBase] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 20 in the jsp file: /app/test.jsp DataCollector cannot be resolved to a type 17: <% 18: InitialContext ic = new InitialContext(); 19: 20: DataCollector dcollector = new DataCollector(ic); 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); An error occurred at line: 20 in the jsp file: /app/test.jsp DataCollector cannot be resolved to a type 17: <% 18: InitialContext ic = new InitialContext(); 19: 20: DataCollector dcollector = new DataCollector(ic); 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); An error occurred at line: 24 in the jsp file: /app/test.jsp DataFiler cannot be resolved to a type 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); 24: DataFiler df = new DataFiler(data); 25: df.persistData(); 26: %> 27: </body> An error occurred at line: 24 in the jsp file: /app/test.jsp DataFiler cannot be resolved to a type 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); 24: DataFiler df = new DataFiler(data); 25: df.persistData(); 26: %> 27: </body> Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:316) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595)
Link: Added: This issue is related to JBESB-2403
Resolved in trunk : drseuss:management-web tcunning$ svn commit src/main/webapp Deleting src/main/webapp/test.jsp Committed revision 25253.
Still a problem in 4.2 CP04 [ldimaggi@ldimaggi 42_CP04_CR3]$ find . -name test.jsp -print ./jboss-soa-p-standalone.4.2.0/jboss-as/tools/console/management-web/src/main/webapp/app/test.jsp ./jboss-soa-p.4.2.0/jboss-as/tools/console/management-web/src/main/webapp/app/test.jsp http://localhost:8080/jbossesb/app/test.jsp HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 20 in the jsp file: /app/test.jsp DataCollector cannot be resolved to a type 17: <% 18: InitialContext ic = new InitialContext(); 19: 20: DataCollector dcollector = new DataCollector(ic); 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); An error occurred at line: 20 in the jsp file: /app/test.jsp DataCollector cannot be resolved to a type 17: <% 18: InitialContext ic = new InitialContext(); 19: 20: DataCollector dcollector = new DataCollector(ic); 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); An error occurred at line: 24 in the jsp file: /app/test.jsp DataFiler cannot be resolved to a type 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); 24: DataFiler df = new DataFiler(data); 25: df.persistData(); 26: %> 27: </body> An error occurred at line: 24 in the jsp file: /app/test.jsp DataFiler cannot be resolved to a type 21: dcollector.insertData(); 22: StatisticsData data = dcollector.getData(); 23: data.print(); 24: DataFiler df = new DataFiler(data); 25: df.persistData(); 26: %> 27: </body> Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) org.apache.jasper.compiler.Compiler.compile(Compiler.java:316) org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) note The full stack trace of the root cause is available in the JBossWeb/2.0.0.GA_CP logs. JBossWeb/2.0.0.GA_CP
added to 4.2.CP04 Release Notes: https://jira.jboss.org/jira/browse/JBESB-2403 The file test.jsp has been removed from the ESB management console. This file was mistakenly included and was not being used.
Not fixed in 4.2.0 CP04.
added to SOA 4.3.CP02 release notes as resolved: JBESB-2403 - The file test.jsp has been removed from the ESB management console. This file was mistakenly included and was not being used.
The file is still there in 4.3 CP02 CR2: [ldimaggi@ldimaggi 43_CP02_CR2]$ find . -name test.jsp -print ./jboss-soa-p.4.3.0/jboss-as/tools/console/management-web/src/main/webapp/app/test.jsp ./jboss-soa-p-standalone.4.3.0/jboss-esb/tools/console/management-web/src/main/webapp/app/test.jsp
Fixed in revision 3600 (4.3 branch) of: build-tools/builders/eap/build.xml build-tools/builders/esb/build.xml Commit message: SOA-1153 Remove test.jsp from the management console (in the ESB builder, rather than the EAP builder), and revision 3601 (4.2 branch) of: build-tools/builders/esb/build.xml Commit message: SOA-1153 Remove test.jsp from the management console.
Affects: Added: [Release Notes]
The file is still present in jboss-as/tools/console/management-web/src/main/webapp/app
The fix was not in the 4.3 branch when the CR2 build was made. It will be in CR3.
The file is gone in 4.3 CP02 CR3