aspose file tools
The moose likes IDEs, Version Control and other tools and the fly likes classpath issues Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "classpath issues" Watch "classpath issues" New topic
Author

classpath issues

prav ba
Greenhorn

Joined: Jun 17, 2007
Posts: 12
hi all,
am trying to solve a classpath issue, am writing a servlet using netbean IDE 6.7.1 which comes intergrated with glassfish V3. i have set my JAVA_HOME and CLASSPATH variables to include the relevant jar files but for some reason i keep getting am error in the app server logs :

java.lang.UnsatisfiedLinkError: no ars3wapi32 in java.library.path

have even included the jar file in the .war file which gets packaged up.

so in a servlet how do i explicitly set classpath ??


thanks.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24061
    
  13

That's not a missing jar file, it's a missing native library -- i.e., a DLL (for Windows) or .so (for Linux). The CLASSPATH isn't used for finding native libraries, but rather the java.library.path, a different setting altogether. I googled the name a bit, and I can't tell for sure where it's supposed to come from; it might be Websphere-related. What libraries are you using in your servlet?


[Jess in Action][AskingGoodQuestions]
prav ba
Greenhorn

Joined: Jun 17, 2007
Posts: 12
hey thanks for the reply. it indeed was missing a native library. set it in the app server path
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: classpath issues
 
Similar Threads
information regarding the import...
struts application deployment in tomcat server
Where is Servlet jar file with jboss-5.1.0.GA?
CLASSPATH FOR THE SERVLETS
CLASSPATH PROBLEM