aspose file tools*
The moose likes Tomcat and the fly likes TOMCAT 4 Installation in RedHat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT 4 Installation in RedHat" Watch "TOMCAT 4 Installation in RedHat" New topic
Author

TOMCAT 4 Installation in RedHat

Rob Jon
Greenhorn

Joined: May 22, 2008
Posts: 12
I am getting following error when starting tomcat using startup.sh. All the environment variables are set as JAVA_HOME, CATALINA_HOME, PATH pointing to jdk1.5/bin. This is installed on Red Hat Enterprise Linux Server release 5.3. Please help me on this issue. Thanks for your help in advance.

INFO: Initializing Coyote HTTP/1.1 on http-8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Catalina.start: LifecycleException: Context startup failed due to previous errors
LifecycleException: Context startup failed due to previous errors
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3578)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
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:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException: Coyote connector has not been started
LifecycleException: Coyote connector has not been started
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1296)
at org.apache.catalina.core.StandardService.stop(StandardService.java:499)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2178)
at org.apache.catalina.startup.Catalina.start(Catalina.java:494)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
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:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75

why would you try to install tomcat 4? it's like 10 years old piece of software, very slow, non optimised, bad memory optimisation and management, full of bugs and forgotten since ages.
Rob Jon
Greenhorn

Joined: May 22, 2008
Posts: 12
Thanks K.Gil, I agree, problem is we are currently moving to different data center. Keeping same configuration as we have currently in PROD.
K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75

in this case, probably it's worth to increase log level
http://tomcat.apache.org/tomcat-4.0-doc/config/logger.html

because the log you posted doesn't really tells anything.
It's just information that application wasn't deployed due to some errors.
Is that fresh tomcat 4 installation or you tar/untar whole tomcat dir from your prod system?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

You should seriously consider upgrading while you migrate. Tomcat4 isn't merely unsupported, it's architecturally different from later Tomcats. Java 5 is also past End-of-Life and no longer supported. In fact, Java 6 is scheduled to receive its last update next month.

Then again, RHEL just released v 5.9, I believe, but that's of lesser importance.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TOMCAT 4 Installation in RedHat