Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC remote connection failure

 
cardwell cupp
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic