You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by sh...@netlife.com.sg on 2001/05/24 13:31:59 UTC
Error - unable to extract the files in the jar files
Hi,
I have created an applet application. The applet is residing on an Apache
web server 1.3 and Servlet Exec 3.0 AS.
When I try to access the application from another PC, there is an error,
that is 1 of the file in the jgrid.jar file cannot be extracted.
All the other files in other jar files can be extracted.
The error message and the jsp code that contain the applet is included in
the mail.
Would you advice me on what are the possible reasons?
I have verified that com/objectshare/grid/list/JKTableList is in jgrid.jar
and I have even tried to re jar the jgrid.jar, but the same problem occurs.
regards
Shirley
Here is the applet code in the jsp page...
<applet CODEBASE="classes"
CODE="sg.com.netlife.ebrokerage.dispatch.applet.RealTimeApplet"
WIDTH="950"
HEIGHT="360"
HSPACE="0"
VSPACE="0"
ALIGN=middle >
<PARAM NAME = ARCHIVE VALUE =
applet_realtime.jar,dispatch_marketanalyst.jar,dispatch_session.jar,ebk_datacache.jar,jgrid.jar
>
<param name=User value="<%=userRef%>">
<param name=URL value="<%=url%>">
//Shirley Lim 16042001
//set the URI of the pushlet
<param name=pushletURI value='/servlet/pushlet'>
//set client type - browser or applet
<param name=client value='java'>
<param name=WatchlistSize value="<%=watchList.length%>" >
<%
int watchListLen = watchList.length;
for (int i=0; i<watchListLen; i++) {
String property = "watchListName" + (i+1);
String paramName = "WatchlistName_" + (i+1);
String value = (String)request.getAttribute(property);
out.println(property + " " +paramName + " " + value);
%>
<param name=<%=paramName%> value="<%=value%>" >
<%
}
%>
<param name=RefreshRate value="1000">
<param name=Push value="true">
</applet>
----------------------------------------------------------------------------------------------------------------------
Here is the error message
java.lang.NoClassDefFoundError: com/objectshare/grid/list/JKTableList
at sg/com/netlife/ebrokerage/dispatch/applet/RealTimeApplet.init
(RealTimeApplet.java:1012)
at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)
Senior Software Engineer
Netlife Solutions
EdgeMatrix
Tel (Main) : +65 395 3400
Tel (DID) : +65 395 8331
Fax : +65 395 3401
http://www.netlifeasia.com