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.

How to deploy grails war file on cPanel support tomcat

Discussion in 'General Discussion' started by maryam13, Sep 5, 2016.

Tags:
  1. maryam13

    maryam13 Registered

    Joined:
    Sep 5, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    tehran
    cPanel Access Level:
    Website Owner
    I have a web application with grails, I want to deploy this web application in cPanel by using .war file.I follow this guide, first I created database then added database info on my app datasource, made war file and uploaded war on PUBLIC_HTML file on cPanel, renamed war file to zip file and extract it. I checked url(sampleDomain.com/myApp) but it shows error like below:

    Not Found
    The requested URL /myApp was not found on this server.
    I don't have any idea how to deploy this war file.


    I use sharing cPanle with tomcat.my cPanel first page is look like attachment. in the tomcat log shows :

    [Mon Sep 05 10:31:36 2016] ajp13 example.com 0.000882
    [Mon Sep 05 10:31:36 2016] ajp13 example.com 0.000532
    [Mon Sep 05 10:31:53 2016] ajp13 example.com 0.001035
    [Mon Sep 05 10:31:54 2016] ajp13 example.com 0.000645
    [Mon Sep 05 10:31:55 2016] ajp13 example.com 0.001343
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Your access level is listed as "Website Owner". Could you verify if you have root access to this system? If not, please report this to your web hosting provider so they can verify if support for WAR packages is available on the server.

    Thank you.
     
Loading...

Share This Page