i 've programmed a servlet with a chart inside,
to run this under linux i need the X-Window started,
but even if i start X-Windows with xinit,
i get the error message
/usr/lib/jdk1.1.7/bin/../lib/i686/green_threads/libawt.so: undefined
symbol: XtShellStrings (libawt.so)
java.lang.UnsatisfiedLinkError: no awt in shared library path
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:323)
at
org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java)
whats wrong ???
1. Your servlet engine was not started with a $DISPLAY
environment variable set. Add this setting to the script
you use to start your servlet engine.
2. The account running the servlet engine does not have
permissions to connect to the specified $DISPLAY. This
will typically occur if your servlet engine runs as
nobody but you are logged in as yourself.
3. The display isn't running.
Typically, the best solution is to have your servlet
engine's startup script start a Xvfb server at a high
numbered display, like :10.0 with some strict magic-
cookie based authentication for whatever account runs
your servlet engine. That way your servlet engine can
generate images without affecting your logged-in
session(s).
-=- D. J.
In article <39AA1F84...@bmw.de>,
Sent via Deja.com http://www.deja.com/
Before you buy.