[jboss-user] [JBoss AOP] - Executable file created by install4j can not be run

cpsaop do-not-reply at jboss.com
Tue Nov 11 03:20:09 EST 2008


Hi,
I have successfully used JBOSS AOP to do some standalone works, now I 
Encountered a critical issue, install4j can't wrapper jboss aop java applications(both  precompiled mode and load time mode).

When I use LOAD TIME mode, the parameter -javaagent:lib\jboss-aop.jar can not be identified by the install4j launcher;

when I use precompiled jar file(by aopc), there will be following errors:
java.lang.VerifyError: (class: org/jboss/aop/GeneratedClassAdvisor, method: fullWorkFinalizeMethodChain signature: (Lorg/jboss/aop/MethodInterceptors;)V) Incompatible argument to function
	at com.nortel.oam.wips.kernel.fmk.properties.loader.PropertyModuleLoader.(Unknown Source)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at com.nortel.oam.wisci.shared.boot.ApplicationLoader.loadModules(ApplicationLoader.java:117)
	at com.nortel.oam.wisci.shared.boot.ApplicationLoader.load(ApplicationLoader.java:57)
	at com.nortel.oam.wips.kernel.network.serialization.WipsFileMgr.loadDirectory(Unknown Source)
	at com.nortel.oam.wips.kernel.network.serialization.WipsFileMgr.createDirectory(Unknown Source)
	at com.nortel.oam.wips.main.WipsLauncher.start(Unknown Source)
	at com.nortel.oam.wips.plugins.utils.Wips.main(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.exe4j.runtime.WinLauncher.main(Unknown Source)


Did anyone try to use install4j to create installer for AOP applications?
Many...Many thanks in advance! It's quite an urgency!!!

BR!
Hualin

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

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



More information about the jboss-user mailing list