This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

tomcat setup

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after reading other people's suggestions, i am still having problems setting up tomcat. when i type in "startup" at the c:\tomcat\bin prompt this is what i get:
2001-03-30 03:34:09 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2001-03-30 03:34:10 - ContextManager: Adding context Ctx( /admin )
2001-03-30 03:34:10 - ContextManager: Adding context Ctx( )
2001-03-30 03:34:10 - ContextManager: Adding context Ctx( /test )
2001-03-30 03:34:10 - ContextManager: Adding context Ctx( /classes )
2001-03-30 03:34:10 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2001-03-30 03:34:10 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
and then it stops.
i am running on win98 and this is what my autoexec.bat file looks like:
@echo off
path C:\WINDOWS;C:\WINDOWS\COMMAND;C:\java\bin;c:\winzip;c:\tomcat\bin
set CLASSPATH=.;C:\java\lib\tools.jar;c:\tomcat\lib\servlet.jar
set TOMCAT_HOME=c:\tomcat
set JAVA_HOME=c:\java
c:\PROGRA~1\COMMON~1\NETWOR~1\VIRUSS~1\40~1.XX\scan.exe c:\
@IF ERRORLEVEL 1 PAUSE
please help!
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your Tomcat is already running.
Start your browser and type http://127.0.0.1:8080. You should be able to see the Tomcat webpage.
 
susie hwang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i type in that address, i get page cannot be displayed.
also, after i type tomcat start and the other dos window opens with all those messages, i have to close the window manually, i cannot type anything in that window.
 
susie hwang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, i got that site to pull up, but i don't know what that means. how do i run my jsp's and servlets?
 
Mark Leong
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad to know that your servlet engine is running.
To see how to use the engine, go through the Tomcat documentation.
If you are new to JSP and servlet (actually I've only done servlet), I recommend books by Martyn Hall and Mark Wutka. There is another book by Hunter and I am waiting for the latest release.
 
susie hwang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for all your help,mark. i'll check out the documentation and those books.
 
What's a year in metric? Do you know this metric stuff tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!