Re: Why deleting of context.xml is NOT optional ? (after deploying the app)

2011-05-06 Thread joe.k
Chris, thank you for your answer. Best regards, Joe __ > Od: "Christopher Schultz" > Komu: Tomcat Users List > Datum: 06.05.2011 16:05 > Předmět: Re: Why deleting of context.xml is NOT optional ? (after deploying > the app) > >

Re: Why deleting of context.xml is NOT optional ? (after deploying the app)

2011-05-06 Thread joe.k
Hi Mark, hmm, "definitely" you are right that the files are deleted on "undeploy" not "deploy" but don't you think it doesn't matter from the user's point of view ? We are talking about autodeploying the webapp ! So you say that's definitely fixed for Tomcat 7, but still not fixed in Tomcat 6,

Why deleting of context.xml is NOT optional ? (after deploying the app)

2011-05-06 Thread joe.k
Hi there, all we know that once the application is autodeployed, Tomcat automatically deletes the context xml files related with this webapp. it was written a lot of about this issue already and actually Tomcat developers say that it's by design, so it is NOT a bug. I would strongly disagree h

RE: Tomcat doesn't support autodeploy webapp with context ??

2011-03-23 Thread joe.k
Hi Chuk, from another posts here, it was written that when the webapp is autodeployed Tomcat automatically deletes it's context file (it's a feature), but I see it as the bug, not a feature. You are right that I should give more information, so here they are. the host defined in the server.xml

Tomcat doesn't support autodeploy webapp with context ??

2011-03-23 Thread joe.k
Hi everybody, I have a feeling that it's impossible to run autodeploy-able webapp with specific context. The issue is that the context file is DELETED while the webapp is autodeployed. Actually this is what I don't understand AT ALL !! Why the context file is deleted ?? Please, is anyone aware

RE: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-11 Thread joe.k
I have similar experience, Tomcat 6.0.30 is deleting my ROOT.xml inside conf directory. As Mark said here, it's because of the autoDeploy, BUT WHY it is like that ? I have 2 constraints: 1. ROOT.xml is important, it contains the Context for the webapp (and it cannot be inside war !!) 2. I need a

Re: Why Tomcat is trying to delete my ROOT.xml ?

2011-03-07 Thread joe.k
Hi Chris, - Apache Tomcat Version 6.0.32 - Java 1.6 - Linux version 2.6.32-bpo.5-amd64 (Debian 2.6.32-30~bpo50+1) Thanks. JoeK >Joe, > >On 3/5/2011 6:53 AM, jo...@centrum.cz wrote: >> I have strange problem with autodeploying application residing in the war >> file. I have the ROOT.xml f

Why Tomcat is trying to delete my ROOT.xml ?

2011-03-05 Thread joe.k
Hi everybody, I have strange problem with autodeploying application residing in the war file. I have the ROOT.xml file in the CATALINA_HOME/conf/Catalina/my.domain.com/ directory, in order to define my Context for webapp. However, when I upload the new war file into webapp dir, I get this GRAV

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
Hi Charles, thank you for your reply. Based on your answer I tried to remove docBase attribute in ROOT.xml and it started to work ! :-) The thing why it didn't come to my mind before is the fact that I thought docBase attribute was mandatory attribute, as long as it's marked bold in Tomcat'

How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
Hi everybody, I would like to have this setup in Tomcat: 1. virtual host 2. webapp resides directly in ROOT and is autoDeployed 3. I need to pass some specific webapp parameter in Tomcat configuration (outside war) 1st I have this scenario: and ROOT.war in directory $CATALINA_BASE/vhosts/my