tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: set default web application
Date Thu, 13 Jan 2005 02:00:22 GMT
I think I have found the answer. In 5.5 any path elements are ignored and 
the filename/docBase is used instead, UNLESS you specify it in a context 
element placed in the server.xml. So to set the default app for Tomcat you 
will need to do it this way.
As I said I think.

So try adding a context element to your server.xml and restart Tomcat.

Doug

----- Original Message ----- 
From: "xhu1" <xhu1@yahoo.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, January 12, 2005 7:05 PM
Subject: Re: set default web application


>
> Thanks for your reply.
> I turned on the debug and didn't see any error
> log. I still get blank screen when I request
> http://localhost:8081 (I change the port to be
> 8081),
> the following is the log that when request the
> default http://localhost:8081:
>
> DEBUG http-8081-Processor24
> org.apache.commons.modeler.BaseModelMBean -
> preRegister org.apache.coyote.RequestInfo@419d05
>
> Catalina:type=RequestProcessor,worker=http-8081,name=HttpRequest1
>  DEBUG http-8081-Processor24
> org.apache.catalina.connector.MapperListener -
> Handle
>
> Catalina:type=RequestProcessor,worker=http-8081,name=HttpRequest1
>  DEBUG http-8081-Processor24
> org.apache.catalina.connector.MapperListener -
> Handle
>
> Catalina:type=RequestProcessor,worker=http-8081,name=HttpRequest1
>  DEBUG http-8081-Processor24
> org.apache.tomcat.util.threads.ThreadPool - Getting
> new thread data
>
> However, both http://localhost:8081/ROOT1 and
> http://localhost:8081/struts-mailreader works
> perfectly. I checked the applications using manager,
> there are /ROOT1, /struts-mailreader, there is no
> application "/".
>
> I think there should be a step by step faq to do
> this common task.
>
> Thanks again.
>
>> Turn up debugging and check your logs. It should
>> report on startup what is processed. Look for
>> errors.
>
>
>> Move the ROOT folder out of the webapps folder.
>
>
>> After step 3 would step 1 still work?
>
>
>> Doug
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search.
> http://info.mail.yahoo.com/mail_250
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 



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