This content has been marked as final.
Show 5 replies
-
1. Re: Use thrid-party library in EJB ?
nikolai Jun 11, 2003 8:39 AM (in response to ericmacau)You can put it in your .jar file:
bla.ear
|
+--bla.jar
|
+--3rd.jar
Hope it works
lp
Nikola -
2. Re: Use thrid-party library in EJB ?
nikolai Jun 11, 2003 8:40 AM (in response to ericmacau)I ment
->bla.ear->bla.jar->3rd.jar -
3. Re: Use thrid-party library in EJB ?
roslan Jun 18, 2003 3:19 AM (in response to ericmacau)The recommended way is to put it in your ear file. But in the MANIFEST.MF in your ejb-jar file, include the line:
Class-Path: 3rd-party.jar
This works for me.
Roslan -
4. Re: Use thrid-party library in EJB ?
kprindia Aug 22, 2003 2:49 PM (in response to ericmacau)Can roslan elaborate on how this third party library is working.
I tried this and placed Class-Path in MANIFEST.MF.
i am unable to do jndi lookup if i place in MANIFEST.MF file. It gives NameNotFound exception.
If i remove the line, then i am able to JNDI lookup
Let me know where i might be wrong -
5. Re: Use thrid-party library in EJB ?
kprindia Aug 22, 2003 2:49 PM (in response to ericmacau)I treid it on jboss 3.2.1 on windows 2000 machine.