R
reggert
Guest
I'm trying to get Tomcat working on my virtual dedicated Linux server that I have through Godadddy.
In order to get Tomcat to start up at all, I had to modify /etc/tomcat5/tomcat5.conf to change JAVA_HOME to point to /usr/lib/jvm/jre-1.4.2-gcj instead of /usr/lib/jvm/java. After doing this, it seems to start up fine (no errors in the log files, aside from a couple of "WARNING: Unknown default host: localhost" messages.
When I try to upload a WAR file through Plesk, it hangs indefinitely on "Please wait. Loading...".
When I try to access the Tomcat console directly through http://lgi-2.lagardeimperiale.org:8080/ (or :9080; or any other variation of the hostname), it hangs indefinitely with no response.
HOWEVER, when I log into the machine via SSH and run lynx against http://localhost:8080/ or http://lgi-2.lagardeimperiale.org:8080/ (the fully-qualified hostname of the machine; mapped to the machine's IP address in /etc/hosts), I'm able to get into Tomcat (port 9080 doesn't seem to work at all; nor do other variations of the hostname).
Does anyone have any idea what's wrong? It seems as if Tomcat isn't accepting connections from the outside world, or from Plesk.
In order to get Tomcat to start up at all, I had to modify /etc/tomcat5/tomcat5.conf to change JAVA_HOME to point to /usr/lib/jvm/jre-1.4.2-gcj instead of /usr/lib/jvm/java. After doing this, it seems to start up fine (no errors in the log files, aside from a couple of "WARNING: Unknown default host: localhost" messages.
When I try to upload a WAR file through Plesk, it hangs indefinitely on "Please wait. Loading...".
When I try to access the Tomcat console directly through http://lgi-2.lagardeimperiale.org:8080/ (or :9080; or any other variation of the hostname), it hangs indefinitely with no response.
HOWEVER, when I log into the machine via SSH and run lynx against http://localhost:8080/ or http://lgi-2.lagardeimperiale.org:8080/ (the fully-qualified hostname of the machine; mapped to the machine's IP address in /etc/hosts), I'm able to get into Tomcat (port 9080 doesn't seem to work at all; nor do other variations of the hostname).
Does anyone have any idea what's wrong? It seems as if Tomcat isn't accepting connections from the outside world, or from Plesk.