user2873450
user2873450

Reputation: 11

how to add class path in websphere server.?

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

Answers (3)

trikelef
trikelef

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

Jurica
Jurica

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

Related Questions