You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tsu-Hua Wang <ts...@cisco.com> on 2001/08/24 07:43:05 UTC

tomcat 3.2.3: Testing the Build

Greetings,

I try to install tomcat on RedHat Linux 7.1 and am stuck
at the state "Testing the Build". I installed jdk1.3.1,
jaxp-1.1, jsse1.0.2, jakarta-ant-1.3 and tomcat 3.2.3.
I did
       cd $JAKARTA_HOME/build/tomcat   <-- Unix
        ./bin/tomcat.sh ant -buildfile conf/test-tomcat.xml

and have the following error messages (Sorry for the long message!)

.....
OK Welcome File Test2 (GET /test/binaries HTTP/1.0)
	FAIL*** : Rtok1 = href="http://thw:8080/test/welcome/index.html">here</a>.<p>, Etok2 =
href="http://localhost:8080/test/welcome/index.html">here</a>.<p>
ERROR (false,true)in : GET /test/welcome/ HTTP/1.0
====================Expecting: 
<head><title>Document moved</title></head>
<body><h1>Document moved</h1>
This document has moved <a
href="http://localhost:8080/test/welcome/index.html">here</a>.<p>
</body>

====================Got:
<head><title>Document moved</title></head>
<body><h1>Document moved</h1>
This document has moved <a href="http://thw:8080/test/welcome/index.html">here</a>.<p>
</body>

====================
FAIL Welcome File Test3 (GET /test/welcome/ HTTP/1.0)

.....

	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)

OK IncludeMismatch1-3 (GET /test/servlet/dispatch.IncludeMismatch1 HTTP/1.0)
OK IncludeFile (GET /test/servlet/dispatch.IncludeFileServlet HTTP/1.0)

dispatch-tomcat:
ERROR expecting header Location:http://localhost:8080/index.html GOT:
http://thw:8080/index.html HEADERS({Servlet-Engine=Tomcat Web Server/3.2.3 (JSP 1.1;
Servlet 2.2; Java 1.3.1; Linux 2.4.2-2 i386; java.vendor=Sun Microsystems Inc.),
Location=http://thw:8080/index.html, Content-Type=text/html, Content-Length=159})
FAIL SimpleRedirect (GET /test/servlet/dispatch.SimpleRedirectServlet?/index.html
HTTP/1.0)
ERROR expecting header Location:http://localhost:8080/test/servlet/index.html GOT:
http://thw:8080/test/servlet/index.html HEADERS({Servlet-Engine=Tomcat Web Server/3.2.3
(JSP 1.1; Servlet 2.2; Java 1.3.1; Linux 2.4.2-2 i386; java.vendor=Sun Microsystems Inc.),
Location=http://thw:8080/test/servlet/index.html, Content-Type=text/html,
Content-Length=172})
FAIL SimpleRedirect2 (GET /test/servlet/dispatch.SimpleRedirectServlet?index.html
HTTP/1.0)


....

OK GET /test/jsp/HelloWorld.jsp?a=b&c=d HTTP/1.0
OK GET /test/jsp/HelloWorld.jsp?&& HTTP/1.0
2001-08-23 15:55:18 - Ctx( /test ): JasperException: R( /test +
/jsp/declaration/IntegerOverflow.jsp + null) Unable to compile class for
JSP/home/thw/jakarta/build/tomcat/work/localhost_8080%2Ftest/_0002fjsp_0002fdeclaration_0002fIntegerOverflow_0002ejspIntegerOverflow_jsp_0.java:20:
Integer literal out of range.  Decimal int literals must be in the range -2147483648 to
2147483647.
         int i=62745435354354353454354353454354353453454353434543543534543; 
               ^
1 error



....

OK GET /test/jsp/buffer4.jsp HTTP/1.0
2001-08-23 15:55:19 - Ctx( /test ): JasperException: R( /test + /jsp/comments.jsp + null)
Unable to compile class for
JSP/home/thw/jakarta/build/tomcat/work/localhost_8080%2Ftest/_0002fjsp_0002fcomments_0002ejspcomments_jsp_0.java:20:
Identifier expected.
         int;
            ^
/home/thw/jakarta/build/tomcat/work/localhost_8080%2Ftest/_0002fjsp_0002fcomments_0002ejspcomments_jsp_0.java:72:
'}' expected.
                out.write("\n\n    ");
                                      ^
/home/thw/jakarta/build/tomcat/work/localhost_8080%2Ftest/_0002fjsp_0002fcomments_0002ejspcomments_jsp_0.java:76:
Comment not terminated at end of input.
                    /*
                    ^
3 errors

OK GET /test/jsp/comments.jsp HTTP/1.0
OK GET /test/jsp/parse.jsp HTTP/1.0
2001-08-23 15:55:19 - Ctx( /test ): JasperException: R( /test + /jsp/pageInfo.jsp + null)
Unable to compile class for
JSP/home/thw/jakarta/build/tomcat/work/localhost_8080%2Ftest/_0002fjsp_0002fpageInfo_0002ejsppageInfo_jsp_0.java:21:
';' expected.
            return " " anything <% ' ";
                      ^
/home/thw/jakarta/build/tomcat/work/localhost_8080%2Ftest/_0002fjsp_0002fpageInfo_0002ejsppageInfo_jsp_0.java:21:
Invalid character constant.
            return " " anything <% ' ";
                                   ^
2 errors


.....

OK GET /test/jsp/pageError.jsp HTTP/1.0
2001-08-23 15:55:20 - Ctx( /test ): JasperException: R( /test + /jsp/pageExtends.jsp +
null) Unable to compile class for
JSP/home/thw/jakarta/build/tomcat/work/localhost_8080%2Ftest/_0002fjsp_0002fpageExtends_0002ejsppageExtends_jsp_0.java:15:
Identifier expected.
import ;
      ^
1 error


And so on.

Thanks,
T.H. Wang