Re: Deploy application as Root

2014-09-14 Thread Kiran Badi
Hi Ognjen, Thanks for information. Let me try this approach. I have another 3 weeks for doing deployment for first piece of second app. Probably I will start another fresh thread for few of my doubts. Thanks and Appreciate your assistance. - Kiran On Fri, Sep 12, 2014 at 3:19 AM, Ognjen Blag

Re: Deploy application as Root

2014-09-14 Thread Kiran Badi
Thanks Sergio, I will give this approach a shot for next deployment. On Fri, Sep 12, 2014 at 2:31 AM, Sergio Fernández wrote: > Hi, > > On 12/09/14 04:22, Kiran Badi wrote: > >> This will be basically myapp2.war ,so how do I manage this deployment so >> that whenever someones gives www.myapp2.co

Re: Deploy application as Root

2014-09-12 Thread Ognjen Blagojevic
Kiran, Question I have is that if I upload war file via manager app, where does it go ? It goes to appBase (e.g. direcotry "webapps") as war file, and if neither unpackWARs at element nor unpackWAR of Context element is set to "false", they are unpacked to the directory of the same name (e

Re: Deploy application as Root

2014-09-11 Thread Sergio Fernández
Hi, On 12/09/14 04:22, Kiran Badi wrote: This will be basically myapp2.war ,so how do I manage this deployment so that whenever someones gives www.myapp2.com, it should open up ? I assume we cannot have 2 root deployment in the same tomcat. Usually you can delegate the VirtualHost resolution

Re: Deploy application as Root

2014-09-11 Thread Kiran Badi
Ok I fixed this issue. Moved the context tag to context.xml and deployed it as ROOT. Works fine now. However I have another application which I will be deploying in the same tomcat. This will be basically myapp2.war ,so how do I manage this deployment so that whenever someones gives www.myapp2.co

Re: Deploy application as Root

2014-09-11 Thread Kiran Badi
Ok I made the changes, and trying. Andre, I tried your approach, it still same error.Making changes to server xml now. Pointing appBase to webapps. Question I have is that if I upload war file via manager app, where does it go ? I can understand that ROOT goes to the ROOT folder if I delete the

Re: Deploy application as Root

2014-09-11 Thread André Warnier
Konstantin Kolinko wrote: 2014-09-11 7:52 GMT+04:00 Kiran Badi : Hi, I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file "ROOT.war" cannot be uploaded if context is defined in server.xml

Re: Deploy application as Root

2014-09-11 Thread Konstantin Kolinko
2014-09-11 7:52 GMT+04:00 Kiran Badi : > Hi, > > I am trying to deploy application as ROOT.war in tomcat 7.50 provided by > hosting service provider, but for some reasons I get below message > > FAIL - War file "ROOT.war" cannot be uploaded if context is defined in > server.xml > > > I have below

Re: Deploy application as Root

2014-09-11 Thread Ognjen Blagojevic
Kiran, On 11.9.2014 5:52, Kiran Badi wrote: I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file "ROOT.war" cannot be uploaded if context is defined in server.xml I have below in server xml

Deploy application as Root

2014-09-10 Thread Kiran Badi
Hi, I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file "ROOT.war" cannot be uploaded if context is defined in server.xml I have below in server xml, Host name="Myapp.com" appBase="path t