[jboss-user] [JBoss AOP] - Re: howto hotswap ?

waffels do-not-reply at jboss.com
Sun Oct 1 02:53:38 EDT 2006


i'm still having troubles getting this to work,

if i add the -javaagent:jboss-aop-jdk50.jar=-hotSwap  argument, 

the program often crashes saying it can't find the main class, 
this crashing depends on the things that are contained in the jboss-aop.xml file

i often get this error:
java.lang.ExceptionInInitializerError
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
	at org.jboss.aop.HotSwapStrategy$JoinpointStatusUpdater.initialInterceptorChains(HotSwapStrategy.java:259)
	at org.jboss.aop.ClassAdvisor.setInterceptorChainObserver(ClassAdvisor.java:1681)
	at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:443)
	at src.Server.(Server.java)


could it be possible that hotswapping doesn't work using the eclipse IDE ?





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975317#3975317

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975317



More information about the jboss-user mailing list