Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling a dll file problem in webapplication

 
aresh babu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic