[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Java AWT and X



Hi,
I have installed, and have running Kaffe, JServ and JSP on our RaQ2 server.
Everything all works nicely unless I try some AWT stuff.
I wanted to dynamically generate and image based on data  and output it as a
JPEG.  The easiest way to do this was to generate an Image object, using a
Frame object, then drawing to it, followed by outputing to file.  This
worked in my development environment (JBuilder on a PC).  I tried to get
this working on our RaQ2 server with no success!  It all compiles OK (on
both systems), however, at run time on the RaQ2, there are complaints about
unsatitfied external awt stuff....
This is the message from the log file:

[15/05/2000 14:07:40:944] (ERROR) ajp12: Servlet Error:
java.lang.ExceptionInInitializerError: [exception was
java.lang.UnsatisfiedLinkError: awt: file not found]: [exception was
java.lang.UnsatisfiedLinkError: awt: file not found]


Is this because there is no x-server on the raq, thus some libs are missing?
Anyone have  any ideas on how to fix or get around this....

Thanks

Nikk Anderson

/*  Software Engineer
*   ARK Geophysics Ltd.
*   Mill Court
*   Featherstone Road
*   Wolverton Mill
*   Milton Keynes
*   BUCKS
*   MK12 5EU
*  T 01908 222566
*  F 01908 222577
*  E nikk.anderson@xxxxxxxxxx
*/
*