Hi ,
I think your library path is not properly set when you redeploy your application . I was facing the same problem .
Lets say you are accessing your native code in /private1/oracle/mycode directory . Lets say the variable name is xyz . So before starting the orion server , Explicitly set the path to
export xyz=/private1/oracle/mycode and then start the orion server .
Thanks
Biswajit
>From: Etienne Bernard <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: Orion and JNI
>Date: Thu, 30 Aug 2001 00:24:08 +0200
>
>Hi,
>
>I am trying to use a native class in a servlet. The library containing
>the implementation of the native methods is loaded at the servlet
>initialization (static { ... } block), and everything works fine.
>
>However, when my application gets redeployed, the next time I try to
>access my servlet I get an exception:
>
>java.lang.UnsatisfiedLinkError: Native Library libsipssubscription.so already loaded in another classloader
> at java.lang.Error.
(Error.java:52)
> at java.lang.LinkageError.(LinkageError.java:45)
> at java.lang.UnsatisfiedLinkError.(UnsatisfiedLinkError.java:44)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1434)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1315)
> at java.lang.Runtime.load0(Runtime.java:715)
> at java.lang.System.load(System.java:826)
> at com.ecompil.sipswrapper.SIPSApiSub.(SIPSApiSub.java:68)
> at com.ecompil.web.SIPSSubscriptionRequest.processSubscription(SIPSSubscriptionRequest.java:60)
>
>Is there a way to avoid such an error ?
>
>Thanks in advance.
>--
>Etienne Bernard <[EMAIL PROTECTED]>
>Senior Software Engineer - FullSIX - http://www.fullsix.com/
>
Get your FREE download of MSN Explorer at
http://explorer.msn.com