Verify that tomcat has actually started. To check this, for unix and Linux,
I would just do a "ps -ef|grep tomcat" or whatever the name of that process
is.
This will check to see if the process is running. Or you can grep Java make
sure some java process is running. Another thing you can try is the log
files and see if you have any errors upon startup.
Nael Mohammad
Neomar, Inc.
[EMAIL PROTECTED]
"When Wireless Means Business"
CONFIDENTIALITY NOTICE: This e-mail may contain confidential information
that is legally privileged. Do not read this e-mail if you are not the
intended recipient.
This e-mail transmission, and any documents, files or previous e-mail
messages attached to it may contain confidential information that is legally
privileged. If you are not the intended recipient, or a person responsible
for delivering it to the intended recipient, you are hereby notified that
any disclosure, copying, distribution or use of any of the information
contained in or attached to this transmission is STRICTLY PROHIBITED. If you
have received this transmission in error, please immediately notify us by
reply e-mail or by telephone at (415) 403-7300, and destroy the original
transmission and its attachments without reading or saving in any manner.
Thank you.
-----Original Message-----
From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 1:08 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How can I tell if Tomcat Server is running
I recently installed Tomcat 3.2.2. When I start the server,
it appears to start correctly (no error messages). However,
when I try to execute the example SnoopServlet from the
browser by typing:
http:localhost:8080/examples/servlet/SnoopServlet
I get an error message indicating that the page cannot
be opened. I get the exact same error even if I don't
start the server at all.
Any suggestions on how to see what is actually happening
so that I can solve this problem. How can I tell if the server
is actually running?
----------------------------------------------------------------------------
------
First off http://localhost:8080/
Then http://localhost:8080/examples/
etc...
You can also ping your localhost on port 8080.
If you use 'tomcat run' to start tomcat and it doesn't return to
the dos/shell prompt then you will also know you're still running.
FYI - Please note that one of the rules on this list is all messages
are to be posted in plain text so everyone can read them(no HTML).
Not only does this keep us long time residents happy but it will
get you questions answered much more quickly.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com