File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC remote connection failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC remote connection failure" Watch "JDBC remote connection failure" New topic

JDBC remote connection failure

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Hello all. I am writting an applet that connects to a informix database remotely. I have a jar file that contains the driver. When I run it in the applet viewer, it works just fine. When I try to host it and run it in a browser, it will not connect to the database! Does anybody have any idea why this wouldn't work?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

The database will have to reside on the same server that the applet resides on. So if that applet is downloaded from Web Server A then the Database must also reside on Web Server A. If this is not the case, then tell us more about your situation and maybe we can better help. Example, what error messages are you getting, code, etc.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: JDBC remote connection failure
It's not a secret anymore!