tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: HELP...Tomcat on NT
Date Tue, 18 Feb 2003 11:51:58 GMT

1)  You have to setup a Context in server.xml.  There is already a ROOT
Context by default.  See the docs.

2)  Yes.

3)  If you have Tomcat installed as a service, you cannot use a shutdown
script.  You must control it via the services control panel.

John

-----Original Message-----
From: Chi Long [mailto:chi_long99@hotmail.com] 
Sent: Tuesday, February 18, 2003 4:57 AM
To: tomcat-user@jakarta.apache.org
Subject: HELP...Tomcat on NT







Hello,

Would someone please help me with the following questions/scenarios:

I downloaded Tomcat 4.1.18 and unzipped/installed it on Windows NT.

The installation seems fine....I can see the "Net Start" section.....

I can also go to http://localhost:8080 and see the index page.

I have set up my CATALINA_HOME variable as D:\Tomcat
I also set up my JAVA_HOME variable as C:\jdk2

My question are:

1) I created a small file under %CATALINA_HOME\webapps\Root\test.jsp and try

to run it from
the web browser and that is ok.   However, if I try to move that file to a 
different direction...say
%CATALINA_HOME%\training\test.jsp then that doesn't work. I move the whole 
directory
under %CATALINA_HOME%\webapps and that still doesn't work.   Could you tell 
me
the reason?

2)  How do you we tell if Tomcat is running from NT?  Does it mean if we can

  http://localhost:8080 successfully
then Tomcat is running?

3) I tried to stop Tomcat (because I think it's running since I can run the 
index.jsp file)..by running
%CATALINA_HOME%\bin\shutdown.bat ...but I got a Java exception "Connection 
refused".....
What is wrong??

Thanks for the patience and the answers.

Chi Long



_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message