activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bear.giles" <>
Subject ActiveMQ 5.0 & java applets
Date Tue, 26 Feb 2008 19:13:12 GMT

I'm getting a class initialization error when I try to launch an applet using
ActiveMQ 5.0.0.  The applet is basically a variant of the provided examples,
and they work within the eclipse applet viewer so I know the basic code is

The error is:

java.lang.NoClassDefFoundError: Could not initialize class
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
	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 Source)
	at Source)

and I've sometimes see a reference to an access control violation with a
hash map property.  Unfortunately I can't reproduce the error at this time.

This may be a simple applet configuration error -- we're all very familiar
with j2ee, but haven't done much with applets.  I'm loading the j2ee and
activemq libraries via an applet 'archive' property.  (We'll switch to
'object' once we get everything working.  One step at a time. :working:)

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message