Skip to Content.
Sympa Menu

freetds - SQLException: java.sql.SQLException: checkconnect.networkhost1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mark Molenda" <mark.molenda AT eds.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: SQLException: java.sql.SQLException: checkconnect.networkhost1
  • Date: Sun, 11 Feb 2001 20:40:54 -0500


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
everything
works.

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");
myFrame.setSize(700,400);
myFrame.setVisible(true);
}
}


I appreciate some help on figuring out what is going on. -Mark




Archive powered by MHonArc 2.6.24.

Top of Page