Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

servlet & graphics & linux

0 views
Skip to first unread message

Thomas Kern

unread,
Aug 17, 2000, 3:00:00 AM8/17/00
to
hi,
my jserv log contains following error message:
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
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:475)
what am i missing?
best regards,
tom

Paul Gifford

unread,
Aug 17, 2000, 3:00:00 AM8/17/00
to
Are you running an XWindows server on your Linux box? We've run into
something similar, where the server doesn't run XWindows which meant the
servlet couldn't do any graphics manipulation. We now run a dummy XWindows
server and that solves the problem.

p

--

"Thomas Kern" <Thoma...@gmx.at> wrote in message
news:399c1004$1...@news.salzburg.co.at...

Thomas Kern

unread,
Aug 18, 2000, 2:11:27 AM8/18/00
to
yes, the X-server is running and the localhost is allowed to connect (xhost
+localhost). still, the problem remains. however, i tried the same code
(Graphics g = img.getGraphics()) in an application, which does not raise an
exception. so my gues is that the servlet config is worng somewere ...
T.

Paul Gifford <paul.g...@attglobal.take.me.outta.here.net> schrieb in im
Newsbeitrag: 399cb...@news3.prserv.net...

0 new messages