�����w wrote:
>
> hi,
>   I got a unsatisfied link error while using
> Java servlet calling a method in C.Not for the
> system load library error.
>   It is ok using Java application to do so , but
> fail with Java servlet..Why?
>
> I am using Websphere 2.0 + IIS4.0, JDK1.1.7
>

The short answer is probably because the servlet engine classpath is not
the same as the command line classpath, which is why the load library
fails.

However, you should really not be doing this - if the native code dies,
you will bring down the JVM of your server, and all the other servlets
with it.  (See Hunter)

What you should do is have your servlet make a CORBA or DCOM (insert
others here) call, so that worse case, you get a timeout, but your
server is still up.

Alfonso.



--

------------------------------------o0o-----------------------------------
The Programmer Formerly Known as Alfonso Urdaneta         Ph:
561.581.7360
Integrated Visions                                       Fax:
561.581.7377
10315 102nd Terrace
[EMAIL PROTECTED]
Sebastian FL, 32958
http://www.integratedvisions.com

"Time flies like the wind, but fruit flies like bananas"

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to