Hi All!
Thanks to everyone who gave their valuable
suggestions and ideas in eliminating my exception. I resolved my exception
successfully.
So, my suggestion for all those who want to invoke
a JNI application from AXIS Service is as follows.
1. Check whether the JNI application works offline,
I mean when it is not deployed on the Tomcat. If it works fine,
2. then check whether you have copied the DLL and
LIB files of your c/c++ application in your System path. i.e., in
Windows/System32 folder. It is mandatory to copy both the DLL and LIB files in
to this folder. If the files are not placed
in the System path, you will get an InvocationTargetException.
<Optional> Check whether you have placed all
the dependency classes, if you have any in the webapps/axis/<package
name> of your tomcat server.
Hope this works!!! Best of luck
Cheers
Sai.
|
- JNI with AXIS - InvocationTargetException Sai Pradeep - Hotmail
- RE: JNI with AXIS - InvocationTargetException Sai Pradeep - Hotmail
- RE: JNI with AXIS - InvocationTargetException Martin, Richard