Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-05 Thread Arseny
05.06.2014 3:28, Christopher Schultz пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am I missed something? Tomcat keep it in some cache? This is why nobody should define Context elements in server.xml: they always mess them up. In addition to what Konstantin has said, note that Tomcat

Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 6/5/14, 2:25 AM, Arseny wrote: 05.06.2014 3:28, Christopher Schultz пишет: Am I missed something? Tomcat keep it in some cache? This is why nobody should define Context elements in server.xml: they always mess them up. In addition

Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-05 Thread Arseny
05.06.2014 18:20, Christopher Schultz пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 The file should be called ROOT.xml and should not have a path attribute *at all*. Please read the configuration guide: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html - -chris -BEGIN

Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 6/5/14, 12:21 PM, Arseny wrote: 05.06.2014 18:20, Christopher Schultz пишет: The file should be called ROOT.xml and should not have a path attribute *at all*. Please read the configuration guide:

Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-05 Thread Arseny
05.06.2014 22:09, Christopher Schultz пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 6/5/14, 12:21 PM, Arseny wrote: The Tomcat documentation clearly states that you can (and should!) do that, too. I guess having someone else do your homework for you is easier than reading

Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-05 Thread André Warnier
Arseny wrote: ... Thanks again, Chris, for your very helpful message. I never heard earlier about documentation and never visited http://tomcat.apache.org/tomcat-7.0-doc/ before. Even assuming that you don't mean documentation in general, that seems a bit hard to swallow. But I guess

Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 6/3/14, 11:56 AM, Арсений Зинченко wrote: Hi. Faced with little bit odd behavior of Tomcat 7 Java 1.6. Old file is: $ curl http://localhost:8084First file I mean - *war-file* contains only one index.jsp page with text First

Tomcat autodeploy doesn't return actual files via HTTP

2014-06-03 Thread Арсений Зинченко
Hi. Faced with little bit odd behavior of Tomcat 7 Java 1.6. Old file is: $ curl http://localhost:8084First file I mean - *war-file* contains only one index.jsp page with text First page: $ jar tf ../app-application/APP.war META-INF/ META-INF/MANIFEST.MF index.jsp Tomcat's server.xml has

Re: Tomcat autodeploy doesn't return actual files via HTTP

2014-06-03 Thread Konstantin Kolinko
2014-06-03 19:56 GMT+04:00 Арсений Зинченко setev...@gmail.com: Hi. Faced with little bit odd behavior of Tomcat 7 Java 1.6. Do you read others' questions on this mailing list? There are ~50 different versions of Tomcat 7.0.x. Old file is: $ curl http://localhost:8084First file I mean -