It's not uncommon for firewalls to only allow access to particular ports on a machine.

Try logging into the Solaris box and telnet localhost 8008 If that connects, then something (hopefully Tomcat) is running on port 8008. Repeat from your desktop. If that fails, the firewall is the problem.

Regards

Ron

----- Original Message ----- From: "Malladi, Sasikanth " <sasikanth.mall...@citi.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Saturday, August 22, 2009 3:18 AM
Subject: RE: Running multiple tomcats


No, no forwarding problems, as I can access the original instance at http://myhost:8080
It's just that my instance at http://myhost:8008 is not responding.
It's not the localhost, but a remote Solaris box.

~~~~~~~~~~~~~~~~~~~~~~~~
Regards,
Sashi
~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: llg [mailto:l...@portaildulibre.fr]
Sent: Friday, August 21, 2009 11:16 AM
To: Tomcat Users List
Subject: Re: Running multiple tomcats



Le 21/08/09 17:06, Malladi, Sasikanth a écrit :
Thank you for the reply. I've used netstat to ensure none of my ports are being currently used.
I updated the AJP connector to 8090 (from the original 8009).
As I said before, the startup seems smooth, with no errors/exceptions being reported. However, I can't access my instance via the web (the other instance is accessible).

Did you try on local (localhost:8008) ?

Is your box behind firewall or routers (forwarding problems) ?

Laurent

Any other tips/hints?

Thanks,
Sashi


-----Original Message-----
From: llg [mailto:l...@portaildulibre.fr]
Sent: Friday, August 21, 2009 10:37 AM
To: Tomcat Users List
Subject: Re: Running multiple tomcats

Hi,

    perhaps you forgot the AJP Connector (8009).

You can see all listened ports with command :
netstat -laputen | grep java


Laurent

Le 21/08/09 16:31, Malladi, Sasikanth a écrit :

Hi all, I'm a relative newbie to this particular request.

I'm working on a Solaris 10 box which has an old (2003!) version of Tomcat running on the default 8080 port.

I've downloaded the latest Tomcat to my home directory and changed the server.xml to port 8008 instead of 8080. I've also changed the shutdown port to 8001 (from 8005) so as not to clash with the existing instance.

I've set the CATALINA_HOME, CATALINA_BASE, JAVA_HOME to the right locations.

Then I ran startup.sh. Everything seemed to be good. I tailed the log file and it looks ok.
However, I can't access the default homepage at http://myhost:8008.
I've shutdown the server for now. Neither the startup nor the shutdown commands gave me any error.

#:>   ./shutdown.sh
Using CATALINA_BASE:   /home/xxxx/apache-tomcat-6.0.20
Using CATALINA_HOME:   /home/xxxx/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /home/xxxx/apache-tomcat-6.0.20/temp
Using JRE_HOME:       /opt/SDK/jdk

What could I be missing?

Thanks a lot for your help!

Sashi

P.S. Here's the catalina.out from my logs dir:

Aug 21, 2009 2:14:54 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/SDK/jdk/jre/lib/sparc/server:/opt/SDK/jdk/jre/lib/sparc:/opt/SDK/jdk/jre/../lib/sparc:/usr/local/CAlib:/opt/CA/CAlib:/usr/lib:/usr/ucblib:/export/opt/CA/SharedComponents/iTechnology:/export/opt/CA/eTrustAudit//odbc/lib:/export/opt/CA/eTrustAudit//lib:/usr/jdk/packages/lib/sparc:/lib:/usr/lib
Aug 21, 2009 2:14:54 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8008
Aug 21, 2009 2:14:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1196 ms
Aug 21, 2009 2:14:54 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 21, 2009 2:14:54 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Aug 21, 2009 2:14:56 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8008
Aug 21, 2009 2:14:56 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 21, 2009 2:14:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/52  config=null
Aug 21, 2009 2:14:57 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2142 ms
Aug 21, 2009 2:21:04 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8008
Aug 21, 2009 2:21:05 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Aug 21, 2009 2:21:05 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8008

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to