You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Furlan Bojan ITWET2 <fu...@iskratel.si> on 2002/09/24 10:00:58 UTC

Special consideration of invoking native methods in Tomcat?

I am trying to access existing legacy system in our company over JSP running
on Tomcat. Using JNI, I am now able to call one of the C functions
(something like connect to a server and select database) from existing API.
The call succeeds, but it results in error during execution of that
function. The same call in a standalone java application is always
successful.
As far as I know, API communicates to server over socket mechanism. What
would be a difference between calling such a native function in standalone
Java application and using the same in JSP? I'm new in Java environment,
Tomcat and JSP, so I would appreciate any hint.

Regards
Bojan Furlan 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>