tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayaraman, Gopinath " <gopinath.jayara...@citi.com>
Subject RE: Unable to start Tomcat due to DISPLAY variable issue
Date Tue, 26 Aug 2008 10:33:27 GMT
 
Hi Johnny,

Thanks for pointing out. I thought I can raise any Tomcat issues in this
forum.

Good news is that I managed to get rid of this problem by running Xvfb
server and using the DISPLAY variable to point to this display.
Also removed the -Djava.awt.headless=true option. Now the error is gone.

Thanks anyways for the quick response.

Thanks & Regards,
 
Gopi
 
Phone: +65-6854 4242
Mobile: +65-8186 2404
 
For Kana matters, always mail to *GCG ITO IDC-FEP Email Management

-----Original Message-----
From: Johnny Kewl [mailto:john@kewlstuff.co.za] 
Sent: Tuesday, August 26, 2008 2:21 PM
To: Tomcat Users List
Subject: Re: Unable to start Tomcat due to DISPLAY variable issue


----- Original Message -----
From: "Jayaraman, Gopinath " <gopinath.jayaraman@citi.com>
To: <users@tomcat.apache.org>
Sent: Tuesday, August 26, 2008 7:09 AM
Subject: Unable to start Tomcat due to DISPLAY variable issue


Hi Everyone,

I am having this typical issue which many have faced which is below:

Graphics ENV testing has failed. The Server is going to exit. Please
check 
your configuration and retry.
[2008-08-26 13:01:01.461] LogError
java.lang.RuntimeException: Graphics ENV testing has failed. The Server
is 
going to exit. Please check your configuration and retry.
        at jet.server.ServerEnv.$igc(jet/server/ServerEnv)
        at jet.server.ServerEnv.check(jet/server/ServerEnv)
        at 
jet.server.jrserver.JRRptServer.init(jet/server/jrserver/JRRptServer)
        at 
jet.server.jrserver.http.JRHttpRptServer.init(jet/server/jrserver/http/J
RHttpRptServer)
        at 
jet.server.api.http.HttpUtil.initEnv(jet/server/api/http/HttpUtil)
        at
jet.server.servlets.JRServlet.init(jet/server/servlets/JRServlet)

According to suggestions from different threads, I have tried setting 
CATALINA_OPTS="$CATALINA_OPTS "-Djava.awt.headless=true

since the server is running in Solaris env. (5.8) and Tomcat 5.5.9

The production server is in a controlled environment, managed by System 
Admins, with limited acces to me. This was working fine one month back,
but 
suddenly this issue started to crop up.
We dont have much expertise in Tomcat here, so I could not much help
from 
colleagues.
I hope to get some pointers here.

Thanks a lot in advance.

Regards,
Gopi

----------------

Gopi I dont know... dont use Sun stuff which I imagine this server is...
But the linux guru here says he thinks its because the X11 libraries are

missing or corrupted.
Tomcat may be triggering it because a servlet needs a graphics lib...
like 
for example captcha needs the graphics head.
Cant make the server headless if the apps need that stuff...
... we guess ;)
------------------------------------------------------------------------
---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
------------------------------------------------------------------------
--- 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message