tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Schumacher" <felix.schumac...@internetallee.de>
Subject Re: how to set context path on TOMCAT6
Date Thu, 21 Aug 2008 08:19:28 GMT
On Thu, August 21, 2008 9:04 am, Sushil Dodake wrote:
>  hi all,
> I am using TOMCAT 6.
> i have a application war file named as 'aaa.0.0.1d.war'
> i need to set a context path for this application as
> '/reporting-application'
> so for this to work i am creating a xml file 'reporting-application.xml'
> and
> deploying it in the conf/Catalina/locahost/ direcotry.
> the XML file content looks as below
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Context fragment for deploying the build-demo application
>
> -->
> <Context path="/reporting-application" docBase="..\webapps\aaa.0.0.1d.war"
> />
1. The documentation you mentioned states that you must not define path
unless the context is defined in server.xml.
2. your docBase attribute has backslashes instead of normal slashes.
3. Wouldn't it be easier to simply deploy your war as reporting-application?

Bye
 Felix
>
> i followed the instructions given on the link
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
> but i am seem to be missing somthing as i cant run my application using a
> URL
>



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message