I have some JNI code which works well as a standalone...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ajith_Kumar
Posted On:   Wednesday, November 1, 2000 09:14 PM

I have some JNI code which works well as a standalone application, but not as a Servlet. When run as a Servlet, i get an UnsatisfiedLinkError. I am using Windows NT4.0 with service pack 4, JDK1.3 and JavaWebserver2.0. The JNI Dll was created using VC++ 6.0.

Re: I have some JNI code which works well as a standalone...

Posted By:   Paulina_Chryc  
Posted On:   Tuesday, January 25, 2005 03:24 AM

I have the same problem.Jni code as application works, as servlet doesn't work!!! But i use JDK1.4, Winodws XP and Tomcat5.0.27 (precompiled version from www.coreservlets.com). I read that i have to put may servlet and dll file in different directory (for example: install_dir/shared/classes), but i can't reach this servlet by URL. What's wrong with my configuration?? When i put everything in WEB-INF/classes i get such exeptions:

Invoker service exeption
UnstisfiedLinkError: test


Please help,
Paulina
About | Sitemap | Contact