You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Adam Jenkins <ad...@hotmail.com> on 2000/06/30 00:30:06 UTC
newbie question...please help re:image processing servlet with tomcat
Hi,
I'm relatively new to tomcat 3.1...I'm having a problem with a simple image
create servlet from jason hunters java servlet programming page 161...the
servlet returns a hello world gif by using g.drawString where g =
image.getGraphics() then encodes using Acme GifEncoder...the code works fine
stand alone and applet but as a servlet in tomcat I keep getting an
UnsatisfiedLinkError no fontmanager found in java.library.path I have set
LD_LIBRARY_PATH to point to the directory that contains fontmanager.dll and
even set java.library.path to point to it in runtime, but I still get the
same error. I'm using tomcat on win32
is there something I'm missing here? Has anyone come across this kind of
thing before.
thanks in advance
adam
adamjenkins@hotmail.com
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Re: newbie question...please help re:image processing servlet with
tomcat
Posted by Arion Yu <ar...@stt.com.hk>.
Hi!
Some sharing in Linux platform might give you some insight.
AWT as well as image stuff use X (you may think it is the console window). If
tomcat is run as background without login (start as service or whatever), X is
not accessible. It may be similar in Windows. To test for it, simply start
tomcat manually in command prompt instead of service.
Hope this help.
Arion
Adam Jenkins wrote:
> Hi,
>
> I'm relatively new to tomcat 3.1...I'm having a problem with a simple image
> create servlet from jason hunters java servlet programming page 161...the
> servlet returns a hello world gif by using g.drawString where g =
> image.getGraphics() then encodes using Acme GifEncoder...the code works fine
> stand alone and applet but as a servlet in tomcat I keep getting an
> UnsatisfiedLinkError no fontmanager found in java.library.path I have set
> LD_LIBRARY_PATH to point to the directory that contains fontmanager.dll and
> even set java.library.path to point to it in runtime, but I still get the
> same error. I'm using tomcat on win32
>
> is there something I'm missing here? Has anyone come across this kind of
> thing before.
>
> thanks in advance
> adam
>
> adamjenkins@hotmail.com
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
--
[This email and any files transmitted with it are confidential and may contain
information that is legally privileged. They are intended solely for the
addressee(s). Access to this email by anyone else is unauthorized. If you are
not the intended recipient, please delete it and notify the sender by email
immediately; you should not copy or use it for any purpose, nor disclose its
contents to any other person. Thank you.]