tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: Issue with running the tests
Date Tue, 02 Oct 2001 17:05:04 GMT
There was an improvement in Ant 1.4 that is incompatible
with the GTest currently in Tomcat 3.2.3.  The result of
this incompatibility is the error you are seeing.

The simplest solution is to use Ant 1.3 when building
Tomcat 3.2.3.  However, you can replace the v1.4 ant.jar
placed in the built Tomcat's lib directory with a
v1.3 ant.jar and the tests should work. If you already
have a binary 3.2.3 installed, the ant.jar
in it's lib directory will work.

Hope this helps.

Larry

> -----Original Message-----
> From: Jon Earle [mailto:jearle@hubcc.ca]
> Sent: Tuesday, October 02, 2001 11:59 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Issue with running the tests
> 
> 
> Hi!
> 
> New Tomcat user, familiar with Linux, etc, however, I know 
> virtually nothing
> about Java.  I'm in the process of moving an existing website 
> using Jakarta
> on an NT system to a Linux server (RH7.1).  I figured that 
> I'd grab all the
> latest (Apache 1.3.20, latest mod_ssl, latest Tomcat [4.0]) 
> and build it all
> together.  It appears that Tomcat 4.0 is radically different 
> than the 3.2.3
> version (I couldn't find the mod_jk equivalent - I suspect it's the
> mod_webapp, but I don't know how to use it in place of mod_jk 
> -- pointers to
> Apache-Tomcat 4.0 integration docs would be appreciated, but 
> that is not why
> I'm posting this note).
> 
> So, I'm using Tomcat 3.2.3 and I honestly believe I've followed the
> directions in the included README (is there a way to get jaxp 
> 1.1 working
> instead of the older 1.0 version or does it really matter 
> what version is
> used?) to get Tomcat built.  I was finally able to build it, 
> and it even
> appears to run when I issues the startup command.  I can 
> point a browser at
> the box:8080 and I see the "out of the box" content.
> 
> The issue I'm having, and it's more just me wanting to 
> confirm to myself
> that I've done everything "by the numbers", is that the tests 
> mentioned in
> the README, fail.  I've issued
> both "./bin/tomcat.sh ant -buildfile conf/test-tomcat.xml" and
> "bin/tomcat.sh ant -f conf/test-tomcat.xml client" as mentioned in the
> test-tomcat.xml file, and both give me:
> 
> root@testlab:/usr/local/jakarta/dist/tomcat> bin/tomcat.sh ant -f
> conf/test-tomcat.xml client
> Buildfile: conf/test-tomcat.xml
> 
> init:
> 
> file:
>     [gtest] Error setting project in class 
> org.apache.tomcat.task.GTest
> 
> BUILD FAILED
> 
> /usr/local/jakarta/dist/tomcat/conf/test-tomcat.xml:32:
> java.lang.NoSuchMethodException
> 
> Total time: 4 seconds
> 
> I don't understand what this error means or how to fix it.  Any divine
> guidance would be appreciated!
> 
> Relevant env vars:
> 
> JAVA_BASE=/usr/java
> JAVA_HOME=$JAVA_BASE/jdk1.3.1_01
> JAKARTA_HOME=/usr/local/jakarta
> TOMCAT_HOME=/usr/local/jakarta/dist/tomcat
> 
> PATH="$PATH:$JAVA_HOME/bin"
> CLASSPATH="$CLASSPATH:$JAVA_BASE/jaxp1.0.1/jaxp.jar:
>  $JAVA_BASE/jaxp1.0.1/parser.jar:
>  $JAVA_BASE/jsse1.0.2/lib/jsse.jar:
>  $JAVA_BASE/jsse1.0.2/lib/jcert.jar:
>  $JAVA_BASE/jsse1.0.2/lib/jnet.jar:
>  $JAKARTA_HOME/jakarta-ant/lib/ant.jar:
>  $JAKARTA_HOME/dist/servletapi/lib/servlet.jar"
> 
> (CLASSPATH tidied for clarity.)
> 
> Cheers!
> Jon
> 
> ---
> Jonathan Earle
> Software Development & Integration
> HUB Computer Consulting Inc. / StorageSoft Solutions
> * 613-830-1499   Local
> * 1-888-353-7272 Toll free
> * 613-830-9478   Fax
> 

Mime
View raw message