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.

Private JVM

Discussion in 'General Discussion' started by aansk, Jan 25, 2011.

  1. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello All,

    My friends do have some cpanel accounts where I can see an icon called "Private JVM" were they can start/stop tomcat and also deploy WAR.

    I do have a WHM server and I am wondering how I can enable this Private JVM option for my cpanel accounts. I read some online docs and most of them are pointing to WHM > Cpanel > Manage Plugins but there is no tomcat specific plugin available for installation.

    My WHM version is: 11.28.64

    I hope any one here can point me to the correct direction.

    Thanks,
    Neil
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Neil,

    Steps to Install Tomcat and enable tomcat service .

    >> Go to Whm >> cPanel >> Manage Plugins >> Tomcat

    If you don't find this you can use the below given URL for reference.

    Troubleshotting: Tomcat installation bugs - CPWiki

    If you are still having issues you can do an easyapache to enable tomcat.

    /scripts/easyapache
     
  3. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thank you for the reply.

    I have enabled tomcat via easyapache but the problem is that the "Private JVM" option is not available in whm/cpanel. From WHM docs, I could see that "Tomcat is no longer managed through WHM -> Plugins". So, no idea how I can shoe the Private JVM option in my cpanel accounts.

    Thanks,
    Neil K
     
  4. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Neil,

    It seems the cpanel used by your friend is a customised one. Some hosts customises the cPanel to reflect the facilities and features they provide. Can you also ask your host / friend's host regarding this.

    If there is some other option, I hopes you will get a reply out here and it will be an info for me too.
     
  5. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I will ask but I don't think a host will tell me how they have configured their server. I hope anyone here can tell us the right method of enabling Private JVM in cpanel.

    Thanks,
    Neil
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Neil,

    At this time, this icon does not exist with cPanel / WHM by default. It is a customized icon which the webhost must have added, and it is not available as one of the options in WHM > Feature Manager > Feature list area.

    You may look into a company such as the following who might be able to provide you with such an option - Application Automation for Web Hosts, Clouds (PaaS), and Load-Balancing.

    There is a discussion of that company indeed having a working plugin for a private JVM option with cPanel / WHM at Shell Access Permission and NGASI AppServer Manager - Linux

    I cannot recommend the company one way or the other. It was the only online result I found for a company selling such a product to work with cPanel.
     
  7. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much for the explanation. That make sense.

    Now, I have Tomcat enabled using easyapache. Then, for enabling private JVM option for cpanel users, I just need a plugin for private JVM, right? or do I need to install any other component in cpanel (other than the plugin)?

    Thanks,
    Neil
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Neil,

    You are very welcome.

    For your next question, since I don't know how this company's private JVM works, I cannot answer that question. You'd need to contact them to find out if you need anything beyond their plugin to get it working.

    Thanks.
     
  9. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thanks again.

    One more question. My WHM version is 11.28. If I choose an older version of WHM, I will get the Private JVM plugin from WHM > cPanel > Manage Plugins, right? Currently the tomcat plugin is not there in WHM 11.28.

    Thanks,
    Neil K
     
  10. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Neil,

    You cannot get an older version of WHM as 11.28 is the only installable version at this time for alll tiers. You can see the available installable versions at this location:

    http://httpupdate.cpanel.net

    Next, Tomcat hasn't been listed in Manage Plugins area for a few years now. It's in EasyApache only since at least 11.24.5 as far as I'm aware. Finally, please note, Tomcat has never had the private JVM section to manage for cPanel for users in Manage Plugins either.

    Thanks.
     
  11. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thanks. Then what I had seen (the Private JVM plugin) may be a custom made solution or a third party paid one.

    Thanks again for your time.
     
  12. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Aaansk,

    You are right. The plugin you are referring is a custom one!
     
  13. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    As there is no plugins available for private JVM in cpanel, how a cpanel user can start/stop the tomcat instance and deploy their WAR file? They need to contact the server admin each and every time?

    Thanks,
    Neil
     
  14. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Neil,

    They can upload an already extracted war file to the account. Otherwise, it will be scanned and extracted in Tomcat area rather than in their public_html and they won't be able to manage the content. They also will then only be able to reach the content using the Tomcat (not Apache) port url. As such, just have them upload the application without putting it into a war file.

    Thanks.
     
  15. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the explanation but in this case, the user will not be able to start/stop the server and also the admin will not be able to assign memory or heap size for a domain, right?

    Thanks,
    Neil
     
  16. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Neil,

    Yes, the user won't be able start/stop the Tomcat service and the admin is supposed to do that.
     
  17. aansk

    aansk Member

    Joined:
    Dec 4, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Ok then how we can assign memory or heap size for a particular domain?

    Thanks,
    Neil K
     
Loading...

Share This Page