Solved

Database Problems in IE4.0

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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 …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

730 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