activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickso <>
Subject Re: ActiveMQ 5.0 & java applets
Date Tue, 09 Sep 2008 22:10:20 GMT

I have not found an answer for this exact same problem. I've googled until
I'm googled... Been working on this for a week now... any suggestions..
anyone?? .. please??

bear.giles wrote:
> 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 sound.
> The error is:
> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.activemq.ActiveMQConnection
> 	at<init>(
> 	at
> 	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 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