• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Tomcat: Starting It Up

 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great, victor
 
Squanch that. And squanch this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic