Solved

Database Problems in IE4.0

Posted on 1998-06-28
3
156 Views
Last Modified: 2012-05-04
Hi,

I am using Symantec Visual Café Database Development Edition, with the dbANYWHERE database server.  I have developed a couple of applets that access dbIII databases (foxpro), and they work fine when I run them under a personal web server. Here is the PROBLEM:

I try to view the applet over the internet from an external source, and I get the following error in IE4.0 ----  Error:
java.lang.NoClassDefFound symantec/itools/db/net/SocketReader.class.

I'd appreciate any ideas on how to solve this problem.  Why would the applet run fine over the personal web server and not over the internet?

Thanks soooo much for any help,

Derek Barnes
ATS Informatic Systems Inc.
drbarnes@home.com

0
Comment
Question by:Tempest062898
  • 2
3 Comments
 

Author Comment

by:Tempest062898
ID: 1223977
Adjusted points to 100
0
 
LVL 5

Accepted Solution

by:
fontaine earned 100 total points
ID: 1223978
This kind of error happens when an applet tries to use a class but can't find it. The
symantec/itools/db/net/SocketReader.class is probably stored in one of the JARs of the
symantec package. You will have to put this JAR on the Web server too. Assuming that
you have bundled your applet in MyArchive.jar and that the Symantec archive containing
the expected class is Symantec.jar, the applet tag will look like the following:

<APPLET CODE="MyApplet.class" ARCHIVE="MyArchive.jar, Symantec.jar"
                WIDTH=... HEIGHT=...>
</APPLET>

Like this, the Symantec archive will also be loaded through the Net.

For more general infor. please read the following:
http://java.sun.com/docs/books/tutorial/applet/appletsonly/html.html

You hadn't the problem with your personal web server because the Symantec archive was
probably in your CLASSPATH. Hence, the browser VM had no problem to find the classes
needed to make the applet work.
0
 

Author Comment

by:Tempest062898
ID: 1223979
Thank you fontaine... It worked perfectly!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now