Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JApplet available to Portlet Factory builders?

0 views
Skip to first unread message

newbo

unread,
Oct 15, 2008, 11:21:14 AM10/15/08
to
Hi all,

Does anyone know if you can access JApplets from the Applet builder in
Websphere Portlet Factory (most recent version)?

I'm migrating from an applet to a portlet with the WPF. I finally got
the applet to admit that there was a class (progress), but it keeps
giving me a ClassNotFound exception. I've tried a couple of different
ways to point to the jar file, and the current config in the applet
builder is:

Java Applet Class package.myclass.class
Base URL for Code ./lib/package.jar

The error is:
load: class package.myclass.class not found.
java.lang.ClassNotFoundException: package.myclass.class
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)

Since this works from the applet, I am relatively sure that the code
itself is sound. So I'm down to 1) something wrong with my applet
builder, 2) some kind of permissions thing with JApplet, or 3) WPF is
just hating me.

Thanks for any help in advance.

0 new messages