JNI fails under Tomcat and JBoss

Hi,
I'm calling a native method from Java 1.3/Windows 2000
under Tomcat 3.2 and JBoss 2.2 and it fails without any exception.

Before calling the native methods I load up the dll containing the method's
native 
implementation which reports no errors and prints some log messages in dll's
main() 
to prove it's loaded indeed. (For some reason, the messages suggest that the
dll is loaded
several times into the system, which is weird)

Then I call my native method and I get the following:
- the native method'd C code is not reached (no log messages found to prove
otherwise)
- the Java method that calls the native method gets stuck 
- no exceptions are thrown on either side

Important note :
when the same native method is called from a standalone Java application
(not started
under Tomcat/JBoss) - it runs with no problem.

Regards,
Semion.

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to