7 Replies Latest reply on Sep 3, 2003 1:21 AM by rwl

    AppletBrowser does not appear

    tcn Newbie

      Hi!

      I downloaded JBoss, unpacked it, ran run.sh (linux, jdk 1.4.2-beta) and opened http://127.0.0.1:8080/web-console/ but the AppletBrowser on applet.jsp just does not appear (gray rectangle) . On Opera the page seems to have been completely loaded while Konqueror stucks at 99% and keeps on spinning the little wheels in the upper right.

      Well, I assume some exception has been thrown but I don't know which :-) And esp. I don't know why...

        • 1. Re: AppletBrowser does not appear
          tcn Newbie

          Ok, forget about Konqueror :-) But I do have no problems with Opera and other applets.

          • 2. Re: AppletBrowser does not appear
            aagomez Newbie

            hi i download jboss-3.2.1_tomcat-4.1.24 and exec ./run.sh.

            and opened http://127.0.0.1:8080/web-console/ but the AppletBrowser on applet.jsp just does not appear (gray rectangle).

            this not work in IE, Netscape and appletViewer

            in IE 6.0.2800.1106 the error is:

            Error loading class: org.jboss.console.navtree.AppletBrowser
            java.lang.NoClassDefFoundError
            java.lang.ClassNotFoundException: org.jboss.console.navtree.AppletBrowser
            at com/ms/vm/loader/URLClassLoader.loadClass
            at com/ms/vm/loader/URLClassLoader.loadClass
            at com/ms/applet/AppletPanel.securedClassLoad
            at com/ms/applet/AppletPanel.processSentEvent
            at com/ms/applet/AppletPanel.processSentEvent
            at com/ms/applet/AppletPanel.run
            at java/lang/Thread.run


            -----------------------------------------------------
            In netscape 4.7 the error is

            # Applet exception: error: java.lang.ClassFormatError: Bad major version number

            java.lang.ClassFormatError: Bad major version number

            at java.lang.ClassLoader.defineClass(Compiled Code)

            at netscape.applet.AppletClassLoader.findClass(Compiled Code)

            at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)

            * at netscape.applet.AppletClassLoader.loadClass(Compiled Code)

            at netscape.applet.AppletClassLoader.loadClass(Compiled Code)

            at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)

            at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)

            at java.awt.EventDispatchThread.run(Compiled Code)

            at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)


            ---------------------------------------------------------------
            in AppletViewer the error is

            C:\>c:\jdk1.4\bin\appletviewer http://127.0.0.1:8080/web-console/applet
            .jsp

            Exception in thread "main" java.util.MissingResourceException: Can't find resour
            ce for bundle sun.applet.resources.MsgAppletViewer, key appletpanel.badattribute
            .exception
            at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
            at java.util.ResourceBundle.getObject(ResourceBundle.java:311)
            at java.util.ResourceBundle.getString(ResourceBundle.java:274)
            at sun.applet.AppletMessageHandler.getMessage(AppletMessageHandler.java:
            39)
            at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:666)
            at sun.applet.AppletPanel.init(AppletPanel.java:182)
            at sun.applet.AppletViewer.(AppletViewer.java:175)
            at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.jav
            a:80)
            at sun.applet.AppletViewer.parse(AppletViewer.java:1062)
            at sun.applet.AppletViewer.parse(AppletViewer.java:996)
            at sun.applet.Main.run(Main.java:138)
            at sun.applet.Main.main(Main.java:80)


            Please help me.

            • 3. Re: AppletBrowser does not appear
              Frank Seidinger Newbie

              You need the Java Web Start Plugin for your Browser. The best way to do this, is to install the Sun JRE.

              • 4. Re: AppletBrowser does not appear
                tcn Newbie

                The problem actually was (well, still is - too lazy ;) java.policy.

                • 5. Re: AppletBrowser does not appear
                  suneth Newbie

                  Hi,

                  I had the same problem. I copied the jcert.jar,
                  jnet.jar and jsse.jar files to my jre/lib/ext dir.

                  Miracle !!! it works.

                  Well the exception in my case was HttpsURLConnection not found.

                  Hope this solves your prob as well.
                  -suneth kandamby

                  • 6. Re: AppletBrowser does not appear
                    Guy Rouillier Newbie

                    If I put those 3 jars in jre/lib/ext, JBoss 3.2.1 won't even start - I get all kinds of exceptions. This is on JDK 1.4.2, on Windows XP Pro. I also tried changing jre/lib/security/java.policy to all permissions - that also does not work. I have a different system running 3.2.1 on JDK 1.3.1 on Windows 2000 Pro - doesn't work there either. One thing these two systems have in common is that I've moved all the services off their standard ports. The server download port is now 8283.

                    • 7. Re: AppletBrowser does not appear
                      rwl Newbie

                      Hi,

                      Ok. I have also been through these things, and it did not work. What some have said about jdk1.4 is correct, but it is ofcourse in the web browser this is important. Go to Tools - Internet Options - Advanced - and set the "Use Java 2 v1.4.1 for applet" on. If this option is not there, you must install J2SDK1.4.1.

                      I hope this helps.

                      Thank you for all the help forums have given me!

                      Roger