tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Fowler <joel.fow...@web-com.com>
Subject Newbie - Setting environment variables??
Date Wed, 12 Sep 2001 20:19:26 GMT
I'm using a package that requires that I have a DISPLAY variable set 
Tomcat's environment.
I've attempted to export this variable before running startup.sh as well as 
including:

export DISPLAY=localhost:0.0

in a .tomcatrc file. Neither approach seems to have accomplished this.

How do I place variables in Tomcat's environment??

Linux 7.1 (intel)
IBMJava2-1.3 jdk
Tomcat 3.2.3
mod_jk 3.2.3
KavaChart ?

Symptoms:

2001-09-12 04:27:39 - Ctx( www.cwatch.com:/webSentry ): Exception in: R( 
/webSentry + /servlet/Perf1c + null) - java.lang.NoClassDefFoundError: 
sun/awt/X11GraphicsEnvironment
         at java.lang.Class.forName1(Native Method)
         at java.lang.Class.forName(Class.java:134)
         at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment 
.java:64)
         at java.awt.Window.<init>(Window.java:190)
         at java.awt.Frame.<init>(Frame.java:318)
         at java.awt.Frame.<init>(Frame.java:265)
         at Perf1c.doGet(Perf1c.java:146)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at 
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection 
(Ajp13ConnectionHandler.java:160)
         at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:498)

Thanks for any help!

Joel Fowler



Mime
View raw message