aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tomcat: Starting It Up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tomcat: Starting It Up" Watch "Tomcat: Starting It Up" New topic
Author

Tomcat: Starting It Up

victor kamat
Ranch Hand

Joined: Jan 10, 2007
Posts: 247
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

Joined: Feb 05, 2003
Posts: 4727

Try dir *.bat in the bin directory to see which files are there.


A good workman is known by his tools.
victor kamat
Ranch Hand

Joined: Jan 10, 2007
Posts: 247
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

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.


[My Blog]
All roads lead to JavaRanch
Javier Sanchez Cerrillo
Ranch Hand

Joined: Aug 02, 2006
Posts: 152
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 .


SCJP 5.0 95%<br /> <br />The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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

Joined: Jan 10, 2007
Posts: 247
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

Joined: Jan 10, 2007
Posts: 247
Thanks guys -

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

Victor
Javier Sanchez Cerrillo
Ranch Hand

Joined: Aug 02, 2006
Posts: 152
Great, victor
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat: Starting It Up