Hi Daniel,

Yeah there might be breaking changes in Ant 1.6 that breaks what we are
doing. AFAIK, you're the first one to try Cactus with Ant 1.6. If anyone
can submit a patch, I'll gladly apply it.

I know Chris wanted to play with it. Chris, have you had the chance to
try Ant 1.6 yet?

Thanks
-Vincent

> -----Original Message-----
> From: Daniel Rabe [mailto:[EMAIL PROTECTED]
> Sent: 07 January 2004 20:21
> 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.jav
a:
> 39
> )
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Im
> pl
> .java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
>
org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(Proces
sD
> es
> troyer.java:153)
>         at
>
org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.j
av
> a:
> 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.AbstractCatalinaConta
in
> er
> .invokeBootstrap(AbstractCatalinaContainer.java:214)
>         at
>
org.apache.cactus.integration.ant.container.tomcat.Tomcat5xContainer.sta
rt
> Up
> (Tomcat5xContainer.java:98)
>         at
>
org.apache.cactus.integration.ant.container.ContainerRunner$1.run(Contai
ne
> rR
> 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



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

Reply via email to