[jboss-user] [JBoss Portal] - Portlets and Applets

indyJones do-not-reply at jboss.com
Wed Jul 12 10:35:57 EDT 2006


Does anyone have a example of a portlet running an applet inside?

My applet runs just fine with a static html file on the JBoss server...

But, when I try to run the exact same applet within a JBoss portlet I get 

java.lang.ClassFormatError: JavaClock (Bad magic number)
	at java.lang.ClassLoader.defineClass0(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 am running JavaServer Faces for my portlet's framework...

Can someone please help...

Thanks

Indy

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957366#3957366

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957366



More information about the jboss-user mailing list