• 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

  • This could be one of the reason why UK Government is making...
  • The root access in VPS gives you the ability to install and...
  • Hello...Thanks for the nice read, keep up the interesting po...
  • can i get more information..see not theoryitcal i need part...
  • Hi, I use a company laptop and its disabled. How can I enabl...