• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

New to Tomcat

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have installed Tomcat on my computer recently and I haven't figured out how to work with it yet. Would anyone be able to tell me where I could find a straightfoward tutorial for non programmers? Many thanks!

Saulo
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's a popular page describing how to make sure Tomcat is set up and working properly:
http://www.moreservlets.com/Using-Tomcat-4.html

As for tutorials, I think the examples web-app that is included in Tomcat is quite good. Take your time to go through all the servlets and jsps on this example application and you'll have a good start.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi mike,
I went through the link u gave here and tried to set up my Tomcat. But my startup.bat file doesnt open the command window..it just blinks and goes off. what could be wrong?
I didnt set the CATALINA_HOME variable as its an optional one.
I am using Tomcat4.0.6 and jdk1.4.1_01 version on WinXP professional
Thanks.
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try to open Command Window first, then go to bin directory of the Tomcat, then type startup there.
Maybe it was the PATH, just maybe.
Hope that helps.
 
N Val
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Zulfikar,
Thanks for the reply. I did what u said. It still behaves the same. Any other help?
Thanks.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thats one of the unfortunate characteristics of the way the default Tomcat startup runs - in the event of a fatal error, boom!
What I do when having trouble with Tomcat startup is to change the next to the last line in the startup.bat so that instead of
call "%EXECUTABLE%" start %CMD_LINE_ARGS%
you change start to run
This will run the Catalina batch file in the same command window - start makes it start a separate window which then dies.
You do have to be in a command window in the /bin directory and enter startup - that window will stay open no matter what.
If you still can't figure out what is going wrong, rem out the @echo off line at the first of the catalina.bat file
Bill
reply
    Bookmark Topic Watch Topic
  • New Topic