Solved

Database Problems in IE4.0

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to parse custom JSON to POJO java 4 74
egit plugin on eclipse 8 64
jdbc error in jsp application 20 46
pagenation logic how it is working in my code 1 31
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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

803 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