I've also been using jni without a problem.  The jar where my jni calls
exist is deployed to the webapps/axis/WEB-INF/lib directory.

Michael Ser
Netweave Integrated Solutions, Inc.


-----Original Message-----
From: Adhamh Findlay [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 08, 2003 9:04 AM
To: [EMAIL PROTECTED]
Subject: Using JNI in a service?

Hello,

Has anyone successfully used JNI from within a deployed service under
axis?
This seems to be creating a InvocationTargetException for me...

Here is the class:

package dialoglistener;

public class IncidentService {

    static {System.loadLibrary("DialogListener");}
    
    public native String findProductIncidentsWithEddress(String
eddress);
    }              
}

The code works fine when I use it outside of Axis, but once I deploy it
I
get the exception...

Thanks,

Adhamh



Reply via email to