File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Problem in specifying  native libraries in WAS 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Problem in specifying  native libraries in WAS 6.1" Watch "Problem in specifying  native libraries in WAS 6.1" New topic

Problem in specifying native libraries in WAS 6.1

kranthi aella

Joined: Nov 22, 2005
Posts: 1
I am migrating an application running on sub one web server 6.0 to WAS 6.1 and running into a problem while configuring native libraries.
My application code depends on a jar(abc.jar) file which in turn requires DLL(Mobius) files to connect to a reporting tool.

In web sphere i have a made a shared library and have set the classpath to abc.jar and the native library path to C:/Mobius.

In the class loader for the server i have refereced this shared library.

While running the appliation i get the following error message

java.lang.UnsatisfiedLinkError: C:\Mobius\ReginiJni.dll (JVMPORT015E Unable to resolve DLL references - a prerequisite DLL may be missing) at java.lang.ClassLoader.loadLibraryWithPath( at java.lang.ClassLoader.loadLibraryWithClassLoader( at java.lang.System.loadLibrary( at com.mobius.regini.ReginiApi.( at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize( at com.mobius.vdrapi.DocumentServerFactory.( at pony.RptServer.GetDocumentServer( at pony.RptServer.Authenticate( at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at$000( at

I am thinking myy application is not able to find the native librarires.

Can some one help me in finding the problem in configuring the native libraries for an application on WAS 6.1.

thanks in advance
I agree. Here's the link:
subject: Problem in specifying native libraries in WAS 6.1
It's not a secret anymore!