12Oct
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.
26Aug
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.
26Aug
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:
Recent Comments