1 2 Previous Next 22 Replies Latest reply on Apr 8, 2008 2:17 PM by mcdan311 Go to original post
      • 15. Re: Securing JMX console (JBoss)
        peterj

        Are you asking if you correctly changed the web.xml file to secure the jmx console, then yes, that change is correct.

        • 16. Re: Securing JMX console (JBoss)
          mcdan311

          Then I will need to restart the machine for those changes to take place, since there is no jboss service to stop and start? I've restarted the Quality Center service and had the security group rerun the scan and had the same results.

          • 17. Re: Securing JMX console (JBoss)
            peterj

            Changes to the web.xml file should be recognized by JBossAS as soon as the changes are made - it should redeploy the app. But if you thnik it is not doing that, then stopping JBossAS and starting it again will do it.

            How are you running JBossAS? From a command prompt?

            What operating system are you running? What version of JBossAS?

            • 18. Re: Securing JMX console (JBoss)
              mcdan311

              I'm not running JBossAS, Are we talking about the same application Jboss and Jbosas? The operating system is Window2003.

              How do I get the version of Jboss. We have an application that is using Jboss within it's application. I am not familar with any command prompts. What we do is run the program call Quality Center by Mercury.

              • 19. Re: Securing JMX console (JBoss)
                peterj

                If Quality Center by Mercury has JBossAS embedded within it, then simply stop and restart Quality Center to restart JBossAS.

                To find out the version number, look for a file named boot.log within a directory named log. In a typical JBossAS installation this will be at JBOSS_HOME/server/default/log, but I am not familiar with Quality Center so do not know where it would appear there. (Actually, since you know the location of the web.xml file for the JMX Console, the log file should be at ../../../log/boot.log, relative to web.xml.) There should be a line like this:

                15:34:48,025 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)


                By the way, JBoss is not a program, it is a trademark of RedHat and a brand name used on a number of products, including JBoss Application Server (JBossAS). Many people (incorrectly) refer to JBossAS as simply JBoss. I have also seen people use the trem "JBoss" to refer to JBoss Portal, JBoss Messaging, JBoss Webs Server, etc. You could say I'm picky, but I try to never use the term JBoss by itself because of this ambiguity, preferring to refer to the product name (or at least the shortened form).

                • 20. Re: Securing JMX console (JBoss)
                  mcdan311

                  I did restart the services for Quality Center, then rescan the server, same results.

                  Here is a partial of the boot.log:

                  12:33:25,168 INFO [Server] Starting JBoss (MX MicroKernel)...
                  12:33:25,168 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
                  12:33:25,168 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@161d36b
                  12:33:25,168 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl
                  12:33:25,168 INFO [Server] Home Dir: C:\Program Files\Mercury\Quality Center\jboss

                  Thanks for that information.

                  • 21. Re: Securing JMX console (JBoss)
                    peterj

                    In the same directory as boot.logm there is a server.log file. In it, there should be some lines that look like this:

                    2007-06-14 09:56:39,218 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8180
                    2007-06-14 09:56:39,593 INFO [org.apache.jk.common.ChannelSocket] JK: ajp13 listening on /0.0.0.0:8109
                    2007-06-14 09:56:39,609 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=0/328 config=null
                    2007-06-14 09:56:39,625 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200706140948)] Started in 17s:547ms

                    I am most interested in the first line - it tells which port JBossAS has open for HTTP traffic. Could you post those lines?

                    • 22. Re: Securing JMX console (JBoss)
                      mcdan311

                      I am unable to open that log, it's being used by another program. Must likely QC.

                      1 2 Previous Next