S
sime
I wrote a simple java app to test SSH port forwarding to a DB that
doesn't allow direct access, and it works. When I use the same code for
a servlet, tomcat isnt happy about it...
ssh -L 2020:db.server.com:1521 public.server.com -C
thus
dbDriverName = "oracle.jdbc.driver.OracleDriver";
dbURL = "jdbcracle:thinlocalhost:2020:db_name";
works for the simple app, but not with tomcat.
-sime
doesn't allow direct access, and it works. When I use the same code for
a servlet, tomcat isnt happy about it...
ssh -L 2020:db.server.com:1521 public.server.com -C
thus
dbDriverName = "oracle.jdbc.driver.OracleDriver";
dbURL = "jdbcracle:thinlocalhost:2020:db_name";
works for the simple app, but not with tomcat.
-sime