WLDF Extension in 10.3 Applet Failing

Tab comes up in AdminServer screen after adding diagnostics-console-extension.jar file to $DOMAIN_DIR/console-ext
Adminserver service restarted...
Yet when I click on tab i get the following in Java Console.
Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\dj
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
Additional downloads deleted for brevity.
Downloaded
console/wldf/lib/wldfclient.jar
network: Downloading resource: https://ipaddress:17001/console/wldf/lib/wldfclient-L10N.jar
     Content-Length: 3,534
     Content-Encoding: null
network: Cache entry not found [url: https://ipaddress:17001/console/com/bea/diagnostics/dashboard/ChartPanelApplet.class, version: null]
network: Connecting https://1paddress6:17001/console/com/bea/diagnostics/dashboard/ChartPanelApplet.class with proxy=DIRECT
network: Server https://ipaddress:17001/console/com/bea/diagnostics/dashboard/ChartPanelApplet.class requesting to set-cookie with "ADMINCONSOLESESSION=somestring; path=/"
network: Cache entry not found [url: https://ipaddress6:17001/console/login/LoginForm.jsp, version: null]
network: Connecting https:/ipaddress:17001/console/login/LoginForm.jsp with proxy=DIRECT
network: Connecting http://ipaddress:17001/ with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: Server https://ipaddress:17001/console/login/LoginForm.jsp requesting to set-cookie with "ADMINCONSOLESESSION=somestring; path=/"
basic: error: Incompatible magic value 218762506 in class file com/bea/diagnostics/dashboard/ChartPanelApplet.
java.lang.ClassFormatError: Incompatible magic value 218762506 in class file com/bea/diagnostics/dashboard/ChartPanelApplet
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.security.SecureClassLoader.defineClass(Unknown Source)
     at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 218762506 in class file com/bea/diagnostics/dashboard/ChartPanelApplet
I find this class in the wldfclient.jar @
$DOMAIN_DIR//servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/diagnostics-console-extension/wldf/lib
Does that jar file need to be placed somewhere else????
TIA

A very nice way to accomplish this: From within the extension project (in JDev), set the project properties for remote debugging (Run/Debug panel of the project settings dialog, Edit the Default configuration). From a command line execute jdev.exe -ojvm -debug. The dialog that comes up inside of JDev will let you choose localhost. The first instance of JDev will be debugging the one that's about to open.

Similar Messages

  • Applets fail on Firefox + Debian

    Hi all,
    I'm trying to develop an applet but it seems that ALL applets fail.
    I keep getting the same exceptions: java.lang.ClassNotFoundException.
    To prove my point, i directed the browser to the sun applet test page, titled "How do I test whether Java is working on my computer?" (http://www.java.com/en/download/help/testvm.xml) and still get the same exception (full stacktrack on the bottom of the post).
    I'm running Debian lenny, Firefox 3.6 and java 6 update 18.
    As it stated in the tutorial, I created a symbolic from within the firefox plugins page to the appropriate file under the jre.
    It's important to add that other java applications that i run on the machine (not under a browser) works just fine, that is eclipse is running just fine and I use it to develop java applications which also cause no problems with the current jre/jdk.
    I pretty much spent the whole day searching the net for related posts but could not find anything that helps.
    Any ideas?
    Thanks!
    Complete stack trace for the applet test page:
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@15d0ff7
    network: Cache entry not found [url: http://www.java.com/applet/testvm2/Main.class, version: null]
    network: Connecting http://www.java.com/applet/testvm2/Main.class with proxy=DIRECT
    network: Connecting http://www.java.com:80/ with proxy=DIRECT
    network: Cache entry not found [url: http://www.java.com/applet/testvm2/Main/class.class, version: null]
    network: Connecting http://www.java.com/applet/testvm2/Main/class.class with proxy=DIRECT
    network: Connecting http://www.java.com:80/ with proxy=DIRECT
    basic: load: class testvm2/Main.class not found.
    load: class testvm2/Main.class not found.
    java.lang.ClassNotFoundException: testvm2.Main.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:152)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:444)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2940)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1444)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.net.ConnectException: Network is unreachable
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:525)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:161)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Applet2ClassLoader.java:458)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Applet2ClassLoader.java:46)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Applet2ClassLoader.java:126)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:123)
         ... 6 more
    Exception: java.lang.ClassNotFoundException: testvm2.Main.class
    Ignored exception: java.lang.ClassNotFoundException: testvm2.Main.classEdited by: nitzan on Mar 1, 2010 9:54 AM

    baftos,
    I'm sorry for not mentioning this in my original post, but i first encountered this exception when trying to run the applet I'm developing, this applet is part of a firefox extension and is being called from a chrome url (chrome://) which is basically local, and i know for a fact that the browser can reach that url because when the address is pasted into the address bar you get the "download file" dialog.
    Also, when I try to load the page of the test applet using the same computer but under windows (using VirtualBox) the applet works just fine with firefox 3.6 (windows).
    Thank you.

  • Applet failed to load when visited using HTTPs protocol with Java 7

    We have a java applet on our website which worked for ages. Then Java 7 came out, people installed it. When people with Java 7 visiting our website using HTTPS, the applet failed to load (ClassNotFoundException). The same site and the same applet, when visit using regular HTTP, it works fine.
    People with previous version of Java (1.6.x) can see the applet using either HTTP or HTTPs with no problem.
    Anything we can do on our side to resolve this problem for people with Java 7 and like to stay with HTTPS?
    Googled and didn't see any relevant result. Any pointer would be much appreciated.

    Thanks for the quick response.
    Not much on the stack trace, did a tread dump below.
    It is an application requires login, please sent and email to [email protected] and I will sent you the url and login info by email.
    Thanks
    plugin2manager.parentwindowDispose
    Java Plug-in 10.4.0.22
    Using JRE version 1.7.0_04-b22 Java HotSpot(TM) Client VM
    User home directory = C:\Users\dchen
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Dump thread stack ...
    2012-05-10 17:17:59
    Full thread dump Java HotSpot(TM) Client VM (23.0-b21 mixed mode, sharing):
    "D3D Screen Updater" daemon prio=8 tid=0x04fa1800 nid=0x530 in Object.wait() [0x0a0df000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
         - locked <0x296c0248> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "ConsoleTraceListener" daemon prio=4 tid=0x04fa0000 nid=0x269c in Object.wait() [0x09c8f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
         - locked <0x296c0c90> (a com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$BoundedStringBuffer)
    "AWT-EventQueue-1" prio=6 tid=0x04fa2000 nid=0x1730 waiting on condition [0x0a6ce000]
    java.lang.Thread.State: RUNNABLE
         at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacksImpl(Native Method)
         at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacks(Unknown Source)
         at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow$2.actionPerformed(Unknown Source)
         at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "TimerQueue" daemon prio=4 tid=0x04f9e000 nid=0x3e0c waiting on condition [0x09f3f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x24620900> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.util.concurrent.DelayQueue.take(Unknown Source)
         at javax.swing.TimerQueue.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-4" prio=4 tid=0x04fa1400 nid=0x255c waiting on condition [0x0945f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x246209e8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "Applet 5 LiveConnect Worker Thread" prio=4 tid=0x04f9f400 nid=0x3994 in Object.wait() [0x05d9f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
         - locked <0x24620ac8> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-0" prio=6 tid=0x04f9fc00 nid=0x3b2c waiting on condition [0x0608f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x2979ab70> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "AWT-Shutdown" prio=6 tid=0x04f9e800 nid=0x244c in Object.wait() [0x0669f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at sun.awt.AWTAutoShutdown.run(Unknown Source)
         - locked <0x2979acd8> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "TimerQueue" daemon prio=6 tid=0x04fa0c00 nid=0x3914 waiting on condition [0x0a65f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x29c27340> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.util.concurrent.DelayQueue.take(Unknown Source)
         at javax.swing.TimerQueue.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "JVM[id=2]-Heartbeat" daemon prio=6 tid=0x04f9ec00 nid=0x3c98 in Object.wait() [0x0687f000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at sun.plugin2.main.server.HeartbeatThread.run(Unknown Source)
         - locked <0x2979a7a0> (a sun.plugin2.main.client.PluginMain$Heartbeat)
    "Browser Side Object Cleanup Thread" prio=6 tid=0x04f9d000 nid=0x3ce4 in Object.wait() [0x0710f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979a958> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979a958> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.plugin2.main.client.LiveConnectSupport$BrowserSideObjectCleanupThread.run(Unknown Source)
    "CacheCleanUpThread" daemon prio=6 tid=0x04f9dc00 nid=0x2500 in Object.wait() [0x0655f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979a978> (a com.sun.deploy.cache.CleanupThread)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
         - locked <0x2979a978> (a com.sun.deploy.cache.CleanupThread)
    "CacheMemoryCleanUpThread" daemon prio=6 tid=0x04f9d400 nid=0x1ac4 in Object.wait() [0x0611f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979aa68> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979aa68> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)
    "SysExecutionTheadCreator" daemon prio=6 tid=0x04f9c800 nid=0x3ff4 in Object.wait() [0x0660f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator.run(Unknown Source)
         - locked <0x2979aa88> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)
    "AWT-Windows" daemon prio=6 tid=0x04f8f000 nid=0x3480 runnable [0x026af000]
    java.lang.Thread.State: RUNNABLE
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
    "Java2D Disposer" daemon prio=10 tid=0x04f8d000 nid=0x1920 in Object.wait() [0x064ff000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979ad68> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.java2d.Disposer.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "Java Plug-In Pipe Worker Thread (Client-Side)" daemon prio=6 tid=0x04f8a000 nid=0x580 runnable [0x0617f000]
    java.lang.Thread.State: RUNNABLE
         at sun.plugin2.os.windows.Windows.ReadFile0(Native Method)
         at sun.plugin2.os.windows.Windows.ReadFile(Unknown Source)
         at sun.plugin2.ipc.windows.WindowsNamedPipe.read(Unknown Source)
         at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.read(Unknown Source)
         at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.readByte(Unknown Source)
         at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source)
         at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source)
         at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)
    "Timer-0" prio=6 tid=0x04f3d800 nid=0x2c38 in Object.wait() [0x0521f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979b0a8> (a java.util.TaskQueue)
         at java.lang.Object.wait(Object.java:503)
         at java.util.TimerThread.mainLoop(Unknown Source)
         - locked <0x2979b0a8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Unknown Source)
    "traceMsgQueueThread" daemon prio=6 tid=0x04f19c00 nid=0x3b50 in Object.wait() [0x054cf000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.trace.Trace$TraceMsgQueueChecker.run(Unknown Source)
         - locked <0x298209e0> (a java.util.ArrayList)
         at java.lang.Thread.run(Unknown Source)
    "Service Thread" daemon prio=6 tid=0x04e80c00 nid=0x2930 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "C1 CompilerThread0" daemon prio=10 tid=0x04e7c400 nid=0x2648 waiting on condition [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x04e7b000 nid=0x1b5c runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x04e77c00 nid=0x1bd0 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x022e1000 nid=0x3d00 in Object.wait() [0x04c5f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979b330> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    "Reference Handler" daemon prio=10 tid=0x022df800 nid=0x3644 in Object.wait() [0x04bdf000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
         - locked <0x2979a0c8> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x0036d800 nid=0x2f40 in Object.wait() [0x00a2f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
         - locked <0x2979b3b8> (a sun.plugin2.message.Queue)
         at sun.plugin2.message.Pipe$1.run(Unknown Source)
         at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
         at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
         at sun.plugin2.message.Pipe.receive(Unknown Source)
         at sun.plugin2.main.client.PluginMain.mainLoop(Unknown Source)
         at sun.plugin2.main.client.PluginMain.run(Unknown Source)
         at sun.plugin2.main.client.PluginMain.main(Unknown Source)
    "VM Thread" prio=10 tid=0x022de400 nid=0x3cc0 runnable
    "VM Periodic Task Thread" prio=10 tid=0x04ea9000 nid=0x3fd4 waiting on condition
    .main.client.PluginMain.run(Unknown Source)
         at sun.plugin2.main.client.PluginMain.main(Unknown Source)
    "VM Thread" prio=10 tid=0x022de400 nid=0x3cc0 runnable
    "VM Periodic Task Thread" prio=10 tid=0x04ea9000 nid=0x3fd4 waiting on condition
    Done.

  • [SOLVED]nm-applet fails to launch after update

    Hi,
    I've just updated NetworkManager and network-manager-applet:
    [2012-10-31 20:16] upgraded networkmanager (0.9.6.0-2 -> 0.9.6.4-1)
    [2012-10-31 20:16] upgraded network-manager-applet (0.9.6.2-1 -> 0.9.6.4-1)
    After reboot nm-applet fails to launch with the following error:
    ** (nm-applet:6657): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules; type="method_call", sender=":1.48" (uid=1000 pid=6657 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=267 comm="/usr/sbin/NetworkManager --no-daemon ")
    ** Message: applet now removed from the notification area
    ** Message: applet now embedded in the notification area
    ** Message: applet now removed from the notification area
    ** (nm-applet:6657): WARNING **: Failed to register as an agent: (32) Session not found
    When using sudo nm-applet:
    ** Message: applet now removed from the notification area
    ** Message: applet now embedded in the notification area
    ** (nm-applet:6767): WARNING **: Failed to register as an agent: (32) Session not found
    Any idea on what went wrong after the update?
    Thank you in advance!
    EDIT:
    While migrating to systemd, I forgot to replace the ConsoleKit line in /etc/pam.d/slim with:
    session required pam_systemd.so
    ->Problem solved
    Last edited by geekmiki (2012-11-01 00:53:29)

    Related news: https://www.archlinux.org/news/consolek … by-logind/

  • The applet fails to load. with 'red cross' screen JVM 1.6.19 and above

    After updating the JVM to one of the latest version 1.6 builds, our users started to experience a problem with opening java applets.
    All the users have JVM versions 1.6.0_19 – 1.6.0_26 on Windows 7/2008. The browser is IE8. On the server usually there is IIS7, with ‘Integrated Windows authentication’
    on applet’s virtual folder. Applet’s classes are packaged into a signed JAR file. Both the client and the server are located in the same local area network with no proxy or firewall between them.
    The applet’s website usually belongs to the trusted security zone. When loaded, the applet establishes HTTP connection to the server to get the necessary data.
    When the user tries to open an HTML page containing the applet, there can be the following scenarios:
    1.     The applet fails to load. We’re getting a ‘red cross’ screen. All the HTML elements except of the applet are loaded OK.
    From the IIS log we can see that the loading of the JAR file failed with the error code 401, the user name field in the log for the JAR is empty.
    2.     The java asks for the user name and password showing a popup ‘Authentication required’. At this moment we can see the following message in the Java console:
    network: Firewall authentication: site=/XX.XX.XX.XX:XX, protocol=http, prompt=, scheme=ntlm
    If the user enters the correct credentials, the applet loads OK. Even if the user checks the ‘Save the password in your password list’ checkbox, Java continues to ask for credentials
    on every page reload. It’s worth to note that the company’s external firewall doesn’t get any requests from the applet.
    The problems happen even when the client and the server are located on the same machine, but never happens when we use localhost as the server name in the page URL.
    During investigations we found out the following workarounds:
    1.     Enabling anonymous authentication on the virtual folder always solves the problem.
    2.     Sometimes, changing security zone from ‘Trusted’ to ‘Local intranet’ solves the scenario 2 (‘Authentication required’ popup) problem.
    It’s worth to note that changing the security zone never helps if the page URL contains dots (for example, uses IP address instead the server name).
    3.     Upgrading to IE9 solves the scenario 2 problem partly: Java asks for the credentials only once.

    I have the same issue. I use single sign-on with IIS 7 and Integrated Window authentication on the tomcat virtual folder. The applet jar file is on the root directory of the web application (the same level of index.html). So I use '.' as the code_base to call the applet from javascript.
    So when I launch my web application into a browser, the auto-connection is successfully performed (single sign-on through Upstream, kerberos, remote_user, ...). But when I want to launch the applet in the web application, a new authentication panel (red panel with "authentication required") occurs in order to set credentials (login, password, domain) with the message in the java applet console:
    "network: Firewall authentication: site=myApplicationUrl, protocol=http, prompt=, scheme=ntlm"
    So why the applet doesn't inherit previous credentials in this case ??
    Have you solved this problem ?
    Thanks
    Edited by: 886341 on 20 sept. 2011 08:56

  • Loading Java Applet Failed in CRM 2007 Web Client Marketing

    We have recently upgraded our CRM 4.0 sp6 system to CRM 2007.  As part of this upgrade we configured the SAP Best Practice Building Blocks.  Logging on to the webclient using the user MKT_MAN (assigned business role BP_MKT_MAN) we get an error when trying to run the Marketing Calendar.  the error we get is that "Loading Java Applet Failed" the specific applet in question is: Applet com.sap.crm.mkt.calendar.applet.MktCalendar notinited
    We have implemented the following SAP notes to try and rectify the issue but with no success:
    Note 1177590 - Version 2.0 of Marketing Calendar java applet
    Note 1237477 - Marketing Calendar is not displayed, Tensegrity Library
    Any ideas as to what can resolve this issue
    Thanks in advance
    Eddie

    Hi Eddie
    I have exactly the same problem, using IE 6.0 & JRE 1.4.2_07.
    What I have found is that users in my company with the same configuration on their machines, same settings as above can load the Marketing Calendar without issue.
    Have loaded the same notes as yourself already.
    I have managed to get it to working by switching off my proxy settings entirely. This is fine for testing but of no use for go live.
    I have also found that when it does finally load successfully it is incredibly slow in comparison to other functionality within the WEB UI.
    Thus far I have logged an OSS Message regarding this matter, could I recommend you do the same, this should encourage SAP that the issue is not isolated.
    Good Luck
    Arden

  • COREid 7.0.4 - Group Manager Workflow - Applet Fails to Load

    I am having a problem with a new installation of COREid 7.0.4. All applets in User, Group and Org Manager work fine with the exception of the Group Manager Workflow configuration Applet. The applet fails to load. Has anyone ever experienced this problem before? Any help is appreciated. The system information is:
    Windows 2003 Server
    IIS 6.0
    AD 2003
    Java Plug-in 1.5.0_04
    The Java Console trace information is pasted below.
    Java Plug-in 1.5.0_04
    Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\user
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@14ce5eb, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@3e0339
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    network: Connecting http://localhost/identity/oblix/apps/groupservcenter/bin/groupservcenter.cgi?program=addCookie&time=1149264001561 with proxy=DIRECT
    network: Connecting http://localhost/identity/oblix/apps/groupservcenter/bin/groupservcenter.cgi?program=addCookie&time=1149264001561 with cookie "ObTEMC=648DCJKwxHQaRBcRGeOlel6xakVeEZs%2FVoSGqgLCgKemQQqI1qzeb30lOpg6OErpJp2LLzZogAK%2Fsrwtl%2BSREhXMw5g5ba4wUveFKa2oCzwcmfgBcGizP2eKV6gQFkKkXtA%2FsuydnB1KEIQhYdhevWExlcN8yRFE1TYKj%2BJxXdrdf8bP6jVLmPp5MXwHrO0iojKnh1iumldPon8i67uy%2BiurULgOkxsGA4Io%2F363uDc%3D; ObTEMP=%23comp_cookie%3Dfalse%23OblixUserNameCookie%3DUser%20Name%23"
    network: Server http://localhost/identity/oblix/apps/groupservcenter/bin/groupservcenter.cgi?program=addCookie&time=1149264001561 requesting to set-cookie with "ObTEMP=%23comp_cookie%3Dfalse%23OblixUserNameCookie%3DUser%20Name%23; path=/;"
    network: Connecting http://localhost/identity/oblix/apps/groupservcenter/bin/groupservcenter.cgi?program=addCookie&time=1149264001577 with proxy=DIRECT
    network: Connecting http://localhost/identity/oblix/apps/groupservcenter/bin/groupservcenter.cgi?program=addCookie&time=1149264001577 with cookie "ObTEMC=648DCJKwxHQaRBcRGeOlel6xakVeEZs%2FVoSGqgLCgKemQQqI1qzeb30lOpg6OErpJp2LLzZogAK%2Fsrwtl%2BSREhXMw5g5ba4wUveFKa2oCzwcmfgBcGizP2eKV6gQFkKkXtA%2FsuydnB1KEIQhYdhevWExlcN8yRFE1TYKj%2BJxXdrdf8bP6jVLmPp5MXwHrO0iojKnh1iumldPon8i67uy%2BiurULgOkxsGA4Io%2F363uDc%3D; ObTEMP=%23comp_cookie%3Dfalse%23OblixUserNameCookie%3DUser%20Name%23"
    network: Server http://localhost/identity/oblix/apps/groupservcenter/bin/groupservcenter.cgi?program=addCookie&time=1149264001577 requesting to set-cookie with "ObTEMP=%23comp_cookie%3Dfalse%23OblixUserNameCookie%3DUser%20Name%23; path=/;"
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVnew.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVdelete.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVadd.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVsaveworkflow.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVcancelworkflow.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVprevious.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVnext.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVnew.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/2NAVnew.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVmodify.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/2NAVmodify.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVdelete.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/2NAVdelete.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVcopy.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/2NAVcopy.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVview.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/2NAVview.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVenable.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/2NAVenable.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/NAVexportall.gif
    basic: Loaded image: http://localhost/identity/oblix/lang/en-us/style0/2NAVexportall.gif
    java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(Unknown Source)
    at com.oblix.workflow.ObWorkFlow.prepareForms(ObWorkFlow.java:3010)
    at com.oblix.workflow.ObWorkFlow.init(ObWorkFlow.java:1109)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.util.NoSuchElementException
    Exception in thread "thread applet-com.oblix.workflow.ObWorkFlow.class" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Yes, I do
    It's working for other things, only problem is usermanager workflow definition
    This is the error:
    Java(TM) Plug-in: Version 1.3.1_07
    Using JRE version 1.3.1_07 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\pwaxa64
    Proxy Configuration: Browser Proxy Configuration
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    java.util.NoSuchElementException
         at java.util.StringTokenizer.nextToken(Unknown Source)
         at com.oblix.workflow.ObWorkFlow.setDisplayTypes(ObWorkFlow.java:2085)
         at com.oblix.workflow.ObWorkFlow.init(ObWorkFlow.java:1027)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks

  • CRM 2007 - Marketing Calendar - Applet Failed

    Hi Gurus
    When trying to view the Marketing Calendar, I get "Loading Java Applet Failed" message.
    The rest of the screen displays correctly, just the Calendar itself does not display.
    One of my colleagues has his PC set-up the same as me and it works for him, I've tried to mimic his set-up but still the issue remains.
    I'm on I.E 6.0 Java version JRE 1.4.2_07
    Maximum points for a speedy resolution to this.
    Many Thanks
    Panduranga

    Hi Alexandre
    Ended up logging as OSS message.
    Applied notes: 1237477 & 1177590 as per recommendation.
    Due to Proxy issues also had to update Exclusions in Lan settings.
    Once this was sorted the Calendar did display.
    Still a number of issues:
    Very slow to load
    Tends to crash after only a number of changes
    Will deal with these at a later date.
    Will award you full points as this is still the correct answer.
    Many Thanks
    Panduranga

  • Partial Get via   IE Browser/applet failing ... need help !?

    Partial Get via IE Browser/applet failing ... need help !?
    I recall someone saying that IE client would not receive a partial get initiated by http URL with setRequestProperty("range","bytes=2-");
    Can anyone elaborate on why the client seems to balk at the returned result and the getinputStream seems to result in a FileNotFoundException
    Do I have to use sockets ??????

    Partial Get via IE Browser/applet failing ... need help !?
    I recall someone saying that IE client would not receive a partial get initiated by http URL with setRequestProperty("range","bytes=2-");
    Can anyone elaborate on why the client seems to balk at the returned result and the getinputStream seems to result in a FileNotFoundException
    Do I have to use sockets ??????

  • Applet failed problem

    Hi!
    Im new to working with Java applets. I am going to describe my problem with the applet I have written and all the circumstances of it because maybe I have missed out some little detail that somebody can point out.
    So, I was given the assignment of modifying my Professor's applet a little bit. The structure of the code was class example1 extends class table extends class BufferedApplet. I made the changes to the applet using Netbeans IDE 4.1. So the applet runs perfectly in the applet viewer, and the HTML page created by the netbeans on running the example1.java code also works fine if I open it from the build folder using firefox, or explorer.
    So I thought, great, I got my assignment done. We must post the applet on our website for it to get graded. So I uploaded the example1.class file and the example1.html file to the same directory on the webpage. I added table.class and BufferedApplet.class as well, just to be safe. All three source files are also in the same directory, coz we have to provide links to them for the assignment.
    Now, when I open the webpage, it wont display the applet. It shows me a white box with a red cross in the top left corner and gives me the message "loading java applet failed". sometimes, there are variations like "example not inited" or "java.lang.NullPointerException"... Here is what the Sun Java console had to say:
    Java Plug-in 1.5.0_04
    Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Vidya at work
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NoClassDefFoundError: example1 (wrong name: multimedia/example1)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         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)
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-example1.class" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError: example1 (wrong name: multimedia/example1)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         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)
    I have been trying to find solutions to this problem for weeks now.... Please help!!!!
    Here is my html page....
    <HTML>
    <HEAD>
    <TITLE>Modified Test Environment</TITLE>
    </HEAD>
    <BODY bgcolor=black text=white link=white alink=white vlink=white>
    <!--
    *** GENERATED applet HTML launcher - DO NOT EDIT IN 'BUILD' FOLDER ***
    If you need to modify this HTML launcher file (e.g., to add applet parameters),
    copy it to where your applet class is found in the SRC folder. If you do this,
    the IDE will use it when you run or debug the applet.
    Tip: To exclude an HTML launcher from the JAR file, use exclusion filters in
    the Packaging page in the Project Properties dialog.
    For more information see the online help.
    -->
    <H3>Modified Test Environment</H3>
    <center>
    <APPLET codebase="." code="example1.class" width=500 height=500></APPLET>
    </center>
    <P>
    Source: example1 extends table extends BufferedApplet
    </P>
    </BODY>
    </HTML>
    ???????????????????????????????????????????????????

    Hi!
    Im new to working with Java applets. I am going to describe my problem with the applet I have written and all the circumstances of it because maybe I have missed out some little detail that somebody can point out.
    So, I was given the assignment of modifying my Professor's applet a little bit. The structure of the code was class example1 extends class table extends class BufferedApplet. I made the changes to the applet using Netbeans IDE 4.1. So the applet runs perfectly in the applet viewer, and the HTML page created by the netbeans on running the example1.java code also works fine if I open it from the build folder using firefox, or explorer.
    So I thought, great, I got my assignment done. We must post the applet on our website for it to get graded. So I uploaded the example1.class file and the example1.html file to the same directory on the webpage. I added table.class and BufferedApplet.class as well, just to be safe. All three source files are also in the same directory, coz we have to provide links to them for the assignment.
    Now, when I open the webpage, it wont display the applet. It shows me a white box with a red cross in the top left corner and gives me the message "loading java applet failed". sometimes, there are variations like "example not inited" or "java.lang.NullPointerException"... Here is what the Sun Java console had to say:
    Java Plug-in 1.5.0_04
    Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Vidya at work
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NoClassDefFoundError: example1 (wrong name: multimedia/example1)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         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)
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-example1.class" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError: example1 (wrong name: multimedia/example1)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         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)
    I have been trying to find solutions to this problem for weeks now.... Please help!!!!
    Here is my html page....
    <HTML>
    <HEAD>
    <TITLE>Modified Test Environment</TITLE>
    </HEAD>
    <BODY bgcolor=black text=white link=white alink=white vlink=white>
    <!--
    *** GENERATED applet HTML launcher - DO NOT EDIT IN 'BUILD' FOLDER ***
    If you need to modify this HTML launcher file (e.g., to add applet parameters),
    copy it to where your applet class is found in the SRC folder. If you do this,
    the IDE will use it when you run or debug the applet.
    Tip: To exclude an HTML launcher from the JAR file, use exclusion filters in
    the Packaging page in the Project Properties dialog.
    For more information see the online help.
    -->
    <H3>Modified Test Environment</H3>
    <center>
    <APPLET codebase="." code="example1.class" width=500 height=500></APPLET>
    </center>
    <P>
    Source: example1 extends table extends BufferedApplet
    </P>
    </BODY>
    </HTML>
    ???????????????????????????????????????????????????

  • Some applets fail to run after installing jre 1.5/5.0

    Hi,
    I have a big problem. After installing java runtime environment 5.0 / 1.5, some java applets from sites no longer work. I can view certain java applets, but strangely, some applets do not work. For example, when I try to log into the Hushmail account <www.hushmail.com>, the applet fails to load properly. I enabled tracing and logging and this is the output from the console:
    basic: Registered modality listener
    security: Accessing keys and certificate in Mozilla user profile: <Note: PATH removed for security reasons>
    security: JSS package is not found
    security: JSS is not configured
    java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at java.net.URL.getURLStreamHandler(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.plugin.AppletViewer.setDocumentBase(Unknown Source)
         at sun.plugin.viewer.WNetscapePluginObject.setDocumentURL(Unknown Source)
    Caused by: java.lang.NullPointerException
         at java.security.SecureRandom.nextBytes(Unknown Source)
         at java.security.SecureRandom.next(Unknown Source)
         at java.util.Random.nextInt(Unknown Source)
         at com.sun.deploy.net.protocol.https.Handler$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.net.protocol.https.Handler.<clinit>(Unknown Source)
         ... 8 more
    basic: Registered modality listener
    java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at java.net.URL.getURLStreamHandler(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.plugin.AppletViewer.setDocumentBase(Unknown Source)
         at sun.plugin.viewer.WNetscapePluginObject.setDocumentURL(Unknown Source)
    Strangely, there is a message "JSS package is not found" from the console output above. What is this error and how do I rectify the problem so that I can view all applets without any problems?
    This is my system configuration:
    Windows 2000 Professional Service Pack 4
    Java Runtime Environment 1.5
    Mozilla 1.7.3

    Probably due to Mozilla configuration, see this search:
    http://www.google.com/search?num=100&hl=en&lr=lang_en&c2coff=1&q=jss+package+mozilla

  • Applett failed to load

    I keep getting "applet failed to load" message

    Hi donna232,
    Can you give us a few more details about your issue? Is this occurring when trying to load a particular web page, for instance?
    Let us know, we will keep helping you.
    Best of luck.

  • Loading Java Applet Failed : Getting Red "X"

    Hi all
    I have JRE 1.6.0_07 loaded on my machine. When i try to access a particular website from my machine i can see an orange Java Logo and then after some time i get a "Red" "X" on top left with a message in bottom of browser
    "Loading Java Applet Failed".
    I am Using IE 6.0.2900.2180.xpsb_sp2...on a Windows XP SP2 Professional .
    I also get a Error Message as
    "General Exception"
    Name - Batchmanage
    Java.lang.classnotfoundexception.batch.class
    1) However when i disable Options ==> Advance ==> Java(Sun) ==> Use JRE 1.6.0_07 for <applet>
    and enable Options ==> Advance ==> Microsoft VM ==> Jit Compiler for VM enabled
    Application runs fine.
    2) But if i Enable Options ==> Advance ==> Java(Sun) ==> Use JRE 1.6.0_07 for <applet>
    and disable Options ==> Advance ==> Microsoft VM ==> Jit Compiler for VM enabled
    Applications Give error mentioned above and Red X
    3) Similary if i enable Options ==> Advance ==> Java(Sun) ==> Use JRE 1.6.0_07 for <applet>
    As well as enable Options ==> Advance ==> Microsoft VM ==> Jit Compiler for VM enabled
    Still Application Gives error mentioned above and Red X
    For some machines we have observed that it runs fine with Java (Sun) enabled with no Microsoft VM
    Any advise or help would be appreciated
    Thanks

    Hi,
    I am facing the similar problem and following is my applet code which is causing the problem.
    Can you please help me out?
    *<applet name="lic_install" archive="gias/sign_lic_install.jar" codebase="/irj/portalapps/com.test/applet" code="gias/step4calicenses.class" width=200 height=75px>*
    *<param name="sitelicenseurl" value="http://abc.test.com/irj/servlet/prt/portal/prtroot/com.test.DownloadALPLicenses" >*
    *<param name="siteProdcodesURL" value="http://abc.test.com/licenses/applet/gias/prod_codes.txt" >*
    *<param name="siteLic98URL" value="http://abc.test.com/licenses/applet/gias/lic98.cap" >*
    *<param name="siteGetRegistryValDll" value="http://abc.test.com/licenses/applet/gias/step4jnigetpath.dll" >*
    *<param name="siteMergeWinEXE" value="http://abc.test.com/licenses/applet/gias/mergeolf.exe" >*
    *</applet>*

  • Loading Java Applet Failed...Anyone please help.

    I am using JDeveloper 10.1.3
    Package: c17UPackage
    Java Applet: C17UPoloTestApplet.java
    Applet Html: C17UPoloTestHtml.html
    When I run C17UPoloTestHtml.html using Embedded OC4J server the HTML pages give me this error "Applet c17UPackage.view.C17UPoloTestApplet notinited" and "Loading Java Applet Failed...".
    In the Java Console it give me this error:
    java.lang.InstantiationError: oracle.jbo.JboException
    at oracle.jbo.common.JBOClass.initLoader(JBOClass.java:93)
    at oracle.jbo.common.JBOClass.<clinit>(JBOClass.java:34)
    at oracle.jbo.common.StringManagerFactory.create(StringManagerFactory.java:112)
    at oracle.jbo.common.StringManager.getSingleton(StringManager.java:110)
    at oracle.jbo.common.StringManager.getLocalizedString(StringManager.java:313)
    at oracle.jbo.common.StringManager.getLocalizedString(StringManager.java:286)
    at oracle.jbo.common.StringManager.getString(StringManager.java:226)
    at oracle.jbo.uicli.UIMessageBundle.getResString(UIMessageBundle.java:375)
    at oracle.jbo.uicli.controls.JUNavigationBar.<clinit>(JUNavigationBar.java:188)
    at c17UPackage.view.C17UPoloTestApplet.$init$(C17UPoloTestApplet.java:30)
    at c17UPackage.view.C17UPoloTestApplet.<init>(C17UPoloTestApplet.java:33)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(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)
    All the package(c17UPackage, oracle.jbo, oracle.binding, oracle.adf, com.jgoodies and com.sun) I store in the same directory as applet html(C17UPoloTestHtml.html).
    How to solve this problem? Anyone please help?
    Thanks You.

    In one of my project i tried to load applet using the <jsp:plugin> tag but failed. Since i had less time so i have not done the R&D instead i called the applet as
    <applet id="MyApplet" code="MyApplet.class\" archive=\"MyApplet.jar\" width=5 height=3/>and it worked fine for me. You can try this method.
    NOTE: My applet jar file was in the same directory of my JSP page
    Message was edited by:
    diptaPB

  • Java Applet fails loading JAR files

    I'm using the OC4J setup with my Oracle forms (10g) install, this was working but no longer.
    I get the message below when running the test.fmx from the Oracle Forms Services test page for each of the JAR files attempting to load.
    I comment out the ARCHIVE statement but it still fails with
    'java.lang.ClassNotFoundException:oracle.forms.engine.Main' on the applet window.
    =====================
    java.io.IOException: Connection failure with 504
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.isUpToDate(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.loadFromCache(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
         at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.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)
    WARNING: error reading http://nzmdgrenfell01.asiapacific.hpqcorp.net:8889/forms/java/frmwebutil.jar from JAR cache.
    Downloading http://nzmdgrenfell01.asiapacific.hpqcorp.net:8889/forms/java/frmwebutil.jar to JAR cache
    java.io.IOException: Connection failure with 504
    Any suggestions?
    Regards......Derek

    I found this Metalink that solved my problem.
    Note:171159.1

Maybe you are looking for

  • How to remove the header in Report from SQVI

    Folks, I created a report by joining 4 tables in SQVI, the output data is around 200 pages. I need to remove the header from the report so I can down load to a excel. Can some tell me how to switch of the header in SQVI ( Layout Mode). I did this bef

  • I Can't stop SDM and Start in the Infrastructure mode

    I'm trying to stop SMD server but I waited a lot of time! and nothing I need to install SP 15, but I need to do that in infrastructure mode.

  • P6 stand alone and network installed to same pc

    Dear Member, i have a question, is it possible if i'm installing P6 stand alone version and P6 network version to the one desktop pc, and running together? please advice me, because our client requested to me, he want to install P6 stand alone and ne

  • Save report output to file

    Hi, I'm using BI publisher web service to schedule reports to email, printer, fax..etc How can I save report output to file? I tried both options saveOutputOption and saveDataOption but I can't find report output on the server. Thank you,

  • Difference Between Oracle Replication & Oracle Streams.

    Hi All, I am trying to evaluate Oracle Streams & Oracle Replication technologies. I need to know what are exact differences between 2 technologies? Advantages (if any) of using Oracle Streams against Oracle Replication. After reading Oracle Streams d