Reputation: 11
I need to add oracle.toplink.jar in classpath of WAS server but I am unable to put it. Please suggest. I tried to add this jar in start script of WAS server.
Upvotes: 1
Views: 2011
Reputation: 2204
One way is to throw your jar in WAS_HOME/lib/ext directory, where WAS_HOME = The installation root of WebSphere Application Server.
CAUTION: Since this action changes the classpath of the WebSphere runtime, it could have unexpected consequences in case it conflicts with WAS libraries.
Another way to change the classpath of a deployed application is the create a shared library and reference it from your application.
Upvotes: 1
Reputation: 61
I guess one of your applications needs this library? Maybe just put it into shared libs (see Environment -> Shared libs in management console) and just reference it from applications (use Shared library references in application configuration).
Upvotes: 0
Reputation: 5782
Look at Java virtual machine settings for options for changing server classpath.
Upvotes: 0