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.xml\&path=/foo 
--basic -u user:pass

However, the Tomcat6 docs seem to say the first approach should work in section 
"Deploy using a Context configuration ".xml" file here:
        http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html

Is there some other setting that I might be missing? /tmp/mycontext.xml does 
contain a path setting. I'd hate having to write some code to parse out the 
path setting from the context file and then add it to the URL ...

Is there some way I can debug this?

Thanks!!



Johannes.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to