Re: manager / deploy context file

2011-08-27 Thread Pid
On 26/08/2011 19:21, Johannes Ernst wrote: >> The documentation has to be updated. Please file an issue. > > https://issues.apache.org/bugzilla/show_bug.cgi?id=51727 > > Personally I feel the documentation is correct and the code is wrong. What > point is there to have a path parameter in contex

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
> The documentation has to be updated. Please file an issue. https://issues.apache.org/bugzilla/show_bug.cgi?id=51727 Personally I feel the documentation is correct and the code is wrong. What point is there to have a path parameter in context.xml if it has to be specified (redundantly) as a UR

Re: manager / deploy context file

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Johannes Ernst : > > On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > >> 2011/8/26 Johannes Ernst : >>> I'd like to do this in Tomcat 6: >> >> Which exactly version of Tomcat 6.0.x you are using? >> >>> >>> Is there some way I can debug this? >>> >> >> Yes. Debugging is described in

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > 2011/8/26 Johannes Ernst : >> I'd like to do this in Tomcat 6: > > Which exactly version of Tomcat 6.0.x you are using? > >> >> Is there some way I can debug this? >> > > Yes. Debugging is described in FAQ. > Also see WEB-INF/web.xml for

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > 2011/8/26 Johannes Ernst : >> I'd like to do this in Tomcat 6: > > Which exactly version of Tomcat 6.0.x you are using? Standard issue Ubuntu Lucid which apparently is 6.0.24. http://packages.ubuntu.com/lucid/tomcat6 >> Is there some way I

Re: manager / deploy context file

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Johannes Ernst : > I'd like to do this in Tomcat 6: Which exactly version of Tomcat 6.0.x you are using? > > Is there some way I can debug this? > Yes. Debugging is described in FAQ. Also see WEB-INF/web.xml for the name of the servlet that performs processing of this URL + read the so

manager / deploy context file

2011-08-25 Thread Johannes Ernst
I'd like to do this in Tomcat 6: curl http://localhost:8080/manager/deploy?config=file:/tmp/mycontext.xml --basic -u user:pass It complains: FAIL - Invalid context path null was specified This works: curl http://localhost:8080/manager/deploy?config=file:/tmp/mycontext.x