Bug 778683 (SOA-1153) - Unused file (test.jsp) should be removed
Summary: Unused file (test.jsp) should be removed
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1153
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.3 GA,4.2 CP03,4.2 CP04
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 CP02,4.2 CP05
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-29 17:22 UTC by Len DiMaggio
Modified: 2009-09-04 18:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-04 18:00:32 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1153 0 None None None Never

Description Len DiMaggio 2009-01-29 17:22:45 UTC
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)

Comment 1 tcunning 2009-02-13 14:15:58 UTC
Link: Added: This issue is related to JBESB-2403


Comment 2 tcunning 2009-02-13 14:16:53 UTC
Resolved in trunk :

drseuss:management-web tcunning$ svn commit src/main/webapp
Deleting       src/main/webapp/test.jsp

Committed revision 25253.



Comment 3 Len DiMaggio 2009-06-02 17:52:19 UTC
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


Comment 4 Dana Mison 2009-06-04 08:56:10 UTC
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.

Comment 5 Julian Coleman 2009-06-19 13:51:36 UTC
Not fixed in 4.2.0 CP04.

Comment 6 Dana Mison 2009-07-30 08:37:39 UTC
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.

Comment 7 Len DiMaggio 2009-08-14 19:21:50 UTC
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




Comment 8 Julian Coleman 2009-08-18 14:58:30 UTC
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.                      


Comment 9 Julian Coleman 2009-08-18 15:00:44 UTC
Affects: Added: [Release Notes]


Comment 10 Jiri Pechanec 2009-08-28 09:46:08 UTC
The file is still present in jboss-as/tools/console/management-web/src/main/webapp/app

Comment 11 Julian Coleman 2009-09-01 10:17:24 UTC
The fix was not in the 4.3 branch when the CR2 build was made.  It will be in CR3.

Comment 12 Len DiMaggio 2009-09-04 18:00:32 UTC
The file is gone in 4.3 CP02 CR3


Note You need to log in before you can comment on or make changes to this bug.