Solved

Database Problems in IE4.0

Posted on 1998-06-28
3
158 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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…

920 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

15 Experts available now in Live!

Get 1:1 Help Now