You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by wa...@vertis.nl on 2007/08/29 15:54:31 UTC
FW:
We installed tomcat 5.5.23 on RHEL 5 (Redhat Enterprise Linux) via
`yum install tomcat5`
The installation completes and when we start tomcat there is no response at http://ourmachine:8080
The /var/log/tomcat/Catalina.out shows:
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME: /usr/lib/jvm/java
Created MBeanServer with ID: -rtigu3:f5xvmscd.0:ourmachine:1
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina not found in org.apache.catalina.loader.StandardClassLoader{urls=[file:/var/lib/tomcat5/server/classes/,file:/usr/share/eclipse/plugins/org.eclipse.jdt.core_3.2.1.v_677_R32x.jar], parent=org.apache.catalina.loader.StandardClassLoader{urls=[file:/var/lib/tomcat5/common/classes/,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-fr.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-es.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-en.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-ja.jar,file:/usr/share/java/xml-commons-apis-1.3.02.jar,file:/usr/share/java/xerces-j2-2.7.1.jar,file:/usr/share/java/tomcat5/naming-resources-5.5.23.jar,file:/usr/share/java/tomcat5/naming-factory-5.5.23.jar,file:/usr/share/eclipse/plugins/org.eclipse.jdt.core_3.2.1.v_677_R32x.jar,file:/usr/share/java/ant-1.6.5.jar,file:/usr/share/java/jakarta-commons-collections-3.1.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/mx4j/mx4j-impl.jar,file:/usr/share/java/mx4j/mx4j-jmx.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at org.apache.catalina.startup.Bootstrap.init(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
We added the JRE_HOME to /etc/tomcat5/tomcat5.conf and also uncommented the connector port line.
Some addional info:
# rpm -qa | grep tomcat
tomcat5-common-lib-5.5.23-0jpp.1.0.4.el5
tomcat5-servlet-2.4-api-5.5.23-0jpp.1.0.4.el5
tomcat5-jsp-2.0-api-5.5.23-0jpp.1.0.4.el5
tomcat5-5.5.23-0jpp.1.0.4.el5
tomcat5-jasper-5.5.23-0jpp.1.0.4.el5
# rpm -qa | grep java
libgconf-java-2.12.4-6.el5
glib-java-0.2.6-3.fc6
cairo-java-1.0.5-3.fc6
libgtk-java-2.8.7-3.el5
java-1.4.2-gcj-compat-1.4.2.0-40jpp.112
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112
gcc-java-4.1.1-52.el5.2
We are new to TomCat, read a lot in the FAQ, WIKI and goolge but are somehow unable to solve our problem. Any ideas?
Regards,
Gerjan Walrecht
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: FW:
Posted by David Smith <dn...@cornell.edu>.
You need a better JVM. The GNU version isn't up to the task. I highly
recommend the Sun JVM.
--David
walrechtg@vertis.nl wrote:
>We installed tomcat 5.5.23 on RHEL 5 (Redhat Enterprise Linux) via
>`yum install tomcat5`
>
>The installation completes and when we start tomcat there is no response at http://ourmachine:8080
>The /var/log/tomcat/Catalina.out shows:
>
>Using CATALINA_BASE: /usr/share/tomcat5
>Using CATALINA_HOME: /usr/share/tomcat5
>Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
>Using JRE_HOME: /usr/lib/jvm/java
>Created MBeanServer with ID: -rtigu3:f5xvmscd.0:ourmachine:1
>java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina not found in org.apache.catalina.loader.StandardClassLoader{urls=[file:/var/lib/tomcat5/server/classes/,file:/usr/share/eclipse/plugins/org.eclipse.jdt.core_3.2.1.v_677_R32x.jar], parent=org.apache.catalina.loader.StandardClassLoader{urls=[file:/var/lib/tomcat5/common/classes/,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-fr.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-es.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-en.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-ja.jar,file:/usr/share/java/xml-commons-apis-1.3.02.jar,file:/usr/share/java/xerces-j2-2.7.1.jar,file:/usr/share/java/tomcat5/naming-resources-5.5.23.jar,file:/usr/share/java/tomcat5/naming-factory-5.5.23.jar,file:/usr/share/eclipse/plugins/org.eclipse.jdt.core_3.2.1.v_677_R32x.jar,file:/usr/share/java/ant-1.6.5.jar,file:/usr/share/java/jakarta-commons-collections-3.1.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/mx4j/mx4j-impl.jar,file:/usr/share/java/mx4j/mx4j-jmx.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}}
> at java.net.URLClassLoader.findClass(libgcj.so.7rh)
> at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> at org.apache.catalina.startup.Bootstrap.init(bootstrap.jar.so)
> at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
>
>We added the JRE_HOME to /etc/tomcat5/tomcat5.conf and also uncommented the connector port line.
>
>Some addional info:
># rpm -qa | grep tomcat
>tomcat5-common-lib-5.5.23-0jpp.1.0.4.el5
>tomcat5-servlet-2.4-api-5.5.23-0jpp.1.0.4.el5
>tomcat5-jsp-2.0-api-5.5.23-0jpp.1.0.4.el5
>tomcat5-5.5.23-0jpp.1.0.4.el5
>tomcat5-jasper-5.5.23-0jpp.1.0.4.el5
>
># rpm -qa | grep java
>libgconf-java-2.12.4-6.el5
>glib-java-0.2.6-3.fc6
>cairo-java-1.0.5-3.fc6
>libgtk-java-2.8.7-3.el5
>java-1.4.2-gcj-compat-1.4.2.0-40jpp.112
>java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112
>gcc-java-4.1.1-52.el5.2
>
>
>We are new to TomCat, read a lot in the FAQ, WIKI and goolge but are somehow unable to solve our problem. Any ideas?
>
>Regards,
>Gerjan Walrecht
>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re:
Posted by Hassan Schroeder <ha...@gmail.com>.
On 8/29/07, Dario Hernan <sl...@gmail.com> wrote:
> but, when you support a lot of servers in different clients, and in
> different cities?
Yes, as a matter of fact, that *is* what I do.
And you seem to be overlooking the fact that the "packaged" stuff
*simply doesn't work* -- so it's not much of an option :-)
YMMV,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re:
Posted by Dario Hernan <sl...@gmail.com>.
but, when you support a lot of servers in different clients, and in
different cities?
On 8/29/07, Hassan Schroeder <ha...@gmail.com> wrote:
> On 8/29/07, Dario Hernan <sl...@gmail.com> wrote:
> > it's true! but if you client pay for a license and support, you cann't
> > do so much!
>
> I'm not sure what you mean by that. I have one RH ES server running
> production that has auto-update -- but that only does basic system
> stuff that I don't care particularly about messing with.
>
> Anything that directly involves the web apps -- JDK, Tomcat, MySQL,
> and so on -- gets installed and updated by me.
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re:
Posted by Hassan Schroeder <ha...@gmail.com>.
On 8/29/07, Dario Hernan <sl...@gmail.com> wrote:
> it's true! but if you client pay for a license and support, you cann't
> do so much!
I'm not sure what you mean by that. I have one RH ES server running
production that has auto-update -- but that only does basic system
stuff that I don't care particularly about messing with.
Anything that directly involves the web apps -- JDK, Tomcat, MySQL,
and so on -- gets installed and updated by me.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re:
Posted by Dario Hernan <sl...@gmail.com>.
it's true! but if you client pay for a license and support, you cann't
do so much!
On 8/29/07, Hassan Schroeder <ha...@gmail.com> wrote:
> On 8/29/07, Dario Hernan <sl...@gmail.com> wrote:
> > it's highly recommended to use a real tomcat, but if you use a package
> > out of distribution you lost the updates and the support of redhat.
>
> "updates"? -- how tough is it to download and untar a new version?
> You still have to test with your apps before going live.
>
> And if keeping RedHat support is critical -- well, why didn't they solve
> the OP's problem to start with? :-)
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re:
Posted by Hassan Schroeder <ha...@gmail.com>.
On 8/29/07, Dario Hernan <sl...@gmail.com> wrote:
> it's highly recommended to use a real tomcat, but if you use a package
> out of distribution you lost the updates and the support of redhat.
"updates"? -- how tough is it to download and untar a new version?
You still have to test with your apps before going live.
And if keeping RedHat support is critical -- well, why didn't they solve
the OP's problem to start with? :-)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re:
Posted by Dario Hernan <sl...@gmail.com>.
it's highly recommended to use a real tomcat, but if you use a package
out of distribution you lost the updates and the support of redhat.
On 8/29/07, Caldarale, Charles R <Ch...@unisys.com> wrote:
> > From: Dario Hernan [mailto:slacker.ar@gmail.com]
> > Subject: Re:
> >
> > you need to install some others packages, use yum search tomcat5 and
> > install tomcat5-webapps, tomcat5-manager, etc.
>
> I'd strongly recommend against that. Use a real Tomcat.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE:
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Dario Hernan [mailto:slacker.ar@gmail.com]
> Subject: Re:
>
> you need to install some others packages, use yum search tomcat5 and
> install tomcat5-webapps, tomcat5-manager, etc.
I'd strongly recommend against that. Use a real Tomcat.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re:
Posted by Dario Hernan <sl...@gmail.com>.
you need to install some others packages, use yum search tomcat5 and
install tomcat5-webapps, tomcat5-manager, etc.
Dario
On 8/29/07, Caldarale, Charles R <Ch...@unisys.com> wrote:
> > From: walrechtg@vertis.nl [mailto:walrechtg@vertis.nl]
> > Subject: FW:
> >
> > We installed tomcat 5.5.23 on RHEL 5 (Redhat Enterprise Linux) via
> > `yum install tomcat5`
>
> Throw that away and install a real Tomcat download from
> http://tomcat.apache.org/download-55.cgi
> or
> http://tomcat.apache.org/download-60.cgi
>
> The 3rd-party repackaged Tomcats are notoriously troublesome.
>
> You will also need a real JVM (preferably a 1.5 or 6 version), not the
> GNU one, which will not run Tomcat.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE:
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: walrechtg@vertis.nl [mailto:walrechtg@vertis.nl]
> Subject: FW:
>
> We installed tomcat 5.5.23 on RHEL 5 (Redhat Enterprise Linux) via
> `yum install tomcat5`
Throw that away and install a real Tomcat download from
http://tomcat.apache.org/download-55.cgi
or
http://tomcat.apache.org/download-60.cgi
The 3rd-party repackaged Tomcats are notoriously troublesome.
You will also need a real JVM (preferably a 1.5 or 6 version), not the
GNU one, which will not run Tomcat.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org