Endorsed libraries [message #507458] |
Wed, 13 January 2010 15:00 |
|
Hi all,
I'm transforming an RCP application into an RAP application and I'm getting the following problem.
My RCP application uses endorsed libraries to call EJB on a Websphere Application Server.
So, in RAP, how do I add these endorsed libs ? I tried to add them like standard libraries but it doesn't work.
Thank in advance,
Cédric
|
|
|
|
Re: Endorsed libraries [message #507519 is a reply to message #507509] |
Wed, 13 January 2010 18:27 |
|
On my RCP application, I add endorsed libraries with "-Djava.endorsed.dirs" what I cannot do on the RAP application.
Actually my problem is to call an EJB from the RAP application, both are deployed on the same WAS instance.
When I try to call the EJB I get a class not found exception on WsnInitialContextFactory which is annoning because this class exists in the IBM JVM of the WAS server.
To handle this EJB call in RCP, we use the endorsed libraries because we are on a Sun JVM and we need all the WAS stuff to make the call (endorsed+ext WAS libs).
I have two options to solve this.
I can find why the WsnInitialContextfactory is no found by the classloader (possibly an OSGI issue ?)
or I can use the endorsed libraries, the same way as RCP.
I don't know if it's clear but it's a bit complicated.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03355 seconds