jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rabe <dr...@opentext.com>
Subject IllegalStateException/InvocationTargetException AFTER cactus runs , when using Ant 1.6.0
Date Wed, 07 Jan 2004 19:20:50 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message