jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Campbell <rcamp...@tdhca.state.tx.us>
Subject RE: Problem with ServletInit and testSetAttribute in tests_tomcat _40
Date Tue, 23 Apr 2002 14:48:17 GMT
Vincent,
	Mi culpa.  I had an old (Tomcat 3.2) servlet.jar in my CLASSPATH
environment variable.  Removing this solved my problems.  Cactus 1.2 & 1.3
run flawlessly.  I hadn't had this problem before because the Tomcat 4.0.x
startup scripts don't include the environmental CLASSPATH in Tomcat's
classpath.

Thanks for your help,
Ryan

-----Original Message-----
From: Vincent Massol [mailto:vmassol@octo.com] 
Sent: Tuesday, April 23, 2002 2:21 AM
To: 'Cactus Users List'
Subject: RE: Problem with ServletInit and testSetAttribute in
tests_tomcat_40

Ryan,

Maybe Cactus 1.2 has a problem with Tomcat 4.0.1/4.0.2/4.0.3 ? Can you
try with Cactus 1.3 ? (please ensure you follow the migration guide at
http://jakarta.apache.org/cactus/howto_migration.html).

Thanks
-Vincent

> -----Original Message-----
> From: Ryan Campbell [mailto:rcampbel@tdhca.state.tx.us]
> Sent: 22 April 2002 21:05
> To: 'cactus-user@jakarta.apache.org'
> Subject: RE: Problem with ServletInit and testSetAttribute in
> tests_tomcat_40
> 
> Vincent,
> 
>             I am getting the exact same error as Sam
(NoSuchMethodError
> from
> setAttribute()).  I just downloaded jakarta-cactus-23-1.2 and tried to
run
> the samples, all the while following the guide at
> http://jakarta.apache.org/cactus/howto_sample.html
> <http://jakarta.apache.org/cactus/howto_sample.html> .  My answers to
the
> questions you asked Sam on Sunday:
> 
> 
> 
> 
> >>1/ Do you have Ant installed ? Have you downloaded the prepackaged
Ant
> install from the Cactus web site ?
> 
> $ ant -version
> Ant version 1.4.1 compiled on October 11 2001
> 
> This is the original version of Ant, not the cactus prepackaged
version. I
> have the optional jar installed and in my classpath.
> 
> >>2/ Have you downloaded Tomcat and unzipped it in a directory ? (no
need
> to
> configure anything at all) ?
> 
> Yes.  I am running 4.0.1
> 
> >>3/ What have you downloaded from Cactus web site (exact name of
file) ?
> 
> I downloaded jakarta-cactus-23-1.2.zip last Thursday.
> 
> >>4/ Have you unzipped it in a directory, let's say [CACTUS] ?
> >> Have you created a [CACTUS]/build/build.properties (by copying and
> editing [CACTUS]/build/build.properties.sample ?
> 
> 
> 
> I've done both of these.
> 
> 
> 
> Google led me to this thread about getting NoSuchMethodErrors from
> StandardSession.setAttribute()
> 
> 
> 
> http://www.apachelabs.org/tomcat-
> user/200112.mbox/%3c3C114720.2EA0F39B@nucle
> us.com%3e
> <http://www.apachelabs.org/tomcat-
> user/200112.mbox/%3c3C114720.2EA0F39B@nucl
> eus.com%3e>
> 
> 
> 
> I'm using JDK 1.3.  What about you Sam?  This seems ridiculous though,
> considering that I'm using session.setAttribute() throughout my code
> elsewhere.
> 
> 
> 
> Any help you can provide will be appreciated!
> 
> 
> 
> Thanks,
> 
> Ryan



--
To unsubscribe, e-mail:
<mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message