Hi,
I am able deploy an osgi native code bundle on glassfish 3.1 felix osgi
container successfully. But when I try calling the native code via jsp I am
getting the following error:
/
java.lang.UnsatisfiedLinkError: no jnotify in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.apache.jsp.index_jsp._jspService(index_jsp.java from :67)
/
My manifest file is as follows:
Manifest-Version: 1
Bnd-LastModified: 1311020192921
Bundle-Activator: com.ingenix.iCollaborate.osgi.JNotifyOSGIActivator
Bundle-ManifestVersion: 2
Bundle-Name: jNotifyBundle
Bundle-SymbolicName: jNotifyBundle
Bundle-Version: 0
Created-By: 1.6.0_22 (Sun Microsystems Inc.)
Import-Package: org.osgi.framework;version="[1.5,2)"
Private-Package: com.ingenix.iCollaborate.osgi
Tool: Bnd-1.43.0
Bundle-NativeCode: jnotify.dll;osname = Windows2003; processor = x86;
jnotify_64bit.dll;osname = Windows2003; processor = x86
Include-Resource: jnotify.dll; jnotify_64bit.dll
Let me know what I am missing.
--
[Message sent by forum member 'osgiUser']
View Post: http://forums.java.net/node/825350