WebSphere Application Server - Classpath configuration in WAS 6: urgent

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > August 2006 > Classpath configuration in WAS 6: urgent





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Classpath configuration in WAS 6: urgent

2006-08-24, 1:44 pm

Hi,

For my application I need many JAR files, which i need to mentioned in classpath. I tried to add the JAR files PATH on several location. Following are the location where I tried to add the classpath. but still I am getting ClassNotFoundError -

1) setupCmdLine.sh file in profiles//<profilename>/bin
Variable: WAS_CLASSPATH
WAS_LIBPATH
2) Classpath on JVM classpath option in websphere admin console.

3) -classpath option in commandline argument option from websphere admin console.

Please help me in this. Where I need to spesify required JAR files or configure classpath.

Thankx.
Mark Lewis

2006-08-24, 1:44 pm

aniket1983@gmail.com wrote:
> Hi,
>
> For my application I need many JAR files, which i need to mentioned in classpath. I tried to add the JAR files PATH on several location. Following are the location where I tried to add the classpath. but still I am getting ClassNotFoundError -
>
> 1) setupCmdLine.sh file in profiles//<profilename>/bin
> Variable: WAS_CLASSPATH
> WAS_LIBPATH
> 2) Classpath on JVM classpath option in websphere admin console.
>
> 3) -classpath option in commandline argument option from websphere admin console.
>
> Please help me in this. Where I need to spesify required JAR files or configure classpath.
>
> Thankx.


Either package required JARs inside your application EAR, or configure
shared libraries to make external JARs available in the classpath for
your application / server. Information on shared library configuration
can be found here:

http://tinyurl.com/f8alt

Thanks,

Mark.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com