[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Database Problems in IE4.0

Posted on 1998-06-28
3
Medium Priority
?
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

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

Accepted Solution

by:
fontaine earned 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

656 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