Hi BJ,

try codebase="/test" or codebase=".." and let me know if this works. I am not very familiar with 'jsp:plugin'. So try codebase="test" as well (I do not know how the codebase value is interpreted). You should be aware that 'WEB-INF' (and subdirectories) is not "visible" to clients like Applet or JNLP.
So using 'WEB-INF' as codebase value will definitely not work.
I do not know how this works in ULC 6.0.3 but ULC-2008-u4 copies client libraries (identified by the pattern '*-client.jar' to the context root directory so that they get visible to the client).
Cheers,

christian
--
Canoo - Your Solution Provider for Rich Internet Applications

    Christian Ribeaud
    Canoo Engineering AG
    Kirschgartenstrasse 5
    CH-4051 Basel

    Tel: +41 61 228 94 44
    Fax: +41 61 228 94 49

    [email protected]
    http://www.canoo.com/

On Nov 12, 2009, at 10:45 PM, BJ Tenney wrote:

ULC version: 6.0.3
OS: Windows XP

I am trying to load my ulc as an applet from a jsp. The .jsp is located in my .war file here:
warFile/test/file.jsp
while my ULC classes are located here:
warFile/WEB-INF/lib/*.jar

I continue to get this error in the Java console:
load: class com.ulcjava.environment.applet.client.DefaultAppletLauncher.class not found. java.lang.ClassNotFoundException: com.ulcjava.environment.applet.client.DefaultAppletLauncher.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)


I cannot figure out the correct syntax for my embed tag - here is what I have:
<jsp:plugin
        type="applet"
code ="com.ulcjava.environment.applet.client.DefaultAppletLauncher.class"
        codebase="/WEB-INF/lib"
archive="myULCJar.jar,ulc-applet-client.jar,ulc-base-client.jar,ulc- base-trusted.jar,ulc-servlet-client.jar, client-extensions.jar "
        height="100%"
        width="100%"
        jreversion="1.5.0">
        <jsp:params>
                <jsp:param name="url-string" value="<%= applicationUrl %>" />
                <jsp:param name="keep-alive-interval" value="60" />
        </jsp:params>

<jsp:fallback>Your browser does not support JDK 1.5.0 for applets. </jsp:fallback>
</jsp:plugin>

I can't determine the correct value for codebase... I do have the applet-client.jar in the WEB-INF/lib directory as specified. Any ideas/help would be appreciated.

Thanks,

BJ Tenney
Tomax Corporation
btenney at tomax . com
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to