I have the following:

<configuration>
                    <path>/myapp</path>
                    <contextFile>src/main/test/context.xml</contextFile>
</configuration> 

I have context.xml at that location.

However, I still get 

"Cannot invoke Tomcat manager: FAIL - No context exists for path /myapp"


I am not sure why. 

Thanks.



-----Original Message-----
From: Olivier Lamy [mailto:[email protected]] 
Sent: Friday, August 06, 2010 6:10 PM
To: Maven Users List
Subject: Re: Maven Tomcat Plugin - Context File

Hi,

Try

          <configuration>
            <contextFile>src/test/tomcat/context.xml</contextFile>
          </configuration>

2010/8/7 Neil Chaudhuri <[email protected]>:
> I have a configuration file, call it myapp.xml, that would be found in 
> conf\Catalina\localhost in a conventional deployment to indicate that the 
> context for my application is to be found at /myapp. I don't want to include 
> this file in my war. My question is simply where should I put myapp.xml in my 
> source tree and how I should reference it in the configuration of my plugin.
>
> Thanks.
>
>



-- 
Olivier
http://twitter.com/olamy
http://fr.linkedin.com/in/olamy
http://www.viadeo.com/fr/profile/olivier.lamy7

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to