• Post Reply Bookmark Topic Watch Topic
  • New Topic

UnsatisfiedLinkError on JBoss calling a JNI method

 
aresh babu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi all

I'm having problem deploying a simple JNI Web App on JBoss 4.0.5.

The required .dll files are in the path.

When my Servlet tries to invoke the native method, it gives me the UnsatisfiedLinkError.

Needles to say, it works just fine in a standalone application.

What am I doing wrong ? Please let me know the solution for this problem. I am struggling from 2days to rectity this problem.

Thanks in advance,
Aresh babu
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the DLL on your java.lang.path? Don't you need a security setting somewhere to be able to use native code in web containers?
 
aresh babu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

my dll file is there in the path properly. But it is giving the error when i tried to call a native method.

This dll is working fine because i already i have used in stand alone java application.

Please suggest me the solution.

Thanks &Regards
Aresh Babu
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!