jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From istho...@chennai.tcs.co.in
Subject RE: Problem in running samples in the cactus howto_sample.html
Date Thu, 14 Nov 2002 11:15:31 GMT

Hi Nick,

I had sorted the problem of build.properties...that was because of incorect file
path...sorry for the trouble. Now I have problem in Starting of the Tomcat server while
running the ant command, ant test.tomcat.40 - for running the cactus samples.Details
below,..its unable to find the class StandardContext of aspectjrt.jar..I hope. Any version
problem with aspectjrt.jar????Please let me know.
*****************************************
start.tomcat.40:
     [java] HttpConnector Opening server socket on all host IP addresses
     [java] Starting service Tomcat-Standalone
     [java] Apache Tomcat/4.0.4
     [java] StandardHost[localhost]: Installing web application at context path
/test from URL jar:file:D:\cactus\jakarta-cactus-13-1.3\sample-servlet\target\te
st\tomcat40\webapps\test.war!/
     [java] WebappLoader[/test]: Deploying class repositories to work directory
D:\cactus\jakarta-cactus-13-1.3\sample-servlet\target\test\tomcat40\work\Standal
one\localhost\test
     [java] WebappLoader[/test]: Deploy JAR /WEB-INF/lib/aspectjrt.jar to D:\cac
tus\jakarta-cactus-13-1.3\sample-servlet\.\target\test\tomcat40\webapps\test\WEB
-INF\lib\aspectjrt.jar
     [java] WebappLoader[/test]: Deploy JAR /WEB-INF/lib/cactus.jar to D:\cactus
\jakarta-cactus-13-1.3\sample-servlet\.\target\test\tomcat40\webapps\test\WEB-IN
F\lib\cactus.jar
     [java] WebappLoader[/test]: Deploy JAR /WEB-INF/lib/junit.jar to D:\cactus\
jakarta-cactus-13-1.3\sample-servlet\.\target\test\tomcat40\webapps\test\WEB-INF
\lib\junit.jar
     [java] WebappLoader[/test]: Deploy JAR /WEB-INF/lib/log4j-1.2rc1.jar to D:\
cactus\jakarta-cactus-13-1.3\sample-servlet\.\target\test\tomcat40\webapps\test\
WEB-INF\lib\log4j-1.2rc1.jar
     [java] StandardManager[/test]: Seeding random number generator class java.s
ecurity.SecureRandom
     [java] StandardManager[/test]: Seeding of random number generator has been
completed
     [java] ContextConfig[/test]: Added certificates -> request attribute Valve
     [java] ContextConfig[/test]: Configured an authenticator for method BASIC
     [java] StandardContext[/test]: Exception starting filter FilterRedirector:
java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
     [java] java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
     [java]     at java.lang.Class.getDeclaredConstructors0(Native Method)
     [java]     at java.lang.Class.privateGetDeclaredConstructors(Class.java:157
6)
     [java]     at java.lang.Class.getConstructor0(Class.java:1748)
     [java]     at java.lang.Class.newInstance0(Class.java:266)
     [java]     at java.lang.Class.newInstance(Class.java:249)
     [java]     at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Ap
plicationFilterConfig.java:253)
     [java]     at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef
*****************************************

With Warm Regards,
ISThomas


                                                                                         
  
                    "Nicholas                                                            
  
                    Lesiecki"            To:     "Cactus Users List"                     
  
                    <nick@eblox.co        <cactus-user@jakarta.apache.org>      
           
                    m>                   cc:                                          
     
                                         Subject:     RE: Problem in running samples in the

                    11/13/2002            cactus                                         
  
                    09:38 PM                                                             
  
                    Please respond                                                       
  
                    to "Cactus                                                           
  
                    Users List"                                                          
  
                                                                                         
  
                                                                                         
  




You need to upgrade to Ant 1.5--Ant 1.4 will give you the message you
describe.

Cheers,
Nick

