[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to - sar depend on jars in the ear?
avihaimar
do-not-reply at jboss.com
Mon Feb 11 14:14:13 EST 2008
Hey,
I use maven2 for build.
i package my application as an ear with the following structure:
lib - with third parties jars.
Server.jar
Server-inf.jar
Persistence.jar
Server-startup.sar
As you see I use sar in order to startup task when the application is loaded (I put dependency on the MBean in order to load after all ejb were loadeded )
The server-startup use classes in server and server-inf.
The sar is loaded after all ejb were loaded , but I get ClassNotFound when I try in server-startup code to load classes from server.jar
Any solution will be more than welcome.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128459#4128459
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128459
More information about the jboss-user
mailing list