Trouble with applet connecting through SQL Server - Please help!
From: Andrea Maschio (amaschio_at_mail.tim.it)
Date: 02/17/04
- Next message: Timo Nentwig: "Fast check for existing rows"
- Previous message: David Harper: "Re: 100% cpu usage when starting MySQL server"
- Next in thread: Erwin Moller: "Re: Trouble with applet connecting through SQL Server - Please help!"
- Reply: Erwin Moller: "Re: Trouble with applet connecting through SQL Server - Please help!"
- Reply: Dave: "Re: Trouble with applet connecting through SQL Server - Please help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Feb 2004 02:59:25 -0800
I made an applet that connects through jdbc to a sql server. What's
strange, is that applet connects fine when runs through Jbuilder
Applet Viewer. But when it runs from Internet Explorer, Java Console
displays this message:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC]Error establishing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown
Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown
Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown
Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at graficojava.DB.connect(DB.java:38)
at graficojava.Graf.jbInit(Graf.java:359)
at graficojava.Graf.init(Graf.java:232)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
THe applet is runned on the SAME machine, anyway. I disabled proxy in
internet explorer.
May someone give me some hint?
Thanks
Andrea Maschio
- Next message: Timo Nentwig: "Fast check for existing rows"
- Previous message: David Harper: "Re: 100% cpu usage when starting MySQL server"
- Next in thread: Erwin Moller: "Re: Trouble with applet connecting through SQL Server - Please help!"
- Reply: Erwin Moller: "Re: Trouble with applet connecting through SQL Server - Please help!"
- Reply: Dave: "Re: Trouble with applet connecting through SQL Server - Please help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|