Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat: Starting It Up

 
victor kamat
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed Tomcat 5.5 on my machine. I have Windows XP.
On initial installation it started up fine.
I shut it down using the Task Manager.

I tried starting it up by going to Tomcat 5.5/bin
and typing in "startup'. But startup does not exist there.
I set JAVA_HOME as specified in the setup docs.

Can somebody please help on this.
Thanks
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try dir *.bat in the bin directory to see which files are there.
 
victor kamat
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are no *.bat files in the bin directory.

But there are 2 exe files: tomcat5.exe and tomcat5w.exe.

Do I execute one of these files & and how would I do that ?
Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I shut it down using the Task Manager.

That's a little violent

If you've installed it on Windows, you should have a link in the "Programs" menu, with Apache Tomcat 5.5.
You can start/stop Tomcat via the "Monitor Tomcat" which is in that menu.
 
Javier Sanchez Cerrillo
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi victor, I remember you from the SCJP forum.

You should better install it as a service which integrates with Microsoft Windows, you simply can stop it using it's System Tray logo.

I'm actually using Sun Java System Application Server 9 which also supports EJB and seems more powerful. However it uses more system resources .
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun Java System Application Server 9 which also supports EJB and seems more powerful.

For somebody studying SCWCD, who needs EJB and who needs power ?
Server 9 supports J2EE5.0, whereas SCWCD is for J2EE1.4.
Better stick to J2EE1.4 containers like Tomcat. Simple and enough.
But it may be a matter of taste

As you said, I would also install Tomcat as a Windows Service.
 
victor kamat
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Javier -

I remember you too. Congrats on the 95%.
You say I should install Tomcat as a Windows Service.
How would I do that.
Thanks

Satou -

When I start Tomcat via the "Monitor Tomcat", Tomcat starts because I can see the process via the Task Manager.
But when I point my browser to http://localhost:8080 it doesn't work ??
So what do I do ?

Thanks

Victor
 
victor kamat
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys -

I finally figured how to start Tomcat as a Windows Service.

Victor
 
Javier Sanchez Cerrillo
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great, victor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic