Re: Tomcat not listening on specified port
On 24/09/2010 09:37, Ognjen Blagojevic wrote: > On 24.9.2010 7:37, Garg, Saman wrote: >> We are using tomcat-6.0.24 with jdk1.6.0.17 on RHEL 3 OS. We have a >> wrapper script which sets few variables and then call tomcat.start to >> start up the instance. In the tomcat log, I do see >> "org.apache.jk.common.ChannelSocket init" not getting loaded on the >> start of tomcat. > > You might post your logs here, as well as both server.xml files, with > sensitive data removed. > > If you are running multiple instances check if all configuration ports > are different. Aside from HTTP port, there are others that should be > different like HTTPS, AJP and shutdown port (default is 8005). ... and post the wrapper script. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: Tomcat not listening on specified port
On 24.9.2010 7:37, Garg, Saman wrote: We are using tomcat-6.0.24 with jdk1.6.0.17 on RHEL 3 OS. We have a wrapper script which sets few variables and then call tomcat.start to start up the instance. In the tomcat log, I do see "org.apache.jk.common.ChannelSocket init" not getting loaded on the start of tomcat. You might post your logs here, as well as both server.xml files, with sensitive data removed. If you are running multiple instances check if all configuration ports are different. Aside from HTTP port, there are others that should be different like HTTPS, AJP and shutdown port (default is 8005). -Ognjen - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat not listening on specified port
We are using tomcat-6.0.24 with jdk1.6.0.17 on RHEL 3 OS. We have a wrapper script which sets few variables and then call tomcat.start to start up the instance. In the tomcat log, I do see "org.apache.jk.common.ChannelSocket init" not getting loaded on the start of tomcat. Thanks -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Wednesday, September 22, 2010 9:49 PM To: Tomcat Users List Subject: Re: Tomcat not listening on specified port On 22/09/2010 12:55, Garg, Saman wrote: > Hi All, Exactly which Tomcat, JVM, OS versions are you using? > I am having a very strange issue wherein after starting the tomcat > instance, it doesn't show any errors and also doesn't listen on port > (9046) How are you starting the instance? Which script are you using? What happens if you stop, completely clear the log files for that instance, and start up again? Which logs do you have? What is in them? p > specified in server.xml as it doesn't list this port on using > "netstat" command. But similar thing is working for other tomcat > instance which is running on port 9045 on the same machine. I have > verified there is no other service running on port 9046 so this port > is ok to use. Could anybody please help? > > > > Thanks > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat not listening on specified port
On 22/09/2010 12:55, Garg, Saman wrote: > Hi All, Exactly which Tomcat, JVM, OS versions are you using? > I am having a very strange issue wherein after starting the tomcat > instance, it doesn't show any errors and also doesn't listen on port > (9046) How are you starting the instance? Which script are you using? What happens if you stop, completely clear the log files for that instance, and start up again? Which logs do you have? What is in them? p > specified in server.xml as it doesn't list this port on using > "netstat" command. But similar thing is working for other tomcat > instance which is running on port 9045 on the same machine. I have > verified there is no other service running on port 9046 so this port is > ok to use. Could anybody please help? > > > > Thanks > > 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: Tomcat not listening on specified port
Try using another machine and : telnet {server} 9045 and telnet {server} 9046 You should get a response. You can also try lsof -i :9045 To see if tomcat has opened that port. You might not the port opened in IPTABLES The file the firewall outputs its logs to is usually either /var/log/syslog or /var/log/messages. In order to find out which one, you can do grep -q "Packet log" /var/log/syslog && echo yes If it outputs "yes" then it is /var/log/syslog, if it outputs nothing it is most probably /var/log/messages. You can confirm with grep -q "Packet log" /var/log/messages && echo yes On 22/09/10 9:55 PM, "Garg, Saman" wrote: Hi All, I am having a very strange issue wherein after starting the tomcat instance, it doesn't show any errors and also doesn't listen on port (9046) specified in server.xml as it doesn't list this port on using "netstat" command. But similar thing is working for other tomcat instance which is running on port 9045 on the same machine. I have verified there is no other service running on port 9046 so this port is ok to use. Could anybody please help? Thanks
Tomcat not listening on specified port
Hi All, I am having a very strange issue wherein after starting the tomcat instance, it doesn't show any errors and also doesn't listen on port (9046) specified in server.xml as it doesn't list this port on using "netstat" command. But similar thing is working for other tomcat instance which is running on port 9045 on the same machine. I have verified there is no other service running on port 9046 so this port is ok to use. Could anybody please help? Thanks
Tomcat not listening
Hi , I very new to Tomact.When I bring up the process the Tomcat comes up properly but it doesn't listen on the ports mentioned in server.xml. I am not able to figure it outThanks in advance. Regards -A