----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi!

My goal is to create an java.awt.Image by painting things on a
java.awt.Graphics.

I have done this (so far) by using a Frame and calling its addNotify()
method to make it useable, then using the createImage(...) method to
create an Image.

During the development I have been running my own apache as myself and the
things described above has worked fine. Now I have to put the things on
our real web-server - and it won't work.

When I tries to access the servlet that draws the Image I get the
following Exception...

-----------------------------
/production/java/jdk117_v3/bin/../lib/i686/green_threads/libawt.so:
undefined symbol: XtShellStrings (libawt.so)
[26/11/1999 12:14:06 GMT+01:00]: java.lang.UnsatisfiedLinkError: no awt in
share
d library path: no awt in shared library path
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.Window.getToolkit(Window.java:230)
        at java.awt.Frame.addNotify(Frame.java:203)
        at
se.lentus.util.image.ComponentContent.createImage(ComponentContent.ja
va:86)
        at se.lentus.util.image.ImageContent.create(ImageContent.java:158)
        at se.lentus.servlet.DynamicServlet.doGet(DynamicServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.run(JServConnection.java)
--------------------------------

And the thread dies. I have set the DISPLAY environment variable to a
screen that is accessible.

I am currently using jdk1.1.7_v3 and I know that this is fixed in jdk1.2
by BufferedImage - but since I'm using Linux there are (as far as I know)
no stable jdk1.2 for Linux yet.

I also use the following:
  Linux Redhat release 5.2
  jdk 1.1.7 (v3)
  jsdk 2.0
  jserv 0.9.12
  apache 1.3.3

Do anyone know what to do?

Please help me...
Tobias




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to