I am running Tomcat, on Fedora 4. Using java version "1.4.2" gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8) Copyright (C) 2005 Free Software Foundation, Inc.
My application works fine until the following line of code is reached. ImageIcon ii = new javax.swing.ImageIcon(myFile.getCanonicalPath()); When this line is reached the tomcat service promptly stops. No exceptions in tomcat log or localhost log. Only the following line in Catalina out. (.:8048): Gtk-WARNING **: cannot open display: I have been advised to uninstall gnu java and replace it with Sun SDK, which I am in the process of trying to figure out how to do. (I am new to UNIX.) My question is this: What is going on with the Gtk-WARNING **, and does anyone know a fix? This seems not to be a class not found exception, since it happens even when I add java.awt, and javax.swing packages into the usr/share/java folder. I am figuring that the server could be configured as headless, and that this may be the cause of the problem, and am in the process of finding out where the script that configures this is on Fedora. ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]