I have a couple of co-workers that some times have problems to run C4J-enabled applications from Ant's JUnit task.
The task just hangs while loading the first class (before any instrumentation has taken place), and never return.
When Ctrl-Break is pressed there is nothing that indicates a deadlock.
Has this happened to anyone else?
Do someone know what could cause this, could it have to do with how the JUnit task handles the -javaagent option, or is it C4J that won't work properly with Ant's class loading?
Any help would be appreciated...
Thanks / Jonas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FYI, I think I've fixed this issue in 2.4.2 and 2.5.0 where I cleaned up the class loader management and added javassist.jar to the boot classpath.
At least we haven't had this problem since...
/ Jonas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have a couple of co-workers that some times have problems to run C4J-enabled applications from Ant's JUnit task.
The task just hangs while loading the first class (before any instrumentation has taken place), and never return.
When Ctrl-Break is pressed there is nothing that indicates a deadlock.
Has this happened to anyone else?
Do someone know what could cause this, could it have to do with how the JUnit task handles the -javaagent option, or is it C4J that won't work properly with Ant's class loading?
Any help would be appreciated...
Thanks / Jonas
FYI, I think I've fixed this issue in 2.4.2 and 2.5.0 where I cleaned up the class loader management and added javassist.jar to the boot classpath.
At least we haven't had this problem since...
/ Jonas