Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed Tomcat 4.1.10 on Linux 7.3. When I run "startup.sh" it starts up fine, but when I try to connect to "http://localhost:8080" it refuses my connection. I'm not sure what has gone wrong. I have successfully installed Tomcat 4.0.4 on a laptop and it works fine. I thought I may be having a problem with my DSL line buggering things up, but I'm not sure and wouldn't know how to fix it anyway.
If it refuses connection, means that you tomcat has not started proper. Do the following it will work :
see in /root/.bashrc the path for java is given.
in the /var/tomcat4/conf/tomcat4.conf java path is given proper
Then run the tomcat4 with "run" in the terminal mode. It will to step by step to say what it is doing and whether the startin of tomcat is proper or not like the following :
==================================================================================
[root@localhost root]# tomcat4 stop
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_04
[root@localhost root]# tomcat4 run
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_04
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8081
Starting service Tomcat-Standalone
Apache Tomcat/4.1
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8081
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8019
[INFO] JkMain - -Jk running ID=0 time=2/60 config=/var/tomcat4/conf/jk2.properties
Originally posted by prpsarathy435 If it refuses connection, means that you tomcat has not started proper. Do the following it will work :
see in /root/.bashrc the path for java is given.
in the /var/tomcat4/conf/tomcat4.conf java path is given proper
Then run the tomcat4 with "run" in the terminal mode. It will to step by step to say what it is doing and whether the startin of tomcat is proper or not like the following :
==================================================================================
[root@localhost root]# tomcat4 stop
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_04
[root@localhost root]# tomcat4 run
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_04
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8081
Starting service Tomcat-Standalone
Apache Tomcat/4.1
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8081
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8019
[INFO] JkMain - -Jk running ID=0 time=2/60 config=/var/tomcat4/conf/jk2.properties
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.