iwdev

Member
Mar 5, 2003
7
0
151
I'm trying to install Tomcat via the Addon Modules area, but the install seems to freeze part-way through the license (it stops printing text in section E of the license agreement). I've left it 'loading' in the browser for 15 minutes and it never gets any further.

Has anyone else had this problem, or does anyone know of a way to run the install via the shell without interfering with CPanel?

EDIT: This is on a CentOS 3 server
 

iwdev

Member
Mar 5, 2003
7
0
151
Never mind, sorted it.

I found the install script in /usr/local/cpanel/modules-install/tomcat-Linux-i686 and ran it through ssh. It was getting stuck trying to overwrite the jdk1.5.0_02 folder (in /usr/local) so I removed that and ran the install again.
 

baldor

Active Member
Oct 3, 2004
26
0
151
iwdev said:
Never mind, sorted it.

I found the install script in /usr/local/cpanel/modules-install/tomcat-Linux-i686 and ran it through ssh. It was getting stuck trying to overwrite the jdk1.5.0_02 folder (in /usr/local) so I removed that and ran the install again.

i had the same problem, this solution is working. thanks for writing. :cool:
 

iwdev

Member
Mar 5, 2003
7
0
151
baldor said:
i had the same problem, this solution is working. thanks for writing. :cool:
No worries - I know how irritating it is to find a thread where someone had the same problem as you then just says "fixed it" which doesn't really help hehe.
 

scapeweb

Active Member
Aug 16, 2003
44
0
156
:)
iwdev said:
Never mind, sorted it.

I found the install script in /usr/local/cpanel/modules-install/tomcat-Linux-i686 and ran it through ssh. It was getting stuck trying to overwrite the jdk1.5.0_02 folder (in /usr/local) so I removed that and ran the install again.

Yea, i went ahead and deleted the folder on SSH, then under WHM i did the install and wow it worked.. Thanks a lot iwdev
 

rip_curl

Well-Known Member
Jan 30, 2005
82
1
158
in installation via ssh I've seen this:

cp: cannot create regular file `/usr/local/jakarta/tomcat/samples': No such file or directory
cp: cannot create regular file `/usr/local/jakarta/tomcat/samples': No such file or directory
cp: cannot create regular file `/usr/local/jakarta/tomcat/samples': No such file or directory

what does it means? :eek:
 

bamboogi

Registered
Jun 13, 2005
3
0
151
I had a problem deleting the folder... would not give access... here is the solution
rm -f -r -d jdk1.5.0_02 -----this will delete the folder contence.
 

patrick24601

Member
Sep 20, 2004
19
0
151
bump on this. That install folder

/usr/local/cpanel/modules-install/tomcat-Linux-i686

is not present on my machine. But the WHM install is still freezing. This is after a previous install and uninstall.

UPDATE: I did get rid of the jdk install. But I still like to know where the install script is.
 
Last edited:

dlm75

Registered
Apr 26, 2005
2
0
151
tomcat

patrick24601 said:
bump on this. That install folder

/usr/local/cpanel/modules-install/tomcat-Linux-i686

is not present on my machine. But the WHM install is still freezing. This is after a previous install and uninstall.

UPDATE: I did get rid of the jdk install. But I still like to know where the install script is.

Use whm to unisntall and reinstall. the script is only added once you select the tomcat addon and save. Once the cpanel script runs, it adds the directories.
 

cynux

Well-Known Member
Jul 30, 2005
113
0
166
I had the problem, and this is what i did to fix it.

Code:
1. Un-install Tomcat from the addons section in WHM
2. then rename "/usr/local/jdk1.5.0_02" to somthing else.
3. Install Tomcat from WHM
Yipeee!!!!!!!!!!! and it works.... :cool:
 
Last edited:

cynux

Well-Known Member
Jul 30, 2005
113
0
166
patrick24601 said:
bump on this. That install folder

/usr/local/cpanel/modules-install/tomcat-Linux-i686

is not present on my machine. But the WHM install is still freezing. This is after a previous install and uninstall.

UPDATE: I did get rid of the jdk install. But I still like to know where the install script is.

/usr/local/cpanel/modules-install/tomcat-Linux-i686
 

russellhosting

Active Member
Jun 19, 2003
26
0
156
I was having the same problem after an upgrade last night, and have followed the instructions here, but I am still having issues.

After the tomcat installation in WHM shows success, the sites with JSP are just showing an internal server error and the tomcat admin page isn't responding either.

Any ideas?
 

cynux

Well-Known Member
Jul 30, 2005
113
0
166
check your httpd.conf file for errors.

if you still cant fix it... un-install tomcat then remove all tomcat fucntions from your httpd.conf file and then install tomcat again...
 

raxafarian

Member
Aug 29, 2003
18
0
151
same problem. Tomcat installs ok (after deleting the directory mentioned above) but is always 'failed' and cannot be started.
 

raxafarian

Member
Aug 29, 2003
18
0
151
well... I got tomcat started.

went to /usr/local/jakarta/tomcat/bin

and ran:
./catalina.sh run

not sure if this is the 'correct' way, but it's up and running and those annoying 'failed' emails have stopped.