Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat setup

 
susie hwang
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!
 
Mark Leong
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic