We generated the dll file without any compilation error and this dll is working fine when we are using with stand alone java application.
But if we try to use in web application it is not giving any exception while it is loading.
When we try to call a particular method on the dll from a servlet it is showing the message Servlet Threw An Exception. We are not able to call a method which are there in the dll file. What may be the problem??? We are using JBOSS server.
The run.bat file (or run.conf.bat, you never said which version of JBoss AS) sets the java.library.path. You will probably have to edit the run script to include the directory that contains you DLL in java.library.path.