• 1 reply
  • Latest Post - ‏2011-03-29T14:02:44Z by GeorgeMuhammad
9 Posts

Pinned topic class not found

‏2011-03-29T13:16:23Z |
I have a third party applet that when run in development or on portal server gives me the following error.

Java Plug-in 1.6.0_24
Using JRE version 1.6.0_24-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\username

c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>

load: class com/cyclonecommerce/ui/webtrader/applet/CsosDocumentSigningApplet.class not found.
java.lang.ClassNotFoundException: com.cyclonecommerce.ui.webtrader.applet.CsosDocumentSigningApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$ Source)
at Source)
Exception: java.lang.ClassNotFoundException: com.cyclonecommerce.ui.webtrader.applet.CsosDocumentSigningApplet.class
I have

1. copied the JAR files to the WEB-INF/work/lib dirctory
2. copied the com.cyclone...class to the WEB-INF/work/source folder

3. added JARs to the project properties/Libraries/jar and class build path from WEB-INF/work/lib directory.

My first guess is portlet factory url build does not match the applet code and codebase variable. Following is the applet code.

name="CSOS Document Signing Applet"
<param name="cache_archive" value="wtapplet.jar,forms_rt.jar,ib6core.jar,ib6swing.jar,ib6util.jar,entbase.jar,entcapi.jar,entcms.jar,entp5.jar,entp7.jar,entp11.jar,entp12.jar,entroaming.jar,entsmime.jar,entsmimev3.jar,entssl.jar,entuser.jar,mail.jar,activation.jar,haboob.jar,common.jar,axway-cluster.jar"/>
<param name="cache_version" value=",,,,,,,,,,,,,,,,,,,,,"/>
<param name="cache_archive_ex" value="haboob.jar;preload"/>
<param name="background-color" value="#ffffff"/>
<param name="font" value="Veranda"/>
<param name="font-color" value="#000000"/>
<param name="font-color-alert" value="#ff0000"/>
<param name="font-size" value="12"/>
<param name="scriptable" value="true"/>
<param name="disableDynamicResponseTimeout" value="false"/><!--default is false, turn this on to use the 'responseTimeoutMs' parameter-->
<param name="responseTimeoutMs" value="300000"/><!--only used if 'disableDynamicResponseTimeout' is set to 'true'-->
<param name="newpolicyURLpath" value="jcepolicy/"/><!--path under getCodeBase() where the unlimited strength policy files can be downloaded from the webserver-->
Any help would be greatly appreciated. Thanks.
Updated on 2011-03-29T14:02:44Z at 2011-03-29T14:02:44Z by GeorgeMuhammad
  • GeorgeMuhammad
    9 Posts

    Re: class not found

    Posted on wrong forum.