Tomcat entry missing within (or moved from?) WHM --> cPanel --> Plugins

rsilviu

Member
Sep 14, 2003
9
0
151
Romania
Hello,

I can't find Tomcat within WHM --> cPanel --> Plugins.

I'm running
WHM 11.2.0 cPanel 11.6.0-R15076
REDHAT Enterprise 4 i686 - WHM X v3.1.0

Any idea beside manually install Tomcat?
There was an installer at a certain point in time.
 

Craigles

Member
Aug 5, 2004
12
0
151
Yep, i'll put my hands up on this one as well.

I was like, WTF where the hell is the cat?
It's always under Plugins and it's MIA at the moment.

Anyone got an idea on how to install it manually??

Ta,
Craig
 

Craigles

Member
Aug 5, 2004
12
0
151
This is what I got in response from cPanel Techs.

// ------------------------ //

Hello,

Tomcat was removed because it was VERY outdated and broken. Tomcat support has been included in the Easyapache 3 installer which is available in EDGE only currently. To find out when Easyapache 3 will make it into the different tree's, please visit http://www.cpanel.net/cpanel11 and see STAGE 2.

Thank you.
 

okeith

Member
PartnerNOC
Jan 5, 2005
6
0
151
Error on /usr/local/jakarta/tomcat/conf/web.xml

Hi,

this morning after the usual upcp we found that tomcat wasn't working properly, logs/catalina.out had this:

java.lang.IllegalArgumentException: addChild: Child name 'httpservlet' is not unique

It seems conf/web.xml had a double listing of these two servlet definitions:

<servlet>
<servlet-name>httpservlet</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>

<servlet>
<servlet-name>httpservlets</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>

Once the second one pair was removed and restarted tomcat it started working again, not sure if that's of use to anyone, just thought I'd post...
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Thanks this fixed my problem also
I just spoke with the developers about this as I was a little freaked out about this.

They're working on new installers and polishing things up quite a bit for cPanel 11 Stage 2. Basically things in their current state were so broken that it was decided to remove the installer functionality until the fix can propagate through the builds (note, this only affects the installer - if you use these modules already they will not cease functioning).

You can still install Tomcat, mod_resin and mod_mono manually in the meantime. However, cPanel 11 Stage 2 will introduce far improved installation functionality and remove the "BETA" label from these items.

It will be a lot better once it's all done, in the meantime just sit tight :).
 

nilesh_kolte

Well-Known Member
Apr 13, 2006
65
0
156
Pune ,India
cPanel Access Level
Root Administrator
Hello,

Tomcat is not working with Cpanel.. Any ETA when it will be fixed. I have reinstalled tomcat manually on server, But still the same problem.
 

Shamele

Member
Dec 31, 2001
8
0
301
Same here. Tomcat broke after latest cPanel upgrade.

***FIXED***
After the Tomcat was added back to the install tool with the latest upgrade, I was able to uninstall and reinstall it. Everything works now.
 
Last edited:

Shaya

Member
Jan 4, 2005
8
0
151
I have uninstalled and reinstalled tomcat from CPanel Plugins and It returns this:

The Tomcat addon module has been temporarily disabled.
It will reappear once EasyApache with Apache 2 support
has been released.

Please let me know how you could install it from WHM.
 

denisdekat09

Well-Known Member
Mar 2, 2002
266
0
316
San Francisco
I also have the same problem.

I got these instruction after trying to run the install manually:

If you look at /usr/local/cpanel/modules-install/tomcat-Linux-i686/install you
will see on line 24 contains the output you see while trying to execute this
script, comment out starting at line 24 though the __END__ statement and you
should be able to install tomcat again.

But they did not work. Ironically, I only run updates manually and had the version of Cpanel just how I liked it. But some feature stopped working and they suggested and upgrade. Post the upgrade Tomcat broke and they fed me that the line that it is not supported. I find this highly irresponsible really...
 

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
does anyone have a solution to this as i just uninstalled to reinstall it to correct an issue and now i cant do that and all clients sites are down

surely theres a solution?

Im running C16104

I tried the above suggestion and got:

./install
Unrecognized escape \s passed through at ./install line 154.
Unrecognized escape \s passed through at ./install line 155.
Unrecognized escape \s passed through at ./install line 167.
Unrecognized escape \s passed through at ./install line 169.
Unrecognized escape \s passed through at ./install line 171.
"my" variable $line masks earlier declaration in same scope at ./install line 312.
"my" variable $line masks earlier declaration in same scope at ./install line 382.
Name "Cpanel::EasyApache::eek:riginal_working_dir" used only once: possible typo at ./install line 66.
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/easyapache/setup_for_ea
Could not make /scripts/setup_for_ea executable: No such file or directory at ./install line 62.
 
Last edited:

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
i'm trying to reinstall now it says:
The Tomcat addon module has been temporarily disabled.

how to fix this?
The developers have once again disabled the functionality due to the support issues that have arisen from the installer. This functionality will be available via EasyApache3 in Stage 2 of cPanel 11 (note, it is already available in EDGE).