| Author |
JDBC -- having trouble connecting to a remote database
|
Frank Serkland
Ranch Hand
Joined: Jun 21, 2010
Posts: 96
|
|
I have the following code that's trying to establish a connection to a remote database. It's throwing an exception, and I can't figure out why.
Can anyone explain to me why I'm getting this exception?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
You're not running this code from an applet, are you? Because applets only allow very little; there is no access to the file system, and no networking other than to the server the applet is retrieved from.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Frank Serkland
Ranch Hand
Joined: Jun 21, 2010
Posts: 96
|
|
Rob Spoor wrote:You're not running this code from an applet, are you? Because applets only allow very little; there is no access to the file system, and no networking other than to the server the applet is retrieved from.
No, this application is on Google Apps.
|
 |
Frank Serkland
Ranch Hand
Joined: Jun 21, 2010
Posts: 96
|
|
|
It turns out that Google Apps doesn't support JDBC, so this problem is unsolvable. I will find another way to deploy my application.
|
 |
 |
|
|
subject: JDBC -- having trouble connecting to a remote database
|
|
|