tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc <mv...@telemako.com>
Subject Re: Cannot setup tomcat
Date Mon, 23 Sep 2002 11:13:06 GMT
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/jakarta-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:/usr/local/jakarta-tomcat-4.1.10/co
> >
> >mmon/endorsed -classpath
> >/usr/local/j2sdk1.4.1//lib/tools.jar:/usr/local/jakarta-tomcat-4.1.10/bin/bootstrap.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(NativeMethodAccessorImpl.java:39)
> >
> >        at
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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>


Mime
View raw message