File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Unable to run Tomcat server[solved] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to run Tomcat server[solved]" Watch "Unable to run Tomcat server[solved]" New topic
Author

Unable to run Tomcat server[solved]

Raghavan Chockalingam
Ranch Hand

Joined: Dec 20, 2005
Posts: 77
I have installed preconfigured Tomcat package 5.5.9 from coreservlets.com and changed the directory name as Tomcat 5.5 under C: drive.

When I try to run the start.bat from install-dir/bin or using bin/catalina run from command prompt I get this long error message. Can any of you tell me how to solve this problem. I forgot to tell you that I have J2SDK 1.4.2 installed on my C: drive. I have also set two environment variables in Windows XP
1. JAVA_HOME c:\j2sdk1.4.2_08
2. TOMCAT_HOME c:\Tomcat 5.5

[ January 05, 2006: Message edited by: Raghavan Chockalingam ]

Raghavan
SCJP 6
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Did you install the "compat" package that is required to run tomcat 5 with SDK 1.4?
As recommended in the coreservlets tutorial here.
Bill
Raghavan Chockalingam
Ranch Hand

Joined: Dec 20, 2005
Posts: 77
Thanks for replying William, I have got a compatibility to be installed with jdk 1.4.2 but it is a zip file and I do not know where to extract it and that has not been mentioned in the tutorial itself.

In the meanwhile, I have installed j2se 1.5.0_09 and I have changed the Java_home system variable and I am now able to run Tomcat server and jsp files execute on it....
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Extract it from the same directory that were in when you extracted Tomcat.
It's got the same directory structure.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Raghavan Chockalingam
Ranch Hand

Joined: Dec 20, 2005
Posts: 77
Thanks ben for replying, this problem has been posted long ago ...since there was no answer for a long time I had to install jdk 1.5.0 then and I am able to run Tomcat now...
kalpana rajendran
Greenhorn

Joined: Jul 22, 2008
Posts: 3
hi ! i will tell you easiest way for solving this problem.. first , start the tomcat by using command prompt ..start->run->cmd-> (type) tomcat5.exe(if you are using tomcat5.5) press enter ,now your tomcat severe will run without showing coyote severe not started note:do not run the tomcat in usualway..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run Tomcat server[solved]