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.

August 26, 2006

Can we enable tomcat for the additional domains?

by @ 12:34 pm. Filed under tomcat server

No only the primary domains can have specific services as the additional domains are basically just domain pointers that server content from a specific directory.

404 Error in Tomcat

by @ 12:30 pm. Filed under tomcat server

If you are gettting the 404 error in the JSP scripts and you are sure that the file exist there then please do the following:

1. Restart the Tomcat server using the following commands:

/usr/bin/dtomcat4.vwh restart

2. If still you are facing a problem then:

pico /var/tomcat4/conf/sites.policies.d/siteXX.policy

and in that check if there is a ” * ” after the html as follows:

grant codeBase “file:/home/virtual/site8/fst/var/www/html/*” {
permission java.net.SocketPermission “*”, “connect”;
sinclude(`/var/tomcat4/conf/sites.policies.d/site8.policy.custom’)

};

3. If still the problem exists then please check if the following entry is there in /var/tomcat4/conf/server.xml:

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.111 seconds