Below I have pasted in some classes. The IncidentService class is the class
I am trying to use with Axis. DialogListener is a test class I created to
test the JNI calls. If I use the DialogListener class, everything works
fine as I get back the expected results. The problem only happens with I
try to deploy the IncidentService class and its required shared libraries.
// IncidentService.java
package dialoglistener;
public class IncidentService {
static {System.loadLibrary("DialogListener");}
public String findProductIncidentsWithEddress(String eddress) {
return getIncidents(eddress);
}
public native String getIncidents(String eddress);
}
// DialogListener.java
package dialoglistener;
public class DialogListener {
public static void main(String[] args) {
IncidentService is = new IncidentService();
System.out.println(is.findProductIncidentsWithEddress(args[0]));
}
}
On 8/8/03 3:41 PM, "Sanjay Krishnamurthi" <[EMAIL PROTECTED]>
wrote:
> Hi Adamh,
>
> Are you sure that the DLL your JNI code depends on
> and is trying to load is available in the path for the
> server. Try to load the dll directly from your service
> code using system.loadLibrary() and see if it raises
> any exceptions.
>
> Sanjay