2 Replies Latest reply on Jul 23, 2010 6:49 AM by Javier M

    HTTP Status 403

    Javier M Newbie

      When i try to access to my jmx-console I get the next message


      HTTP Status 403 - Access to the requested resource has been denied


      I already have checked




      Does someone know what I'm doing wrong?

        • 1. Re: HTTP Status 403
          jaikiran pai Master

          Which AS version is this? And have you changed any configs? By default, the jmx-console doesn't require authentication. What does the jboss-web.xml file of jmx-console.war contain?

          • 2. Re: HTTP Status 403
            Javier M Newbie

            Im using JBoss EAP 5.0.1


            * My /home/myHome/jboss-eap-5.0/jboss-as/server/default/deploy/jmx-console.war/WEB-INF/web.xml

            <!-- A security constraint that restricts access to the HTML JMX console
               to users with the role JBossAdmin. Edit the roles to what you want and
               uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
               secured access to the HTML JMX console.


                   <description>An example security config that only allows users with the
                     role JBossAdmin to access the HTML JMX console web application


                  <realm-name>JBoss JMX Console</realm-name>







            * My jboss-eap-5.0/jboss-as/server/default/deploy/jmx-console.war/WEB-INF/web.xml

            <!DOCTYPE jboss-web PUBLIC
               "-//JBoss//DTD Web Application 5.0//EN"
               <!-- Uncomment the security-domain to enable security. You will
                  need to edit the htmladaptor login configuration to setup the
                  login modules used to authentication users.



            * My /home/myHome/jboss-eap-5.0/jboss-as/server/default/conf/props/jmx-console-roles.properties

            # A sample roles.properties file for use with the UsersRolesLoginModule



            * My /home/myHome/jboss-eap-5.0/jboss-as/server/default/conf/props/jmx-console-users.properties

            # A sample users.properties file for use with the UsersRolesLoginModule