9 Replies Latest reply on May 3, 2006 2:52 AM by sachet singh

    JBoss web-console not working.

    dheerajchugh Newbie

      When i try to access the web console using the URL:-

      http://localhost:8080/web-console/index.html

      It is not able to load the applet class, gives a error message saying that:- "class org.jboss.console.navtree.AppletBrowser not found"

      Has anybody tried running the web-console in JBoss 3.2.3? Do i need to do something special to make this work, other than this everything is working fine for me, jmx-console etc.


      Thanks,
      Dheeraj.

        • 1. Re: JBoss web-console not working.
          Adrian Brock Master

          Download the Sun java plugin for your browser.

          • 2. Re: JBoss web-console not working.
            dheerajchugh Newbie

            When i visited the sub web site to download the plugin, i found this on that page:-

            "Java Plug-in technology is part of the current version of the Java 2 Runtime Environment, Standard Edition (JRE). Download the JRE."

            But i already have the JRE installed on my machine and i am also able to run other applets. Infact Weblogic console is also an applet, where it also shows a tree, that is also working fine for me on the same machine/browser.

            So can you guide me what could be wrong in this case. OR if you still want me to try the plugin, then can you please send me the exact URL from where i can download that plugin and try to get this issue resolved.


            Thanks,
            Dheeraj.

            • 3. Re: JBoss web-console not working.
              Adrian Brock Master

               

              "dheerajchugh" wrote:
              OR if you still want me to try the plugin


              I don't want you to do anything, it is you who wants me to help you running the web-console.

              Show me:
              1) You have looked in your about/plugins/whatever menu to check that you have the
              Sun plugin installed and not some crappy M$ VM or Kaffe
              2) The full output from the java console

              • 4. Re: JBoss web-console not working.
                Robb Nicholson Newbie

                Try using Netscape or Mozilla or some other standards compliant browser.

                The web console doesn't work in Explorer for either because it uses the MS VM.

                • 5. Re: JBoss web-console not working.
                  Robb Nicholson Newbie

                  Try using Netscape or Mozilla or some other standards compliant browser.

                  The web console doesn't work in Explorer for either because it uses the MS VM.

                  • 6. Re: JBoss web-console not working.
                    dheerajchugh Newbie

                    Adrian,

                    Thanks for your inputs. But i must say that your language was really rude. I simply asked for the URL where i can find the plugin that you want me to download, and this is very simple question that you might expect......anyways, i found it.


                    Finally i download the latest JRE from Sun and i got the option in my browser for enabling the Java and i was able to run the applet in IE itself.


                    Thanks,
                    Dheeraj.

                    • 7. Re: JBoss web-console not working.
                      Philip Saville Newbie

                      Hmm. I have the exact same problem.

                      I have installed and re-installed the JRE and J2EE java installations. All the environment configuration is correct, the MS VM is not installed either (or actually more to the point, I uninstalled it).

                      I tested on a colleagues machine to access the Console Applet, and it worked just fine. He had Java 1.4.2_03 installed! I believe it maybe a compatibility issue between JBoss 3.2.25 and Java 1.4.2_05? I shall continue to try with a Mozilla installation.

                      Here is the console error message:

                      load: class org.jboss.console.navtree.AppletBrowser not found.
                      
                      java.lang.ClassNotFoundException: org.jboss.console.navtree.AppletBrowser
                      
                       at sun.applet.AppletClassLoader.findClass(Unknown Source)
                      
                       at java.lang.ClassLoader.loadClass(Unknown Source)
                      
                       at sun.applet.AppletClassLoader.loadClass(Unknown Source)
                      
                       at java.lang.ClassLoader.loadClass(Unknown Source)
                      
                       at sun.applet.AppletClassLoader.loadCode(Unknown Source)
                      
                       at sun.applet.AppletPanel.createApplet(Unknown Source)
                      
                       at sun.plugin.AppletViewer.createApplet(Unknown Source)
                      
                       at sun.applet.AppletPanel.runLoader(Unknown Source)
                      
                       at sun.applet.AppletPanel.run(Unknown Source)
                      
                       at java.lang.Thread.run(Unknown Source)
                      
                      Caused by: java.net.SocketException: SOCKS: Connection not allowed by ruleset
                      
                       at java.net.SocksSocketImpl.connect(Unknown Source)
                      
                       at java.net.Socket.connect(Unknown Source)
                      
                       at sun.net.NetworkClient.doConnect(Unknown Source)
                      
                       at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
                      
                       at sun.net.www.http.HttpClient.openServer(Unknown Source)
                      
                       at sun.net.www.http.HttpClient.openServer(Unknown Source)
                      
                       at sun.net.www.http.HttpClient.<init>(Unknown Source)
                      
                       at sun.net.www.http.HttpClient.<init>(Unknown Source)
                      
                       at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
                      
                       at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
                      
                       at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
                      
                       at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
                      
                       at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
                      
                       at java.net.HttpURLConnection.getResponseCode(Unknown Source)
                      
                       at sun.applet.AppletClassLoader.getBytes(Unknown Source)
                      
                       at sun.applet.AppletClassLoader.access$100(Unknown Source)
                      
                       at sun.applet.AppletClassLoader$1.run(Unknown Source)
                      
                       at java.security.AccessController.doPrivileged(Native Method)
                      
                       ... 10 more



                      • 8. Re: JBoss web-console not working.
                        sachet singh Newbie

                        Hi,

                        I am facing a similar issue. Pls see exception at the end.

                        I am using
                        JBoss Version: 4.0.2(build: CVSTag=JBoss_4_0_2 date=200505022023)
                        Jre Version 1.5.0 (build 1.5.0_06-b05)

                        Is this an issue with JBoss 4 ?

                        Thanks for your time

                        ===Exception===

                        http://localhost:8180/web-console/Invoker
                        java.io.EOFException
                        at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
                        at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
                        at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
                        at java.io.ObjectInputStream.(Unknown Source)
                        at org.jboss.console.remote.InvokerServlet.processRequest(InvokerServlet.java:80)
                        at org.jboss.console.remote.InvokerServlet.doPost(InvokerServlet.java:133)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                        at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
                        at org.apache.catalina.valves.RequestDumperValve.invoke(RequestDumperValve.java:150)
                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:867)
                        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                        at java.lang.Thread.run(Unknown Source)

                        • 9. Re: JBoss web-console not working.
                          sachet singh Newbie

                          Forgot to mention, the web-console works on the same browser for Jboss 3.2.3

                          ==JBoss Version on which web-console works==
                          Version: 3.2.3(200311301445)

                          Version Name: WonderLand