tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Cannot setup tomcat
Date Mon, 23 Sep 2002 14:36:11 GMT

Now wait a minute!  You just posted that you are using the default.  The
default does not have the HTTP handler on port 80!!

Have you modified server.xml?  Have you changed the Coyote (HTTP) Connector
to run on port 80?  Are you running Tomcat as root if you are trying to run
on port 80?  If the HTTP connector is on port 80, you will get NOTHING on
port 8080.

Can you repost EXACTLY what you have changed from a default install?  You
are saying different things in different posts, and that doesn't help anyone
help you and just wastes time.

John


> -----Original Message-----
> From: Marc [mailto:mvila@telemako.com]
> Sent: Monday, September 23, 2002 10:40 AM
> To: Tomcat Users List
> Subject: Re: Cannot setup tomcat
> 
> 
> Hi Michael,
> The problem is that no output is printed. When I do 'startup.sh', the
> catalina.out is a file empty. On windows, tomcat output shows 
> something like that
> the service has started. On  tomcat 3.3, something like this is shown:
> 
>   2002-09-23 16:31:13 - PoolTcpConnector: Starting 
> HttpConnectionHandler on 80
>   2002-09-23 16:31:13 - PoolTcpConnector: Starting 
> Ajp13ConnectionHandler on 8009
> 
> But in my case, startup seems to run ok, a lot of java 
> process are created, but:
> the catalina.out is empty and I cannot connect to the server 
> on port 8080.
> 
> bye!
> 
> Marc
> 
> Michael Schulz wrote:
> 
> > What are you expecting to see?  There is no separate 
> process or thread for
> > the connector (on the apache box).  On the tomcat side, the 
> connector is
> > just a java process that is listening on a port, normally 
> 8009, for requests
> > from the web server.
> >
> > -Mike Schulz
> >
> > -----Original Message-----
> > From: Marc [mailto:mvila@telemako.com]
> > Sent: Monday, September 23, 2002 6:13 AM
> > To: Tomcat Users List
> > Subject: Re: Cannot setup tomcat
> >
> > After doing stratup.sh, if I do a 'ps -gux', I can see a lot of java
> > process. Seems that tomcat starts, but
> > the connectors does not start.
> >
> > Marc
> >
> > Kwok Peng Tuck wrote:
> >
> > > The problem with the shutdown probably has something to 
> do with the fact
> > > that it didn't start up in the first place. I think we should
> > > concentrate on why it won't start first. After starting 
> up, do a ps to
> > > see if java is listed as a process. Then we'll know if 
> tomcat started up
> > > in the first place.
> > >
> > > Marc Vila PĂ©rez wrote:
> > >
> > > >Hi!!!
> > > >I cannot setup Tomcat 4.1.10, on Redhat 7.2 with Apache 
> 1.3.22 and
> > > >jdk1.4.1. I've followed all the instructions to install 
> it, and seems
> > > >all it's ok, but when I start tomcat:
> > > >bash-2.05$$CATALINA_HOME/bin/startup.sh
> > > >Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.10
> > > >Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.10
> > > >Using JAVA_HOME:     /usr/local/j2sdk1.4.1
> > > >bash-2.05$ (no errors returned)
> > > >
> > > >If I look the catalina.out file, no chars has been 
> written, If I try to
> > > >connect to my server http://myserver:8080, the browser gives the
> > > >standard invalid URL error.
> > > >
> > > >Then if I try to shutdown tomcat...
> > > >bash-2.05$$CATALINA_HOME/bin/shutdown.sh
> > > >Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.10
> > > >Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.10
> > > >Using JAVA_HOME:     /usr/local/j2sdk1.4.1
> > > >
> > > >no error returned, but the command not finalizes... 
> after waiting a long
> > > >time, I must abort the operation (Ctrl + c) and kill the 
> tomcat process
> > > >manually.
> > > >
> > > >Anybody knows what I'm doing wrong? Could it be a OS 
> problem? jdk?
> > > >tomcat?.... I've tried with different tomcat versions 
> (3.3.1 and 4.0.4),
> > > >and continue having the same problem.
> > > >
> > > >
> > > >If  I try to shutdown tomcat with the next sentence:
> > > >
> > > >bash-2.05$sh -x catalina.sh stop > shutdown.txt
> > > >
> > > >I obtain:
> > > >
> > > >+ cygwin=false
> > > >++ uname
> > > >+ PRG=catalina.sh
> > > >+ '[' -h catalina.sh ']'
> > > >++ dirname catalina.sh
> > > >+ PRGDIR=.
> > > >++ cd ./..
> > > >++ pwd
> > > >+ CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.10
> > > >+ '[' -r /usr/local/jakarta-tomcat-4.1.10/bin/setenv.sh ']'
> > > >+ false
> > > >+ '[' -r /usr/local/jakarta-tomcat-4.1.10/bin/setclasspath.sh ']'
> > > >+ BASEDIR=/usr/local/jakarta-tomcat-4.1.10
> > > >+ . /usr/local/jakarta-tomcat-4.1.10/bin/setclasspath.sh
> > > >++ '[' -z /usr/local/j2sdk1.4.1/ ']'
> > > >++ '[' '!' -r /usr/local/j2sdk1.4.1//bin/java -o '!' -r
> > > >/usr/local/j2sdk1.4.1//bin/jdb -o '!' -r
> > > >/usr/local/j2sdk1.4.1//bin/javac ']
> > > >'
> > > >++ '[' -z /usr/local/jakarta-tomcat-4.1.10 ']'
> > > >++ '[' '!' -r 
> /usr/local/jakarta-tomcat-4.1.10/bin/setclasspath.sh ']'
> > > >++
> > >
> > 
> >JAVA_ENDORSED_DIRS=/usr/local/jakarta-tomcat-4.1.10/bin:/usr/
> local/jakarta-
> > tomcat-4.1.10/common/endorsed
> > > >
> > > >++ CLASSPATH=/usr/local/j2sdk1.4.1//lib/tools.jar
> > > >++ JIKESPATH=
> > > >+++ uname -s
> > > >++ '[' Linux = Darwin ']'
> > > >++ _RUNJAVA=/usr/local/j2sdk1.4.1//bin/java
> > > >++ _RUNJDB=/usr/local/j2sdk1.4.1//bin/jdb
> > > >++ _RUNJAVAC=/usr/local/j2sdk1.4.1//bin/javac
> > > >+ '[' -n '' ']'
> > > >+
> > >
> > 
> >CLASSPATH=/usr/local/j2sdk1.4.1//lib/tools.jar:/usr/local/jak
> arta-tomcat-4.
> > 1.10/bin/bootstrap.jar
> > > >
> > > >+ '[' -z '' ']'
> > > >+ CATALINA_BASE=/usr/local/jakarta-tomcat-4.1.10
> > > >+ '[' -z '' ']'
> > > >+ CATALINA_TMPDIR=/usr/local/jakarta-tomcat-4.1.10/temp
> > > >+ false
> > > >+ echo 'Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.1.10'
> > > >Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.1.10
> > > >+ echo 'Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.1.10'
> > > >Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.1.10
> > > >+ echo 'Using CATALINA_TMPDIR: 
> /usr/local/jakarta-tomcat-4.1.10/temp'
> > > >Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.1.10/temp
> > > >+ echo 'Using JAVA_HOME:       /usr/local/j2sdk1.4.1/'
> > > >Using JAVA_HOME:       /usr/local/j2sdk1.4.1/
> > > >+ '[' stop = jpda ']'
> > > >+ '[' stop = debug ']'
> > > >+ '[' stop = embedded ']'
> > > >+ '[' stop = run ']'
> > > >+ '[' stop = start ']'
> > > >+ '[' stop = stop ']'
> > > >+ shift
> > > >+ exec /usr/local/j2sdk1.4.1//bin/java
> > >
> > 
> >-Djava.endorsed.dirs=/usr/local/jakarta-tomcat-4.1.10/bin:/us
> r/local/jakart
> > a-tomcat-4.1.10/co
> > > >
> > > >mmon/endorsed -classpath
> > >
> > 
> >/usr/local/j2sdk1.4.1//lib/tools.jar:/usr/local/jakarta-tomca
> t-4.1.10/bin/b
> > ootstrap.jar
> > > >-Dcatalina.base=/us
> > > >r/local/jakarta-tomcat-4.1.10
> > > >-Dcatalina.home=/usr/local/jakarta-tomcat-4.1.10
> > > >-Djava.io.tmpdir=/usr/local/jakarta-tomcat-4.1.10/tem
> > > >p org.apache.catalina.startup.Bootstrap stop
> > > >Catalina.stop: java.net.ConnectException: Connection timed out
> > > >java.net.ConnectException: Connection timed out
> > > >        at java.net.PlainSocketImpl.socketConnect(Native Method)
> > > >        at 
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
> > > >        at
> > > 
> >java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
> > > >        at 
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
> > > >        at java.net.Socket.connect(Socket.java:426)
> > > >        at java.net.Socket.connect(Socket.java:376)
> > > >        at java.net.Socket.<init>(Socket.java:291)
> > > >        at java.net.Socket.<init>(Socket.java:119)
> > > >        at 
> org.apache.catalina.startup.Catalina.stop(Catalina.java:579)
> > > >        at
> > > >org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
> > > >        at
> > > >org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> > > >        at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >        at
> > >
> > 
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:3
> > 9)
> > > >
> > > >        at
> > >
> > 
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImp
> > l.java:25)
> > > >
> > > >        at java.lang.reflect.Method.invoke(Method.java:324)
> > > >        at
> > > >org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > > >
> > > >Thanxs and bye!
> > > >
> > > >Marc
> > > >
> > > >
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > >For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message