You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Xiongfei Wang <wa...@arches.uga.edu> on 2003/02/10 15:41:17 UTC
[users@httpd] what is wrong with that
I have redhat 7.3 linx, i downloaded
tomcat3-3.3a-2.noarch.rpm
tomcat3-webapps-3.3a-2.noarch.rpm
tomcat3-javadoc-3.3a-2.noarch.rpm
and install them accoding to the instruction.
but when i tried to use "/usr/bin/tomcat3 run" to run tomcat
I got following error msg:
---------------------------------------------------------------------
[root@lychee root]# /usr/bin/tomcat3 run
su: warning: cannot change directory to /var/tomcat: No such file or
directory
Using classpath: /var/tomcat3/lib/tomcat.jar
Using JAVA_HOME: /usr/java/j2sdk1.4.1_01
Using TOMCAT_HOME: /etc/tomcat3
2003-02-10 04:27:25 - SessionIdGenerator: Opening /dev/urandom
2003-02-10 04:27:25 - ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml
2003-02-10 04:27:25 - PathSetter: install=/var/tomcat3
2003-02-10 04:27:25 - PathSetter: home=/etc/tomcat3
2003-02-10 04:27:25 - ContextXmlReader: Context
config=$TOMCAT_HOME/conf/apps-127.0.0.1.xml
2003-02-10 04:27:25 - ContextXmlReader: Context
config=$TOMCAT_HOME/conf/apps-admin.xml
2003-02-10 04:27:25 - ContextXmlReader: Context
config=$TOMCAT_HOME/conf/apps-examples.xml
2003-02-10 04:27:25 - AutoWebApp: Loaded from config: DEFAULT:/examples
2003-02-10 04:27:25 - AutoWebApp: Auto-Adding DEFAULT:/
2003-02-10 04:27:25 - AutoWebApp: Loaded from config: DEFAULT:/admin
2003-02-10 04:27:25 - ContextManager: Tomcat configured and in stable
state
2003-02-10 04:27:25 - ContextManager: Adding DEFAULT:/admin
2003-02-10 04:27:25 - ContextManager: Adding DEFAULT:/examples
2003-02-10 04:27:25 - ContextManager: Adding DEFAULT:/ROOT
EmbededTomcat: Init time 1483
Guessed home=/var/tomcat3
java.lang.reflect.InvocationTargetException
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.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java)
at org.apache.tomcat.startup.Main.execute(Main.java)
at org.apache.tomcat.startup.Main.main(Main.java)
Caused by: org.apache.tomcat.core.TomcatException: Root cause - Address
already in use
at
org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(PoolTcpConnector.java)
at
org.apache.tomcat.core.ContextManager.start(ContextManager.java)
at
org.apache.tomcat.startup.EmbededTomcat.start(EmbededTomcat.java)
at
org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java)
at
org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java)
at
org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java)
at
org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java)
... 7 more
--------------------------------------------------------------------------
How can i fix the problem, Thanks in advance.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] what is wrong with that
Posted by ge...@ameritech.net.
Wang,
Sorry for the problems you're having. What kind of hardware are you
trying to install this on?
Please do "ls -l /usr/bin/tomcat3" and send us the output. Or you may
yourself determine the user who owns this file and, after su'ing to that
user, do "mkdir /var/tomcat". That would remove one problem at least.
Perhaps it will work then.
Also, netiquette recommends using a more descriptive "Subject" header.
Thank you.
hth,
ken
Xiongfei Wang at 09:41 (UTC-0500) on Mon, 10 Feb 2003 said:
=
= I have redhat 7.3 linx, i downloaded
= tomcat3-3.3a-2.noarch.rpm
= tomcat3-webapps-3.3a-2.noarch.rpm
= tomcat3-javadoc-3.3a-2.noarch.rpm
=
= and install them accoding to the instruction.
= but when i tried to use "/usr/bin/tomcat3 run" to run tomcat
= I got following error msg:
=
= ---------------------------------------------------------------------
= [root@lychee root]# /usr/bin/tomcat3 run
= su: warning: cannot change directory to /var/tomcat: No such file or
= directory
= Using classpath: /var/tomcat3/lib/tomcat.jar
= Using JAVA_HOME: /usr/java/j2sdk1.4.1_01
= Using TOMCAT_HOME: /etc/tomcat3
= 2003-02-10 04:27:25 - SessionIdGenerator: Opening /dev/urandom
= 2003-02-10 04:27:25 - ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml
= 2003-02-10 04:27:25 - PathSetter: install=/var/tomcat3
= 2003-02-10 04:27:25 - PathSetter: home=/etc/tomcat3
= 2003-02-10 04:27:25 - ContextXmlReader: Context
= config=$TOMCAT_HOME/conf/apps-127.0.0.1.xml
= 2003-02-10 04:27:25 - ContextXmlReader: Context
= config=$TOMCAT_HOME/conf/apps-admin.xml
= 2003-02-10 04:27:25 - ContextXmlReader: Context
= config=$TOMCAT_HOME/conf/apps-examples.xml
= 2003-02-10 04:27:25 - AutoWebApp: Loaded from config: DEFAULT:/examples
= 2003-02-10 04:27:25 - AutoWebApp: Auto-Adding DEFAULT:/
= 2003-02-10 04:27:25 - AutoWebApp: Loaded from config: DEFAULT:/admin
= 2003-02-10 04:27:25 - ContextManager: Tomcat configured and in stable
= state
= 2003-02-10 04:27:25 - ContextManager: Adding DEFAULT:/admin
= 2003-02-10 04:27:25 - ContextManager: Adding DEFAULT:/examples
= 2003-02-10 04:27:25 - ContextManager: Adding DEFAULT:/ROOT
= EmbededTomcat: Init time 1483
= Guessed home=/var/tomcat3
= java.lang.reflect.InvocationTargetException
= 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.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java)
= at org.apache.tomcat.startup.Main.execute(Main.java)
= at org.apache.tomcat.startup.Main.main(Main.java)
= Caused by: org.apache.tomcat.core.TomcatException: Root cause - Address
= already in use
= at
= org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(PoolTcpConnector.java)
= at
= org.apache.tomcat.core.ContextManager.start(ContextManager.java)
= at
= org.apache.tomcat.startup.EmbededTomcat.start(EmbededTomcat.java)
= at
= org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java)
= at
= org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java)
= at
= org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java)
= at java.security.AccessController.doPrivileged(Native Method)
= at
= org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java)
= at
= org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java)
= ... 7 more
=
= --------------------------------------------------------------------------
=
= How can i fix the problem, Thanks in advance.
=
=
=
=
=
= ---------------------------------------------------------------------
= The official User-To-User support forum of the Apache HTTP Server Project.
= See <URL:http://httpd.apache.org/userslist.html> for more info.
= To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
= " from the digest: users-digest-unsubscribe@httpd.apache.org
= For additional commands, e-mail: users-help@httpd.apache.org
=
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org