jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalyani Jitesh" <j-kaly...@kj.cnt.jp.nec.com>
Subject Re: Pb in starting tomcat - maven-cactus-plugin
Date Wed, 25 May 2005 01:19:11 GMT
Hi Ted,

Thank you very much for your clue. I am sorry I am not able to resolve the 
issue.
Please find below the content of tomcat4x.out file, your help is 
appreciated.

tomcat4x.out file:
...
WebappLoader[/junitbook-servlets-cactus]: Deploy JAR 
/WEB-INF/lib/junit-3.8.1.jar to 
C:\DOCUME~1\jitesh\LOCALS~1\Temp\cactus\tomcat4x\webapps\junitbook-servlets-cactus\WEB-INF\lib\junit-3.8.1.jar
May 24, 2005 4:15:09 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
....
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.IllegalArgumentException: addChild:  Child name 
'ServletRedirector' is not unique
 at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:815)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at 
org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1341)
 ... 49 more
ContextConfig[/junitbook-servlets-cactus]: Parse error in application 
web.xml
java.lang.IllegalArgumentException: addChild:  Child name 
'ServletRedirector' is not unique
java.lang.IllegalArgumentException: addChild:  Child name 
'ServletRedirector' is not unique
 at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
 at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
 at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
 ...

Thanks and Regards,
Jitesh

----- Original Message ----- 
From: "Anagnost, Ted" <Ted.Anagnost@uscellular.com>
To: "'Cactus Users List'" <cactus-user@jakarta.apache.org>
Sent: Tuesday, May 24, 2005 11:57 PM
Subject: RE: Pb in starting tomcat - maven-cactus-plugin


> Check the contents of \target\test-cactus-reports\tomcat4x.out for errors
>
> -----Original Message-----
> From: Kalyani Jitesh [mailto:j-kalyani@kj.cnt.jp.nec.com]
> Sent: Tuesday, May 24, 2005 2:27 AM
> To: cactus-user@jakarta.apache.org
> Subject: Pb in starting tomcat - maven-cactus-plugin
>
> Hi there,
>
> I am trying to execute the examples in Junit in Action book. To be 
> specific
> I am trying to execute cactus test with maven in junitbook\servlets.
>
> I executed the cactus test with the maven. I am using following versions 
> of
> sw.
> maven 1.0.2
> maven-cactus-plugin-1.7
> tomcat4.1.29
>
> I guess Tomcat is not started. Can anybody help me to execute the same?
>
> The am facing the following error,
> ...
> [cactus] [DEBUG] Checking if server is up ...
> [cactus] [DEBUG] Failed to connect to
> [http://localhost:8079/junitbook-servlets-cactus/ServletRedirector?Cactus_Se
> rvice=RUN_TEST] (Connection refused: connect) ....
>
> BUILD FAILED
> File...... C:\Documents and
> Settings\jitesh\.maven\cache\maven-cactus-plugin-1.7
> \plugin.jelly
> Element... cactus
> Line...... 430
> Column.... 47
> Failed to start the container after more than [180000] ms. Trying to 
> connect
> to the
> [http://localhost:8079/junitbook-servlets-cactus/ServletRedirector?Cactus_Se
> rvice=RUN_TEST] test URL yielded a [-1] error code. Please run in debug 
> mode
> for  more details about the error.
> com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> [cactus:test]
> -- C:\Documents and
> Settings\jitesh\.maven\cache\maven-cactus-plugin-1.7\plugin.
> jelly:430:47: <cactus> Failed to start the container after more than
> [180000] ms . Trying to connect to the
> [http://localhost:8079/junitbook-servlets-cactus/Serv
> letRedirector?Cactus_Service=RUN_TEST] test URL yielded a [-1] error code.
> Pleas e run in debug mode for more details about the error.
>        at com.werken.werkz.Goal.fire(Goal.java:646)
>        at com.werken.werkz.Goal.attain(Goal.java:575)
>        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
>        at com.werken.werkz.Goal.attain(Goal.java:573)
>        at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 671)
>        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>        at org.apache.maven.cli.App.doMain(App.java:488)
>        at org.apache.maven.cli.App.main(App.java:1239)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at com.werken.forehead.Forehead.run(Forehead.java:551)
>        at com.werken.forehead.Forehead.main(Forehead.java:581)
> org.apache.commons.jelly.JellyTagException: C:\Documents and
> Settings\jitesh\.ma
> ven\cache\maven-cactus-plugin-1.7\plugin.jelly:430:47: <cactus> Failed to
> start the container after more than [180000] ms. Trying to connect to the
> [http://loca
> lhost:8079/junitbook-servlets-cactus/ServletRedirector?Cactus_Service=RUN_TE
> ST]
> test URL yielded a [-1] error code. Please run in debug mode for more
> details ab out the error.
>
>
> Thanks and Regards,
> Jitesh
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 


Mime
View raw message