1 2 Previous Next 17 Replies Latest reply on Jul 6, 2010 10:49 AM by devils_lick

    jmx-console - blank page return

      Hi,

      I invoke http://myserver:8080/jmx-console/ and it returns a blank page, without any errors.

      Any ideas to solve this mistery?

      Thanks,
      Andre

        • 1. Re: jmx-console - blank page return
          peterj

          Do you see any errors in the console log?

          • 2. Re: jmx-console - blank page return

            Hi Peter,

            I´m looking for a file that logs jmx-console´s info, but I didn´t find.

            What is the name and path of the jmx-console log file?

            Thanks again,
            Andre

            • 3. Re: jmx-console - blank page return
              peterj

              JBoss AS logs information to two locations. First, to the console. Second to the file server/xxx/log/server.log. The console log output would be the best - the server.log tends to be verbose.

              • 4. Re: jmx-console - blank page return

                Peter,

                Whenever I hit http://myserver:8080/jmx-console/ it throws in server.log the following:


                2008-09-12 15:40:14,845 87133065 WARN [org.apache.catalina.authenticator.FormAuthenticator] (http-0.0.0.0-8080-4:) Unexpected error forwarding to login page
                java.lang.NullPointerException
                at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316)
                at org.jboss.web.tomcat.security.ExtendedFormAuthenticator.forwardToLoginPage(ExtendedFormAuthenticator.java:141)
                at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244)
                at org.jboss.web.tomcat.security.ExtendedFormAuthenticator.authenticate(ExtendedFormAuthenticator.java:86)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)


                Any ideas?

                Thanks.

                • 5. Re: jmx-console - blank page return
                  peterj

                  What version of JBossAS are you using? It would appear that some security settings have been made - I would not expect this error from an out-of-the-box deployment of the community editions of JBossAS.

                  What happens if you enter: http://myserver:8080/

                  • 6. Re: jmx-console - blank page return

                    Peter,

                    I use Jboss 4.2.0 GA.

                    When I enter http://myserver:8080/ it shows the "Welcome to Jboss" page.

                    • 7. Re: jmx-console - blank page return
                      peterj

                      Are you using the community version of JBossAS, or the enterprise version (EAP)? Please line in the console log that looks like this (it is the second line in the log):

                      08:57:12,482 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=
                      JBoss_4_2_3_GA date=200807181417)

                      You can also find this line in the server/xxx/log/boot.log file.

                      If you are using the community version someone has changed the security settings and done so incorrectly. Could you try again with a clean install of JBossAS?

                      • 8. Re: jmx-console - blank page return

                        Peter,

                        Here´s the info from boot.log:

                        11:53:27,175 INFO [Server] Release ID: JBoss [EAP] 4.2.0.GA_CP02 (build: SVNTag=JBPAPP_4_2_0_GA_CP02 date=200801291544)

                        My team mates installed jboss on another CPU. The error remains on both servers.


                        Any ideas?

                        • 9. Re: jmx-console - blank page return
                          peterj

                          As I suspected, you are running JBossEAP, not JBossAS. With JBossEAP, everything is locked down, and it is locked down in such a way that you cannot sign in unless you make some configuration changes.

                          Uncomment the "admin=admin" line from the server/xxx/conf/props/jmx-console-users.properties file and then try again. (Hope this is correct, I am writing this from home and don't have a copy of EAP here to verify the file name and contents.)

                          Also, if i recall correctly, the readme file has information on configuring the security settings.

                          • 10. Re: jmx-console - blank page return

                            Peter,

                            The line is uncommented.

                            Do you think is it related to the following topic? http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106353

                            Thanks,
                            Andre

                            • 11. Re: jmx-console - blank page return
                              peterj

                              I do not think that topic relates to what you are seeing.

                              Because you have EAP, you must have a support contract, and that contract should come with a support contact. I suggest you make this issue known through your support contact.

                              When I use EAP, if I uncomment the admin=admin line, when I go to the jmx-console, the browser displays a login dialog and once I enter admin/admin, I see the jmx-console home page. Other than reinstalling, the only other thing I can suggest is contacting support.

                              • 12. Re: jmx-console - blank page return
                                peterj

                                A few more thoughts.

                                What operating system are you using? There is a line in the console log that identifies this.

                                How are you starting JBossEAP? Via the run script, or as a service?

                                What JVM are you using? There are lines in the console log file that identify this.

                                • 13. Re: jmx-console - blank page return

                                  Hi Peter,

                                  Lines from boot.log:

                                  11:53:28,256 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
                                  11:53:28,257 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
                                  11:53:28,257 INFO [ServerInfo] OS-System: Linux 2.6.16.60-0.21-default,i386
                                  11:53:28,257 DEBUG [ServerInfo] Full System Properties Dump
                                  11:53:28,258 DEBUG [ServerInfo] java.vendor: Sun Microsystems Inc.
                                  11:53:28,258 DEBUG [ServerInfo] sun.java.launcher: SUN_STANDARD
                                  11:53:28,258 DEBUG [ServerInfo] sun.management.compiler: HotSpot Server Compiler
                                  11:53:28,258 DEBUG [ServerInfo] os.name: Linux

                                  Line from ps -ef:
                                  jboss 15368 1 0 Sep13 ? 00:00:00 /bin/sh /opt/jboss/bin/run.sh

                                  • 14. Re: jmx-console - blank page return
                                    peterj

                                    What browser are you using?

                                    1 2 Previous Next