Hi All

I have configured TomCat 4.0.1 to run our application and it works except
for Applets.
We are using TC4.0.1 IE 5 and Java-Plugin 1.3.1

Whenever I try to load an Applet I get a ClassNotFound / FileNotFound
Exception:

load: class com.amdocs.BASP.sessionmanager.applet.BASPTreeApplet not found.
java.lang.ClassNotFoundException: java.io.FileNotFoundException: File not
found:
http://geoffd01:8080/campaign/WEB-INF/classes/com/amdocs/BASP/sessionmanager
/applet/BASPTreeApplet.class    at
sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown
Source)         at java.net.HttpURLConnection.getResponseCode(Unknown
Source)         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)      at
sun.applet.AppletClassLoader$1.run(Unknown Source)      at
java.security.AccessController.doPrivileged(Native Method)      at
sun.applet.AppletClassLoader.findClass(Unknown Source)  at
sun.plugin.security.PluginClassLoader.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) 


The APPLET Tag is (using jsp:plugin)

<jsp:plugin     codebase="WEB-INF/classes"
code="com.amdocs.BASP.sessionmanager.applet.BASPTreeApplet"
 
archive="WEB-INF/lib/campaign.jar,WEB-INF/lib/pvAll.jar,WEB-INF/lib/xerces.j
ar" width="300" height="100%" type="applet" name ="BASPTreeApplet">
    <jsp:params>
        <jsp:param name="treeurl" value="<%= servletUrl %>" />
        <jsp:param name="ExpandTree" value="true" />
        <jsp:param name="treecolour" value="lightgrey" />
    </jsp:params>
</jsp:plugin>

Our directory structure is:
        tom.. etc.../webapps/campaign           JSP's etc
        tom.. etc.../webapps/WEB-INF/classes    empty
        tom.. etc.../webapps/lib                        All JARS as above
campaign.jar contains the Applet code

I have tried all combinations of codebase / archive / code and it always
gives the dame error.

Then was a similar posting some time back, but I cannot find a reply to it.

Any help gratefully received.

Regards
Geoff
        
-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of 
this communication is strictly prohibited and may be unlawful. 
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

-------------------------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to