• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Problem?

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I installed Tomcat 5.5 and I used the .exe installer and the port was 8080. When I start Tomcat, I get the following message

The Apache Tomcat Service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts srevice.

Can anyone help me on this??
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I trust a lot this forum. Anyone please breakout and help me! It's urgent
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you starting the tomcat? I mean try to start it through command prompt, it will tell you the exact problem. Have you set the JAVA_HOME environment variable?
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually Ali, this was a long term problem for me. This was the reason why I started using IDE. Now I think that I should shift my focus and get my hands dirty in knowing all this. Can you please tell me how to go about doing it? I have jdk1.5.0_07 installed. How can I set java home on windows 2000 server? How will I set Tomcat home and I also want to use JBoss and How can I do that all?? Your help will be really appreciated. Thanks in advance.
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Goto properties of my computer then Advanced Tab and click the Environment Variables button. Now a window will open up, now click on New button in first section and give name as "JAVA_HOME" and value as path for your JDK (e.g. c:\jdk1.5.0)

For tomcat you can also define CATALINA_HOME variable and provide it the path of your tomcat root directory.

You can also set JBOSS_HOME for jboss with path to jboss root directory.
 
muthu moorthy
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HF Authors says we should not use IDE while preparing for SCWCD. there are too many things to get to know.

You can check the following article is useful.

Installing and Configuring Tomcat
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic