Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Tomcat Manager app for virtual hosts

Discussion in 'cPanel Developers' started by Walker, Aug 4, 2005.

  1. Walker

    Walker Member

    Nov 15, 2004
    Likes Received:
    Trophy Points:
    Has anyone else had any success with the manager app?

    what I have done so far:

    1.) Uncheck "install and keep updated" tomcat (after it is installed.)

    2.) chown root server.xml

    3.) edit to add:

    <Context path="/manager" debug="0" privileged="true" docBase="/usr/local/jakarta/tomcat/server/webapps/manager"/>

    to all my host containers

    4.) chown tomcat server.xml

    now I have an ant build for my servlet that has:

    <target name="deploy-remote" depends="war" description="Deploys WAR into remote servlet container">
    <deploy url="${remote.tomcat.manager.url}"
    path="/${context}" war="${}/${context}.war"

    when I run it, and point it to the manager for the virtual host, I get:

    permission denied /home/username/public_html

    so telnet again...

    chmod 770 /home/username/public_html

    Bing. It works and deploys the servlet.

    My questions...

    1.) How can I edit server.xml without chowning it?
    2.) Is a permission fixer script going to take away group write perms on public_html? is there a better answer than letting group nobody have write access?
    #1 Walker, Aug 4, 2005
    Last edited: Aug 5, 2005

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice