• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

classpath issues

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
prav ba
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey thanks for the reply. it indeed was missing a native library. set it in the app server path
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic