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

tomcat setup

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for all your help,mark. i'll check out the documentation and those books.
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic