Multiple instances of tomcat on one server

Jun 18, 2015
16
4
3
Maarheeze
cPanel Access Level
Root Administrator
My goal is to enable multiple instances of tomcat 7 on my VPS:
- CentOS 6.4
- WHM version 11.50.1
- EasyApache
- Tomcat version 7.0.42

I enabled loadbalancer worker by editing the files:
  1. /usr/local/easy/etc/easy-tomcat7/workers.properties
  2. /usr/local/easy/etc/easy-tomcat7/httpd-jk.conf
  3. .htaccess on the shared domain
The JK Status Manager shows the standard tomcat 7 instance that is installed via EasyApache. It also shows the instances I defined in workers.properties, but these are always shown in the status ERR. I suppose this is because the extra workers are not bount to an instance of Tomcat.

I would like to know if it is possible to create multiple instances of Tomcat on this configuration. If so, I would very much like to have a good description of how to do this on this configuration.

(I found one forum entry about this but it was dated from 2007: https://forums.cpanel.net/threads/tomcat-question.73105/#post-340528.)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I would like to know if it is possible to create multiple instances of Tomcat on this configuration. If so, I would very much like to have a good description of how to do this on this configuration.
Hello :)

There's no native support for this type of configuration, but you are welcome to attempt this setup on your server and let us know the outcome. You may want to consult with a qualified system administrator if you require assistance with the setup. The closest thread we have open for this is the one you referenced:

https://forums.cpanel.net/threads/tomcat-question.73105/#post-340528

Thank you.
 
Jun 18, 2015
16
4
3
Maarheeze
cPanel Access Level
Root Administrator
Hello :)

There's no native support for this type of configuration, but you are welcome to attempt this setup on your server and let us know the outcome. You may want to consult with a qualified system administrator if you require assistance with the setup. The closest thread we have open for this is the one you referenced:

https://forums.cpanel.net/threads/tomcat-question.73105/#post-340528

Thank you.
Hi there Michael, thanks for your answer. In regard to your remark about consult from a qualified system administrator: As this is a WHM custom setup of Tomcat, the best help I can get will come from the people at WHM/Cpanel. The system administrator I spoke today said this to me. Please consider this.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
It's possible other users have configured Tomcat like this, so I will leave this thread open for additional user-feedback. However, note that any such configurations are unsupported by cPanel.

Thank you.