FW: Re: SQLException: java.sql.SQLException: checkconne ct.networkhost1
Molenda, Mark P
mark.molenda at eds.com
Mon Feb 12 09:42:45 EST 2001
Mystery solved. Here is the background, I jar'rd up the files and put them
on the Webserver that contains the SQLServer
database. Internet Explorer blew up as expected "SQLException..." Netscape
ran fine. After doing some more digging,
I found a FileDialog instance hanging around and as soon as I removed it
everything came up and worked everywhere.
So it seems that the later versions of appletviewer works more like IE or
vise versa. And that Netscape and Symantec Cafe (3.0) works like each
other. Also the problem was not a connection to a different server than
were the applet came from ( the usual case ) but a request for local
services of the desktop.
I'm aware of the signing issues and having applets deploy and talk through
other servers. I did not beleive that there was any problem with
appletviewer from the standard JDK. The appletviewer does not use the
security manager functions as does Netscape and IE. Also This program works
as an applet if I run it from Sysmantec cafe as an applet. In all situatios
so far I am running the applet locally and pointing it
to a Server that will have the SQL SERver database on it. Thank you for your
From: Matthew Cordes [mailto:mcorde61 at maine.edu]
Sent: Sunday, February 11, 2001 9:24 PM
To: TDS Development Group
Subject: [freetds] Re: SQLException: java.sql.SQLException:
Are your database and webservers are different machines? If so read a good
----- Original Message -----
From: "Mark Molenda" <mark.molenda at eds.com>
To: "TDS Development Group" <freetds at franklin.oit.unc.edu>
Sent: Sunday, February 11, 2001 8:40 PM
Subject: [freetds] SQLException: java.sql.SQLException:
> I have a Java class that works very well when run as a Java Application.
> No java errors, no SQL errors etc.. If I run the same class as an applet,
> I get the following error.
> SQLException: java.sql.SQLException: checkconnect.networkhost1
> What could be up here? I haven't even put the code in a browser yet, so
> the usual culprit (security manager) should'nt be the problem.
> Appletviewer pumps out this message every time, and I get no results.
> When I run the same class again without the applet class wrapper
> The class (Mainframe.class) that works is just a java frame with the sql
> and a couple of awt lists or choice boxes. When I run invoke it with the
> following applet is when I have a problem .
> import java.awt.*;
> import java.applet.*;
> public class Phone extends java.applet.Applet
> public void init()
> MainFrame myFrame = new MainFrame("Phone app");
> I appreciate some help on figuring out what is going on. -Mark
> You are currently subscribed to freetds as: [mcorde61 at maine.edu]
> To unsubscribe, forward this message to
You are currently subscribed to freetds as: [mark.molenda at eds.com]
To unsubscribe, forward this message to
More information about the FreeTDS