2 Replies Latest reply on Apr 26, 2010 5:05 PM by Raymundo Pedroza

    JBOSS Web autentification problem

    Raymundo Pedroza Newbie

      Hello everybody I install the JBOSSWeb to make some test with a system that was developed with jsp files but i have problem to use the manage section off the console, i make the changes to assign the manager role and a user with that role but i have the following error:

       

      401 Unauthorized

      You are not authorized to view this page. If you have not changed     any configuration files, please examine the file     conf/tomcat-users.xml in your installation. That     file will contain the credentials to let you use this webapp.

      You will need to add manager role to the config file listed above.     For example:

      <role rolename="manager"/>
      <user username="tomcat" password="s3cret" roles="manager"/>

      For more information - please see the     Manager App HOW-TO.

       

       

      And my tomcat-users.xml have the following lines:

       

      <?xml version='1.0' encoding='utf-8'?>
      <tomcat-users>
      <!--
        <role rolename="tomcat"/>
        <role rolename="role1"/>
        <role rolename="manager"/>
        <role rolename="admin"/>
        <user username="tomcat" password="tomcat" roles="tomcat"/>
        <user username="both" password="tomcat" roles="tomcat,role1"/>
        <user username="role1" password="tomcat" roles="role1"/>
        <user username="jbossweb" password="acceso" roles="manager,admin"/>
      -->
      </tomcat-users>
      ~               

       

      I try with the user jbossweb but doesn work, can anybody now whats going on, thanks in advance.