aspose file tools*
The moose likes Servlets and the fly likes tomcat setup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat setup" Watch "tomcat setup" New topic
Author

tomcat setup

susie hwang
Greenhorn

Joined: Mar 30, 2001
Posts: 4
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

Joined: Dec 11, 2000
Posts: 60
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

Joined: Mar 30, 2001
Posts: 4
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

Joined: Mar 30, 2001
Posts: 4
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

Joined: Dec 11, 2000
Posts: 60
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

Joined: Mar 30, 2001
Posts: 4
thanks for all your help,mark. i'll check out the documentation and those books.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: tomcat setup