tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Chiaretta" <>
Subject [maybe OT] - java.lang.UnsatisfiedLinkError in servlet when generating image on the fly
Date Sun, 18 Jan 2004 00:02:26 GMT
Hello all,
I get a strange error when try to run a code to generate a JPG on the
fly from inside a servlet:
/usr/java/j2sdk1.4.0_01/jre/lib/i386/ cannot open
shared object file: No such file or directory

the lib is a lib from X server...
But I'm running the webserver on a just text server, so, no Xfree...
I'm wondering if X is needed to use some awt methods (like the
Toolkit.getImage())... or JPEGEncoder
the piece of code that seems to generate the error is:
Image image1 = Toolkit.getDefaultToolkit().getImage(sourceFileName)
Simone Chiaretta
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message