wood burning stoves*
The moose likes JDBC 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
Bookmark "JDBC remote connection failure" Watch "JDBC remote connection failure" New topic
Author

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?
Thanks
CaRdwell
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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: http://aspose.com/file-tools
 
subject: JDBC remote connection failure