>From the exception stack trace it doesn't seem to be a cactus error. To my 
>understanding it must be related with how ant is trying to interact with Tomcat.

Cheers,
Nishit

-----Original Message-----
From: Daniel Rabe [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 12:51 AM
To: Cactus Users List
Subject: IllegalStateException/InvocationTargetException AFTER cactus runs, when using 
Ant 1.6.0

I was running my Cactus tests successfully with Ant 1.5.3-1 (against Tomcat
5.0.16, on Windows XP). Today I decided to upgrade to Ant 1.6.0. The Cactus
tests still run successfully, but AFTER they complete and I get "BUILD
SUCCESSFUL", I get the following:

BUILD SUCCESSFUL
Total time: 1 minute 20 seconds
java.lang.reflect.InvocationTargetException
        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.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDes
troyer.java:153)
        at
org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:
223)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:526)
        at org.apache.tools.ant.taskdefs.Java.fork(Java.java:740)
        at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:199)
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:115)
        at
org.apache.cactus.integration.ant.container.tomcat.AbstractCatalinaContainer
.invokeBootstrap(AbstractCatalinaContainer.java:214)
        at
org.apache.cactus.integration.ant.container.tomcat.Tomcat5xContainer.startUp
(Tomcat5xContainer.java:98)
        at
org.apache.cactus.integration.ant.container.ContainerRunner$1.run(ContainerR
unner.java:179)
        at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IllegalStateException: Shutdown in progress
        at java.lang.Shutdown.remove(Shutdown.java:102)
        at java.lang.Runtime.removeShutdownHook(Runtime.java:218)
        ... 14 more
   [cactus] Java Result: 1

Any ideas??

Thanks,
Daniel Rabe


Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to