users@glassfish.java.net

OSGI native code bundle

From: <forums_at_java.net>
Date: Fri, 22 Jul 2011 10:53:52 -0500 (CDT)

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