aspose file tools*
The moose likes JBoss/WildFly and the fly likes Calling a dll file problem in webapplication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Calling a dll file problem in webapplication" Watch "Calling a dll file problem in webapplication" New topic
Author

Calling a dll file problem in webapplication

aresh babu
Ranch Hand

Joined: Aug 31, 2008
Posts: 65
HI all,

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.

Please help me

Thanks & Regards
Aresh Babu
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling a dll file problem in webapplication