Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    28
    Rep Power
    0

    Default After installed Tomcat 404 error occured

    i have installed Tomcat 5.5 and gave url http://localhost:8080 then tomcat home page is displayed.when I clicked TOMCAT MANAGER,a separate window is displayed.it is asking for username and password. but I did not set username and password while installlation.after 3 times clicking 404 error is displayed and it says "you are not authorised person to view this page".how to rectify this.
    please help me....

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,368
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by srinivasmallabathula View Post
    i have installed Tomcat 5.5 and gave url http://localhost:8080 then tomcat home page is displayed.when I clicked TOMCAT MANAGER,a separate window is displayed.it is asking for username and password. but I did not set username and password while installlation.after 3 times clicking 404 error is displayed and it says "you are not authorised person to view this page".how to rectify this.
    please help me....
    Did you read the documentation? Here's what Tomcat version 6.0 has to say about it. The lesson here is: always RTFM.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    5

    Default

    you must edit your tomcat-users.xml in the folder drive:\tomcat-root\conf. roles and users should not been between <!-- and -->, otherwise the would be interpreted as comments. before you edit your file, make a copy of the original one. by the way: the current version of tomcat is 7.0.6
    Last edited by j2me64; 01-31-2011 at 11:08 AM.

Similar Threads

  1. tomcat .war deploying error
    By karq in forum Java Servlet
    Replies: 1
    Last Post: 11-06-2010, 10:29 AM
  2. Tomcat error While compiling
    By Dieter in forum Java Servlet
    Replies: 0
    Last Post: 04-28-2010, 12:20 PM
  3. Please solve my error occured java.lang.NullPointerException
    By Viruthagiri in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-24-2010, 12:08 PM
  4. Error occured during initialization of VM
    By red in forum New To Java
    Replies: 4
    Last Post: 10-02-2008, 07:08 PM
  5. error Tomcat in eclipse
    By Marty in forum Eclipse
    Replies: 1
    Last Post: 05-06-2007, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •