On Tue, Sep 28, 2004 at 12:39:28AM +0000, Didier McGillis wrote:
: I have a small problem.  My predicesor setup his code to work with 
: X-Windows.  Well the code will not work without an x11 server running.  
: However I have all my machines setup as a typical server and do not have 
: xwindows installed.  I saw where you could grab a few x11 libs and then run 
: somewhere in the catalina.sh file a flag that would flip on the headless 
: setting in teh JVM.  I have tried that several times and not even a hint 
: that it works.

1/ please demonstrate what you've done; that will help someone determine
whether there's just an error in your setup.

2/ the "Java/X11" issue appears on the list now and then; please search
the archives.  In short, solutions include: xvfb, the system property
java.awt.headless (or something like that) if you're running JDK 1.4+,
etc.

3/ instead of editing catalina.sh, create a wrapper script that sets the
JAVA_OPTS environment variable and have that call the Tomcat startup.sh
script.  That's much more portable between Tomcat versions.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to