On Wed, 11 Aug 1999, Boban Acimovic/Forritun AKS hf. wrote:
> Hi,
>
> I tried to search message archive at blackdown.org and I saw many messages
> regarding similar problem, but no
> solution for that. Is it bug of JDK or some misconfiguration. Please, let me
> know if you fixed you problem somehow. There is something about JAVA_NS and
> NS_JAVA but not enough described.
Does you program exec the "java" executable or does it use JNI?
If it uses JNI then you need to do this to get it working.
In the shell the you start the program set these env vars and
you need to have Motif instaled on your system.
setenv LD_PRELOAD "libpthread.so libjava.so libXm.so libXpm.so libXt.so
libSM.so libICE.so libXext.so libX11.so"
setenv LD_BIND_NOW 1
If you have lesstif installed them you should use these libs instead.
setenv LD_PRELOAD "libpthread.so libjava.so libXt.so libXm.so libXext.so"
I hope that helps
Mo DeJong
dejong at cs.umn.edu
> I run RedHat 6 with Blackdown JDK 1.1.7 v3. I have problem with my Java
> servlet running under Apache 1.3.6/Jserv 1.0. The same servlet works fine on
> NT Apache/JServ and some other servlets work on Linux fine, but not this one
> which use java.awt package.
>
> Here is exception message coming from Apache error_log:
>
> /usr/local/java/jdk117_v3/bin/../lib/i586/green_threads/libawt.so: undefined
> symbol: XtShellStrings (libawt.so)
> java.lang.UnsatisfiedLinkError: no awt in shared library path
> at java.lang.Runtime.loadLibrary(Runtime.java)
> at java.lang.System.loadLibrary(System.java)
> at
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394)
> at java.awt.Font.initializeFont(Font.java:106)
> at java.awt.Font.<init>(Font.java:121)
> at net.acim.servlet.HitCounter.<init>(HitCounter.java:31)
> at
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:435)
> at
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:39
> 7)
> at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:287)
> at org.apache.jserv.JServConnection.run(JServConnection.java:197)
> at java.lang.Thread.run(Thread.java)
>
> Any help would be appreciated. Thanks.
>
> Boban Acimovic, Web developer
> Forritun AKS hf. - Reykjavik, Iceland
> [EMAIL PROTECTED]
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]