tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain Gaeremynck <ga...@interstructure.ca>
Subject Re: JSP is not working
Date Mon, 06 Dec 2004 17:20:41 GMT
by default, tomcat runs it's http server on port 8080.  It sounds as 
thought you haven't configured a connector between apache and tomcat and 
you are expecting tomcat to answer the request made tp apache.  Try 
directing your http request to port 8080 by appending :8080 to the 
domain name part of the url and please take the time t read the 
documentation :)

Akhthar Parvez. K wrote:

>Hi All,
>
>I have installed Tomcat 5.0.28 with apache 1.3.3
>Following are the details of tomcat environments.
>
>Using CATALINA_BASE:   /usr/local/jakarta/jakarta-tomcat-5.0.28/
>Using CATALINA_HOME:   /usr/local/jakarta/jakarta-tomcat-5.0.28/
>Using CATALINA_TMPDIR: /usr/local/jakarta/jakarta-tomcat-5.0.28//temp
>Using JAVA_HOME:       /usr/local/java/j2sdk1.4.2_05/
>
>I have started the tomcat daemon, but JSP pages are not working for all 
>domains eventhough their entries are added in server.xml. I can see the 
>following logs in the server while starting tomcat.
>
>Dec 6, 2004 8:15:36 AM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on http-8080
>Dec 6, 2004 8:15:36 AM org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 1009 ms
>Dec 6, 2004 8:15:36 AM org.apache.catalina.core.StandardService start
>INFO: Starting service Catalina
>Dec 6, 2004 8:15:36 AM org.apache.catalina.core.StandardEngine start
>INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
>Dec 6, 2004 8:15:36 AM org.apache.catalina.core.StandardHost start
>INFO: XML validation disabled
>Dec 6, 2004 8:15:36 AM org.apache.catalina.core.StandardHost getDeployer
>INFO: Create Host deployer for direct deployment ( non-jmx )
>Dec 6, 2004 8:15:36 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Processing Context configuration file URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/conf/Catalina/localhost/admin.xml
>Dec 6, 2004 8:15:37 AM org.apache.struts.util.PropertyMessageResources <init>
>INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
>returnNull=true
>Dec 6, 2004 8:15:37 AM org.apache.struts.util.PropertyMessageResources <init>
>INFO: Initializing, config='org.apache.struts.action.ActionResources', 
>returnNull=true
>Dec 6, 2004 8:15:37 AM org.apache.struts.util.PropertyMessageResources <init>
>INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
>returnNull=true
>Dec 6, 2004 8:15:38 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Processing Context configuration file URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/conf/Catalina/localhost/balancer.xml
>Dec 6, 2004 8:15:38 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Processing Context configuration file URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/conf/Catalina/localhost/manager.xml
>Dec 6, 2004 8:15:38 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Installing web application at context path  from URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/webapps/ROOT
>Dec 6, 2004 8:15:38 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Installing web application at context path /jsp-examples from URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/webapps/jsp-examples
>Dec 6, 2004 8:15:39 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Installing web application at context path /servlets-examples from URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/webapps/servlets-examples
>Dec 6, 2004 8:15:39 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Installing web application at context path /tomcat-docs from URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/webapps/tomcat-docs
>Dec 6, 2004 8:15:39 AM org.apache.catalina.core.StandardHostDeployer install
>INFO: Installing web application at context path /webdav from URL 
>file:/usr/local/jakarta/jakarta-tomcat-5.0.28/webapps/webdav
>Dec 6, 2004 8:15:39 AM org.apache.coyote.http11.Http11Protocol start
>INFO: Starting Coyote HTTP/1.1 on http-8080
>Dec 6, 2004 8:15:39 AM org.apache.jk.common.ChannelSocket init
>INFO: JK2: ajp13 listening on /0.0.0.0:8009
>Dec 6, 2004 8:15:39 AM org.apache.jk.server.JkMain start
>INFO: Jk running ID=0 time=0/25  
>config=/usr/local/jakarta/jakarta-tomcat-5.0.28/conf/jk2.properties
>Dec 6, 2004 8:15:39 AM org.apache.catalina.startup.Catalina start
>INFO: Server startup in 3032 ms
>
>And I can see the ports are listening for tomcat.
>
>netstat -lpn|grep 80
>tcp        0      0 127.0.0.1:8005          0.0.0.0:*               LISTEN      
>25571/java
>tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN      
>25571/java
>tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      
>25571/java
>tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      
>25041/httpd
>
>But when I access jsp pages, I am getting the following error.
>
>HTTP Status 404 - /jsptest.jsp
>
>type Status report
>
>message /jsptest.jsp
>
>description The requested resource (/jsptest.jsp) is not available.
>Apache Tomcat/5.0.28
>
>I am new in tomcat user, can anyone help me out?
>
>Thank you
>
>  
>

-- 
Alain Gaeremynck
CTO Le Groupe Interstructure
(514) 374-1110
(514) 825-7810 cell
weblog: http://www.sanssucre.ca


---------------------------------------------------------------------
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