I have an enterprise application deployed on Glassfish with a Java Webstart client being launched. Everything works fine until a java.awt.Component class is utilized to embed a browser component in. Once I instantiate the class, I get a "NativeSwing[1]: Could not load Logmanager "com.sun.enterprise.server.logging.ACCLogManager"
NativeSwing[1]: java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ACCLogManager"
I've traced it down to these lines in the java.awt.Component class:
private static final Logger focusLog = Logger.getLogger("java.awt.focus.Component");
private static final Logger log = Logger.getLogger("java.awt.Component");
private static final Logger mixingLog = Logger.getLogger("java.awt.mixing.Component");
I'm using the DJNativeSwing project JWebBrowser class. The full stack trace is:
NativeSwing[1]: Could not load Logmanager "com.sun.enterprise.server.logging.ACCLogManager"
NativeSwing[1]: java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ACCLogManager
NativeSwing[1]: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
NativeSwing[1]: at java.security.AccessController.doPrivileged(Native Method)
NativeSwing[1]: at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
NativeSwing[1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
NativeSwing[1]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
NativeSwing[1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
NativeSwing[1]: at java.util.logging.LogManager$1.run(LogManager.java:168)
NativeSwing[1]: at java.security.AccessController.doPrivileged(Native Method)
NativeSwing[1]: at java.util.logging.LogManager.<clinit>(LogManager.java:158)
NativeSwing[1]: at java.util.logging.Logger.getLogger(Logger.java:273)
NativeSwing[1]: at java.awt.Component.<clinit>(Component.java:173)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.NativeComponent$CMN_createControl.run(NativeComponent.java:487)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.CommandMessage.runCommand(CommandMessage.java:61)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.MessagingInterface.runMessage(MessagingInterface.java:115)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.MessagingInterface.processReceivedMessages(MessagingInterface.java:100)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.MessagingInterface.access$2(MessagingInterface.java:88)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.MessagingInterface$2$2.run(MessagingInterface.java:410)
NativeSwing[1]: at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.runNativeSide(NativeInterface.java:1069)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.NativeInterface.main(NativeInterface.java:1096)
Feb 8, 2010 4:59:33 PM org.jdesktop.application.LocalStorage getId
WARNING: unspecified resource Application.id using AppMain
Feb 8, 2010 4:59:33 PM org.jdesktop.application.LocalStorage getId
WARNING: unspecified resource Application.vendorId using UnknownApplicationVendor
Any help would be appreciated.
Thanks,
Dave
[Message sent by forum member 'dstaelen' (dstaelen_at_twcny.rr.com)]
http://forums.java.net/jive/thread.jspa?messageID=385530