|
From: Leif M. <le...@ta...> - 2003-10-21 22:02:37
|
Werner,
This is one I have not seen before. If you look at the stack trace
however, it is not
having a problem loading the libwrapper.so file. At this point, that
has already been
loaded and successfully initialized.
The error you are getting is coming from the constructor of
java.awt.Component.
The TestWrapper demo displays a simple AWT Frame. This requires
access to a
display. Not having access to a display produces a different error though.
This looks like the AWT native libraries that are part of the Java
installation are not
being found? I am not familiar with the JVM options on OSF1. Is that
possible?
Cheers,
Leif
Wer...@t-... wrote:
>Hello,
>i tried to run testwrapper under OSF1 and it doesnt work. Starting testwrapper get the following result:
>
>STATUS | wrapper | 2003/10/21 16:08:30 | --> Wrapper Started as Console
>STATUS | wrapper | 2003/10/21 16:08:31 | Launching a JVM...
>INFO | jvm 1 | 2003/10/21 16:08:31 | Initializing...
>INFO | jvm 1 | 2003/10/21 16:08:32 | Wrapper (Version 3.0.5)
>INFO | jvm 1 | 2003/10/21 16:08:32 |
>INFO | jvm 1 | 2003/10/21 16:08:32 | start()
>INFO | jvm 1 | 2003/10/21 16:08:32 | Error in WrapperListener.start callback. java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
>INFO | jvm 1 | 2003/10/21 16:08:32 | java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.lang.ClassLoader.loadLibrary0(ClassLoader.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.lang.System.loadLibrary(System.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.security.AccessController.doPrivileged(Native Method)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.awt.Component.<clinit>(Component.java:276)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at org.tanukisoftware.wrapper.test.Main.start(Main.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at org.tanukisoftware.wrapper.WrapperManager.startInner(WrapperManager.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at org.tanukisoftware.wrapper.WrapperManager.handleSocket(WrapperManager.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at org.tanukisoftware.wrapper.WrapperManager.run(WrapperManager.java, Compiled Code)
>INFO | jvm 1 | 2003/10/21 16:08:32 | at java.lang.Thread.run(Thread.java:484)
>
>I checked the setting of wrapper.java.library.path1 in wrapper.conf which is the default and where libwrapper.so is located.
>I built the whole thing on the maschine and tried again, with the same result.
>Can anybody help?
>
> Thanks Werner
>
>
|