You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Jerome S.de Guzman" <Je...@securetrade.com> on 1999/10/12 10:39:18 UTC
mod_jserv/5128: URGENT!!! cannot load native code (JNI) from a servlet
>Number: 5128
>Category: mod_jserv
>Synopsis: URGENT!!! cannot load native code (JNI) from a servlet
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: jserv
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Oct 12 01:40:01 PDT 1999
>Last-Modified:
>Originator: Jerome.DeGuzman@securetrade.com
>Organization:
apache
>Release: Apache 1.3.6 + Apache JServ 1.0
>Environment:
Windows NT Workstation 4.0
JDK-1.2.1
>Description:
I'm getting a "java.lang.UnsatisfiedLinkError: no HelloWorld in
java.library.path" whenever I invoke JNI from a servlet. But it
works fine in a java application. I already tried moving my dll
files to "C:\JDK1.2.1\bin" but it only works the first time the
servlet is run. It then fails on subsequent calls. I know this
is already an old problem, that custom class loaders do not support
JNI, but I just want to know if you already have a solution to this
problem.
Please help me. It's very IMPORTANT!!!
Thanks a lot =)
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]