> -----Original Message-----
> From: isthomas@chennai.tcs.co.in [mailto:isthomas@chennai.tcs.co.in]
> Sent: Wednesday, November 13, 2002 8:05 AM
> To: Cactus Users List
> Subject: Problem in running samples in the cactus
> Importance: High
>
>
>
> Hai,
>
> The problem came for running the samples mentioned in howto_sample.html
>
> I am using Cactus 1.3, with Ant 1.4.1 and Tomcat server 4.0.4
>
> Since I am testing it on Tomcat 4.0, I ran the test for only for
> Tomcat using the command
> ant test.tomcat.40
>
> Its throwing error: The <fail> task doesn't support the "unless"
> attribute.
>
> The classpath is also set for using the cactus-ant.jar.
>
> Could you help me out of this trouble. Details below....
> *****************************************************************
> D:\cactus\jakarta-cactus-13-1.3\sample-servlet\build>ant test.tomcat.40
> Buildfile: build.xml
>
> check.test.tomcat.40:
>
> display.properties:
>      [echo] ----- Cactus Servlet Sample 1.3 -----
>      [echo]
>      [echo] java.class.path = D:\j2sdk1.4.0\lib\tools.jar;D:
> \ant\jakarta-ant-1.4.1\lib\jaxp.jar;D:\ant\jakarta-ant-1.4.1\lib\c
> rimson.jar;D:
> \ant\jakarta-ant-1.4.1\lib\ant.jar;C:\Program
> Files\Exceed.nt\hcljrcsv.jar;C:\Program
> Files\Exceed.nt\;D:\ant\jakarta-ant-1.4.1\lib\ant.jar;D:\config;D:
> \config\log_client.properties
> ;D:\cactus\jakarta-cactus-13.1.3\lib\junit.jar;D:\cactus\jakarta-c
> actus-13.1.3\l
> ib\cactus.jar;D:\Apache Tomcat
> 4.0\common\lib\servlet.jar;D:\cactus\jakarta-cact
> us-13.1.3\lib\commons-httpclient-20020421.jar;D:\cactus\jakarta-ca
> ctus-13.1.3\li
> b\log4j-1.2rc1.jar;D:\cactus\jakarta-cactus-13.1.3\lib\aspectjrt.j
> ar;D:\TestClas
> ses;D:\Apache Tomcat
> 4.0\webapps\sciapp\WEB-INF\lib\junit.jar;D:\Apache Tomcat 4
> .0\webapps\sciapp\WEB-INF\lib\cactus.jar;D:\Apache Tomcat
> 4.0\webapps\sciapp\WEB
> -INF\lib\log4j-1.2rc1.jar;D:\Apache Tomcat
> 4.0\webapps\sciapp\WEB-INF\classes\co
> m\stanchart\sci\TestClasses;D:\Apache Tomcat
> 4.0\webapps\sciapp\WEB-INF\classes\
> com\stanchart\sci\utils;D:\TestClasses;D:\cactus\jakarta-cactus-13
> .1.3\lib\cactu
> s-ant.jar
>      [echo]
>      [echo] java.home = D:\j2sdk1.4.0\jre
>      [echo] user.home = C:\WINNT\Profiles\scbsci30
>      [echo] ant.home = D:\ant\jakarta-ant-1.4.1
>      [echo]
>      [echo] cactus.framework.jar =
> D:\cactus\jakarta-cactus-13.1.3\lib\cactus.jar
>      [echo] cactus.ant.jar = d:\ant\jakarta-ant-1.4.1\lib\cactus-ant.jar
>      [echo] servlet.jar = D:\Apache Tomcat 4.0\common\lib\servlet.jar
>      [echo] aspectjrt.jar =
> D:\cactus\jakarta-cactus-13.1.3\lib\aspectjrt.jar
>      [echo] commons.httpclient.jar = D:
> \cactus\jakarta-cactus-13.1.3\lib\commons-httpclient-20020421.jar
>      [echo] httpunit.jar = ${httpunit.jar}
>      [echo] junit.jar = D:\cactus\jakarta-cactus-13.1.3\lib\junit.jar
>      [echo]
>      [echo] log4j.jar (optional) =
> D:\cactus\jakarta-cactus-13.1.3\lib\log4j-1.2rc1.jar
>      [echo]
>      [echo] test.port = 8080
>      [echo]
>
> check.properties:
>
> BUILD FAILED
>
> D:\cactus\jakarta-cactus-13-1.3\sample-servlet\build\build.xml:153
> : The <fail> t
> ask doesn't support the "unless" attribute.
> ******************************************************************
> ********************
>
> With Warm Regards,
> ISThomas
>
>
> ***The information contained in this message is legally
> privileged and confidential
> information intended only for the use of the addressed individual
> or entity indicated in
> this message (or responsible for delivery of the message to such
> person). It must not be
> read, copied, disclosed, distributed or used by any person other
> than the addressee.
> Unauthorised use, disclosure or copying is strictly prohibited
> and may be unlawful.
>  Opinions, conclusions and other information on this message that
> do not relate to the
> official business of any of the constituent companies of the TATA
> CONSULTANCY SERVICES
> shall be understood as neither given nor endorsed by the Group.
> If you have received this
> message in error, you should destroy this message and kindly
> notify the sender by e-mail.
> Thank you.***
>
>
> --
> 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>






* * * The information contained in this message is legally privileged and confidential
information intended only for the use of the addressed individual or entity indicated in
this message (or responsible for delivery of the message to such person). It must not be
read, copied, disclosed, distributed or used by any person other than the addressee.
Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful.
 Opinions, conclusions and other information on this message that do not relate to the
official business of any of the constituent companies of the TATA CONSULTANCY SERVICES
shall be understood as neither given nor endorsed by the Group. If you have received this
message in error, you should destroy this message and kindly notify the sender by e-mail.
Thank you. * * *


--
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