The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

the jsp project can not to run in cpanel .

Discussion in 'General Discussion' started by amiry2, Jan 29, 2012.

  1. amiry2

    amiry2 Member

    Joined:
    Sep 4, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    hi
    i used cpanel+tomcat .the public-html folder is webapp and docBase .

    when i extract war file to public-html , tomcat can not run a project .

    i must adding this setting to tomcat-install-folder/conf/server.xml and extract files to Root folder .

    <Host name="domain.com" appBase="/home/domain/public_html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" reloadable="true">
    <Alias>www.domain.com</Alias>
    <Context path="/" reloadable="true" docBase="/home/domain/public_html/ROOT" debug="1" privileged="true" autoDeploy="true" liveDeploy="true" />

    </Host>​

    please help me to run a project without changing server.xml . :(:(:(

    thank you.
     
  2. wfb

    wfb Member

    Joined:
    Jun 19, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Recife, Brazil
    cPanel Access Level:
    Website Owner
    tenho o mesmo problema : (
     
Loading...

Share This Page