Home » Developer & Programmer » JDeveloper, Java & XML » Applet connexion through firewall with web server
Applet connexion through firewall with web server [message #366616] Thu, 10 February 2000 10:05
Chrisopher Pourtale
Messages: 1
Registered: February 2000
Junior Member
I have to make an applet connect to a web server then from this server connect to the database server.
The only problem is the firewall that protects the web server. I found some information on configuring CMAN to connect to the database from the web server, I also found some information on how to connect to a databse server through a firewall.

Here is what i found to connect through the firewall :

Connection conn =

DriverManager.getConnection ("jdbc:oracle:thin:" +
"@(description=(address_list=" +
(address=(protocol=tcp)(host=firewall-host)(port=1610))" +
"(address=(protocol=tcp)(host=oraHost)(port=1521)))" +
"(source_route=yes)" +
"(connect_data=(sid=orcl)))", "scott", "tiger");

Here is what i found to connect to the web server:

Connection conn =

DriverManager.getConnection ("jdbc:oracle:thin:" +
"@(description=(address_list=" +
"(address=(protocol=tcp)(host=webHost)(port=1610))" +
"(address=(protocol=tcp)(host=oraHost)(port=1521)))" +
"(source_route=yes)" +
"(connect_data=(sid=orcl)))", "scott", "tiger");

Now what i would like to now is how do i combine these two: Would something like this work ?

(address=(protocol=tcp)(host=firewall-host)(port=1610))" +
"(address=(protocol=tcp)(host=webHost)(port=1610))" +
"(address=(protocol=tcp)(host=oraHost)(port=1521)))"

thanks in advance.
Previous Topic: Insert into raw col. a .doc/.xml file
Next Topic: slowdown, timeout problem with JDBC thin
Goto Forum:
  


Current Time: Thu Aug 05 00:02:45 CDT 2021