Build: 1999-11-09 Platform: SunOS tokyo 5.7 Generic_106541-06 sun4u sparc SUNW,Ultra-1 ----------------------------------------------- ----------------------------------------------- BUILD: Buildfile: build.xml Detected Java Version: 1.1 Project base dir set to: /export/home/duncan/apache/ws/jakarta-tomcat Executing Target: prepare Created dir: /export/home/duncan/apache/ws/build/tomcat Created dir: /export/home/duncan/apache/ws/build/tomcat/classes Created dir: /export/home/duncan/apache/ws/build/tomcat/etc Created dir: /export/home/duncan/apache/ws/build/tomcat/src Created dir: /export/home/duncan/apache/ws/build/tomcat/lib Copying 114 files to /export/home/duncan/apache/ws/build/tomcat/webpages Copying 98 files to /export/home/duncan/apache/ws/build/tomcat/examples Copying 42 files to /export/home/duncan/apache/ws/build/tomcat/src/javax Copying 6 files to /export/home/duncan/apache/ws/build/tomcat Executing Target: main Compiling 269 source files to /export/home/duncan/apache/ws/build/tomcat/classes Copying 28 support files to /export/home/duncan/apache/ws/build/tomcat/classes Compiling 22 source files to /export/home/duncan/apache/ws/build/tomcat/examples/WEB-INF/classes Compiling 1 source files to /export/home/duncan/apache/ws/build/tomcat/webpages/WEB-INF/classes Compiling 1 source files to /export/home/duncan/apache/ws/build/tomcat/examples/jsp/plugin/applet Executing Target: dist Created dir: /export/home/duncan/apache/ws/dist/tomcat Created dir: /export/home/duncan/apache/ws/dist/tomcat/lib Created dir: /export/home/duncan/apache/ws/dist/tomcat/etc Created dir: /export/home/duncan/apache/ws/dist/tomcat/src Created dir: /export/home/duncan/apache/ws/dist/tomcat/examples Created dir: /export/home/duncan/apache/ws/dist/tomcat/webpages Copying 42 files to /export/home/duncan/apache/ws/dist/tomcat/src/javax Copying 6 files to /export/home/duncan/apache/ws/dist/tomcat Copying 115 files to /export/home/duncan/apache/ws/dist/tomcat/webpages Copying 121 files to /export/home/duncan/apache/ws/dist/tomcat/examples Building jar: /export/home/duncan/apache/ws/dist/tomcat/webserver.jar Building jar: /export/home/duncan/apache/ws/dist/tomcat/lib/servlet.jar Building jar: /export/home/duncan/apache/ws/dist/tomcat/lib/jasper.jar Completed in 167 seconds Buildfile: build.xml Detected Java Version: 1.1 Project base dir set to: /export/home/duncan/apache/ws/jakarta-tomcat Executing Target: prepare Executing Target: main Compiling 4 source files to /export/home/duncan/apache/ws/build/tomcat/examples/WEB-INF/classes Executing Target: test Created dir: /export/home/duncan/apache/ws/build/tomcat/test Created dir: /export/home/duncan/apache/ws/build/tomcat/test/classes Created dir: /export/home/duncan/apache/ws/build/tomcat/test/lib Created dir: /export/home/duncan/apache/ws/build/tomcat/test/webpages Copying 62 files to /export/home/duncan/apache/ws/build/tomcat/test/webpages Copying 2 files to /export/home/duncan/apache/ws/build/tomcat/test Compiling 24 source files to /export/home/duncan/apache/ws/build/tomcat/test/classes Copying 19 support files to /export/home/duncan/apache/ws/build/tomcat/test/classes Compiling 22 source files to /export/home/duncan/apache/ws/build/tomcat/test/webpages/WEB-INF/classes Completed in 24 seconds ----------------------------------------------- TEST: .. Using classpath: ../classes:/lib/tools.jar:../webpages/WEB-INF/classes/jsp/beans:../lib/xml.jar:../lib/jasper.jar:../lib/servlet.jar:../webserver.jar:.:classes:lib/moo.jar Tomcat Web Server Version 2.2 Loaded configuration from: file:/export/home/duncan/apache/ws/build/tomcat/test/server.xml Configuring web service using "default" Configuring web service using "file:/export/home/duncan/apache/ws/build/tomcat/test/webpages/WEB-INF/web.xml" Starting tcp endpoint on 8080 with org.apache.tomcat.service.http.HttpConnectionHandler Starting tcp endpoint on 8007 with org.apache.tomcat.service.Ajp11ConnectionHandler Starting tcp endpoint on 8008 with org.apache.tomcat.service.connector.Ajp23ConnectionHandler testing 19 modules File Length Test : OK Content Type Test : OK File Integrity Test : OK Welcome Test : OK Simple Forwarding Test : OK Forwarding With Query String Test : OK Simple Inclusion Test : OK File Inclusion Test : OK Mismatch1 Test : OK Mismatch2 Test : OK IncludeMismatch1 Test : OK IncludeMismatch2 Test : OK Simple Redirect Test : OK PrintWriterTest Test : OK Http Date y2k Test : OK Method GET Test : OK Method POST Test : OK URI Request Map Test : OK Testing GET /jsp/HelloWorld.jsp HTTP/1.0 Testing GET /doesNotExist.jsp HTTP/1.0 Testing GET /jsp/ HTTP/1.0 Testing GET /jsp HTTP/1.0 Testing GET /.jsp HTTP/1.0 Testing GET /*.jsp HTTP/1.0 Testing GET *jsp HTTP/1.0 Testing GET HelloWorld.jsp Testing GET /jsp/HelloWorld.jsp HTTP Testing GET /jsp/HelloWorld.jsp 1.0 Testing GET /jsp/HelloWorld.jsp /1.0 Testing GET /jsp/HelloWorld.jsp?????? HTTP/1.0 Testing GET /jsp/HelloWorld.jsp?a=b&c=d HTTP/1.0 Testing GET /jsp/HelloWorld.jsp?&& HTTP/1.0 Testing GET /jsp/declaration/IntegerOverflow.jsp HTTP/1.0 Testing GET /jsp/error/err.jsp HTTP/1.0 Error in : 16 Expected:

The exception / by zero occured.

Got:

Error: 500

Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPwork/8080/_0002fjsp_0002ferror_0002ferr_0002ejsperr_jsp_0.java:66: Arithmetic exception.
                        int i = 10/0;
                                  ^
1 error

	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.JasperException.(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	at org.apache.jasper.runtime.JspLoader.loadJSP(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServiceInvocationHandler.method(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.Context.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)
Testing GET /jsp/forward/forward.jsp HTTP/1.0 Testing GET /jsp/include/include.jsp HTTP/1.0 Testing GET /jsp/jsptoserv/jsptoservlet.jsp HTTP/1.0 Testing GET /jsp/initDestroy.jsp HTTP/1.0 Testing GET /jsp/classTest.jsp HTTP/1.0 Error in : 21 Expected: Class test Base name: JSPTest , Inner name: Inner Got:

Error: 500

Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPwork/8080/_0002fjsp_0002fclassTest_0002ejspclassTest_jsp_0.java:77: Attempt to reference field new in a jsp._0002fjsp_0002fclassTest_0002ejspclassTest_jsp_0.
                 out.println((new JSPTest()).getName()); out.println(", Inner name: " + ((new JSPTest()).new Inner()).getName()); 
                                                                                          ^
1 error

	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.JasperException.(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	at org.apache.jasper.runtime.JspLoader.loadJSP(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServiceInvocationHandler.method(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.Context.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)
Testing GET /jsp/import.jsp HTTP/1.0 Error in : 22 Expected: Hashtable get("key 1") : Value 1 Got:

Error: 500

Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPwork/8080/_0002fjsp_0002fimport_0002ejspimport_jsp_0.java:68: Method add(java.lang.String) not found in class java.util.Vector.
                    vector.add("Value 1");
                              ^
1 error

	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.JasperException.(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	at org.apache.jasper.runtime.JspLoader.loadJSP(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServiceInvocationHandler.method(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.Context.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)
Testing GET /jsp/import.jsp HTTP/1.0 Error in : 22 Expected: Hashtable get("key 1") : Value 1 Got:

Error: 500

Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPwork/8080/_0002fjsp_0002fimport_0002ejspimport_jsp_0.java:68: Method add(java.lang.String) not found in class java.util.Vector.
                    vector.add("Value 1");
                              ^
1 error

	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.JasperException.(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	at org.apache.jasper.runtime.JspLoader.loadJSP(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServiceInvocationHandler.method(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.Context.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)
Testing GET /jsp/buffer.jsp HTTP/1.0 Testing GET /jsp/buffer1.jsp HTTP/1.0 Testing GET /jsp/buffer2.jsp HTTP/1.0 Testing GET /jsp/buffer3.jsp HTTP/1.0 Testing GET /jsp/buffer4.jsp HTTP/1.0 Testing GET /jsp/comments.jsp HTTP/1.0 Testing GET /jsp/parse.jsp HTTP/1.0 Testing GET /jsp/pageInfo.jsp HTTP/1.0 Testing GET /jsp/pageLanguage.jsp HTTP/1.0 Testing GET /jsp/pageIsThreadSafe.jsp HTTP/1.0 Testing GET /jsp/pageSession.jsp HTTP/1.0 Testing GET /jsp/pageAutoFlush.jsp HTTP/1.0 Testing GET /jsp/pageError.jsp HTTP/1.0 Testing GET /jsp/pageExtends.jsp HTTP/1.0 Testing GET /jsp/pageIsErrorPage.jsp HTTP/1.0 Testing GET /jsp/pageContentType.jsp HTTP/1.0 Testing GET /jsp/pageImport2.jsp HTTP/1.0 Testing GET /jsp/pageImport.jsp HTTP/1.0 Testing GET /servlet/servletParam1 HTTP/1.0 Testing GET /servlet/servletParam2 HTTP/1.0 Testing GET /servlet/ServletParam HTTP/1.0 JSP Tests : FAIL - Test 16 : GET /jsp/error/err.jsp HTTP/1.0 Test 21 : GET /jsp/classTest.jsp HTTP/1.0 Test 22 : GET /jsp/import.jsp HTTP/1.0 Test 22 : GET /jsp/import.jsp HTTP/1.0 <<< FAIL >>> Number of tests Passed: 18 Number of tests Failed: 1 complete in : 49.455 seconds Tomcat Web Server Version 2.2 Loaded configuration from: file:/export/home/duncan/apache/ws/build/tomcat/test/server.xml Shutting down Http Server Taking down context: Context: org.apache.tomcat.core.Context@1fa4f655 down Tomcat WebServer Version 2.2 - shutdown