To begin with make sure apache is installed correctly.
 
if you still want to serve page from apache root(htdocs) you need to specify port 80 or none,i.e http://127.0.0.1:80/index.jsp or
 
if you want to server page from tomcat root you have to specify port 8080
 
When you run the shutdown script make sure apache is still running
 
Heres an example classpath.
 
c:\tomcat;c:\tomcat\lib\ant.jar;c:\tomcat\lib\crimson.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\jaxp.jar;c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;c:\jdk1.3\lib\tools.jar;
 
Make sure you have tomcat's home enviroment var set up
 
----- Original Message -----
Sent: Thursday, April 18, 2002 12:04 AM

Hello All,
 
I am using port:8007 as I am getting an error with 8080. My apache server is located in c:\program files\apache groups\apache.
I am not getting an error while starting the tomcat it is starting ok. but before I was able to see the status in a different window but now(after the installation of Apache Web Server) the different window opens and disappears almost immediately and I get a message in the command window: Starting Tomcat in new window. (Which is invisible)
This happens when I am doing nothing with Apache I have not started Apache or anything. When I use the Shutdown in tomcat/bin directory I am getting the following error:
 
Stopping Tomcat on :8007 null
Error stopping tomcat with Ajp12 on hp-pavilion:192.168.1.2:8007 java.net.ConnectException: Connect: Connection refused:connect.
 
I am trying all these on the same machine on Win'98 O.S.
Please let me know if there are any settings other than the path, classpath changes.
 
Please reply if there are any mistakes or any other chamges are to be made.
Thanks,
 
Aruna
 
----- Original Message -----
Sent: Wednesday, April 17, 2002 3:27 PM

Hello All,
 
I am a new person to JSP and Servlet implementation. Hence I need all the help that I can get.
I have downloaded Apache webserver and tomcat and I am trying to run the servlets and JSP's none of them seem to be running.
I am getting an error while shutting down the tomcat
Error stopping Tomcat with Ajp12 on hp-pavilion/192.168.1.3 java.net.ConnectException:Connectionrefused:connect.
 
I have never run into this error before I installed Apache. The servelets were running fine but after the installation of Apache neither of them work.
 
VERSIONS
Tomcat - 3.3.1
Apache -1.3.24-win32-x86-no_src.
 
PLEASE HELP!!!
Thanks !!
Aruna

Reply via email to