3 Replies Latest reply on May 2, 2007 12:08 PM by Peter Johnson

    Jboss Security

    Sai Kola Newbie

      I'm newbie to JBOSS:

      I installed JBOSS for a Novell's application and it is working fine. But when I try to secure default jmx-console and web-console, it is not working.

      I followed the following document but did not help
      http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureTheJmxConsole

      after modify everything based on the above document, still I can access http://server:8080/jmx-console and http://server:8080/web-console

      Please help me resolve issue.

        • 1. Re: Jboss Security
          Peter Johnson Master

          The steps work (I've done them), so we need to figure out what step you did incorrectly, or missed. Let's tackle the jmx-console first (we'll ignore the web console configuration for now). Please post the following files from the server/xxx/deploy/jmx-console.war/WEB-INF directory: web.xml, jboss-web.xml.

          NOTE: when posting the contents of those files, be sure to surround the contents with the [ code ] [ /code ] tags (without spaces). You can do this by selecting the text and clicking the Code button.

          • 2. Re: Jboss Security
            Sai Kola Newbie

            Thanks Peter for your time and reponse.

            I have been modifying everything under server/default/deploy/jmx-console.jar/WEB-INF

            now I modified server/IDM/deploy/jmx-console.jar/WEB-INF directory. It worked.

            Can you help how I can redirect default webpage to my desired page

            ie https://hostname:8443 to https://hostname:8443/IDM

            • 3. Re: Jboss Security
              Peter Johnson Master

              Add a < context-root > entry to the jboss-web.xml file for your application:

              <context-root>/</context-root>


              You might also want to delete the server/xxx/deploy/jbossweb-tomcat55.sar/ROOT.war directory.

              Now, using the URL https://hostname:8443 will access your application.