October 12, 2006

Setting up the Admin User for tomcat

by @ 1:08 am. Filed under cPanel Hosting, Java, Hosting Support, tomcat server

Setting up the Admin User for tomcat

Edit the “tomcat-users.xml” file as

vi /usr/local/jakarta/jakarta-tomcat-5.5.9/conf/tomcat-users.xml

[You will have to find out the path for tomcat-users.xml on your server first]

Add a line like in that conf file as :

 <user username=”username” password=”password” roles=”manager,admin”/>

You will have to check that none of the default users have the manager or admin roles.

October 9, 2006

Tomcat Failed

by @ 6:25 am. Filed under cPanel Hosting, Java, Web Hosting Articles, JSP Servlet Hosting

If tomcat is failed on the server, Then login to the server with root login details and Goto, ————————-

cd /usr/local/jakarta/jakarta-tomcat-5.5.9/bin/

————————-

Check the running processes as

ps aux | grep tomcat

Then stop all tomcat processes. You can stop it with the script as ————————-

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./shutdown.sh ————————- [This script will stop the tomcat processes that are running]

In order to fix tomcat run following command under /usr/local/jakarta/jakarta-tomcat-5.5.9/bin

————————-

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# java -jar bootstrap.jar

————————- [This will set java environment for tomcat on the server]

Then start the tomcat service with the script

————————-

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./setclasspath.sh

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./startup.sh ————————- [This script start tomcat on the server]

You will have to stop and restart apache service on the server many times before you run startup.sh script.

RESELLER HOSTING | DEDICATED SERVER | PREMIUM HOSTING | VPS HOSTING

Micfo Hosting

Micfo International LLC Leading the hosting Industry with Cheap and Affordable Linux Web Hosting Packages.

internal links:

categories:

archives:

Services:

Micfo Hosting

Micfo, delivering the best cpanel web hosting with maximum reliability is our exclusive focus.
Micfo International LLC

search blog:

TOP 10 POSTS:

Pages:

General Links:

Syndicate

other:

35 queries. 0.110 seconds