tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akhthar Parvez. K" <akht...@carmatec.com>
Subject Re: JSP is not working
Date Mon, 06 Dec 2004 18:15:10 GMT
hi All,

I just fixed it. Now the JSP is working:)

The problem was with the </Engine> directive. 

It was above of all the domain's host entries in server.xml. So that Tomcat 
did not recognize those domains. I have moved that entry at the bottom and 
JSP is working fine for all the domains.

Any way thanks to the guys who have tried to help me in this issue.

On Monday 06 December 2004 19:06, 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/balan
>cer.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/manag
>er.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

-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
---------------------
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE

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