-
1. Re: deploying EAR files
jae77 Feb 5, 2004 2:20 PM (in response to nagulapati)is there any specific reason you need the jar file to live in a lib directory?
why not just place the AdminClient.jar at the same level w/ the ejb-app.jar and modify the Class-Path in the manifest file to look for the jar like this:
Class-Path: ./AdminClient.jar -
2. Re: deploying EAR files
vertigo Feb 5, 2004 8:07 PM (in response to nagulapati)
You are editing the wrong manifest file. Use the manifest inside the ejb-app.jar file and it will work. -
3. Re: deploying EAR files
stephanenicoll Feb 6, 2004 2:01 AM (in response to nagulapati)lib/AdminClient.jar should work
otherwise, decalre AdminClient.jar as a Java module and it will be "deployed" by jobss -
4. Re: deploying EAR files
marc.fleury Feb 6, 2004 10:00 AM (in response to nagulapati)one of the beauties of the JBoss classloaders is that if that jar is visible ANYWHERE then the system will pick it up.
one of the things that may be throwing you off is that the jar doesn't get picked up before the EJB.
Several ways. putting stuff in lib/ will make sure it is picked up first before everything else. Otherwise do russian doll packaging (put your jar in the ejb jar and it will be deployed first).