Hi,
Let me explain what we have done and then the issue we face
1. Installed jdk and sdk
2. Installed jsvc
3. Installed Tomcat with paths same as how cpanel does [ as in /usr/local/easy ]
4. We could not get apxs complied with easyapache 4 and hence as a work around got mod_jk.so from another server and placed it in /etc/apache2 modules
5. Created necessary conf files to be included for apache
6. When we start tomcat , it works [ We used few of the cpanel scripts in /etc/init.d for start and restart ]
Now the issue is when we update cpanel we get the following error. We are having 58.0.2 build
[2016-09-14 01:08:36 +0530] jakarta-commons-collections is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-dbcp is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-pool is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] W Exit Code: 18
[2016-09-14 01:08:36 +0530] ***** FATAL: Test install failed: error: Failed dependencies:
[2016-09-14 01:08:36 +0530] jakarta-commons-logging is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-collections is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-dbcp is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-pool is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] log4j is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-taglibs-standard >= 0:1.1 is needed by easy-tomcat7-webapps-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] ecj >= 4.2.1 is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-collections is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-dbcp is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-pool is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] The Administrator will be notified to review this output when this script completes
[2016-09-14 01:08:36 +0530] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies:
[2016-09-14 01:08:36 +0530] jakarta-commons-logging is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-collections is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-dbcp is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-pool is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] log4j is needed by easy-tomcat7-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-taglibs-standard >= 0:1.1 is needed by easy-tomcat7-webapps-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] ecj >= 4.2.1 is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-collections is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-dbcp is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] jakarta-commons-pool is needed by easy-tomcat7-lib-0:7.0.42-3.noarch
[2016-09-14 01:08:36 +0530] see
https://go.cpanel.net/rpmcheckfailed for more information
[2016-09-14 01:08:36 +0530] The Administrator will be notified to review this output when this script completes
=> Log closed Wed Sep 14 01:08:36 2016
[2016-09-14 01:08:36 +0530] 17% complete
Update gets failed