You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dwightHugget <ja...@concentric.net> on 2003/04/06 09:33:46 UTC
JDBC URL from webserver
Can anyone confirm that using either of these 2 styles of JDBC URL ought to
work when web container is running on one machine and DBMS is on another
machine across the internet.
jdbc:oracle:thin:@xxx.aa.bb.zz:1521:sid_name
jdbc:oracle:thin:@//xxx.aa.bb.zz:1521/service_name
The DBMS is Oracle 9i
When I put the machine with the webserver on the same network, same subnet,
all is good. When I move the web server machine to another network all
together I get nothing.
I'm running with JDK1.4 and the Oracle drivers for JDK 1.4
Yes, the DBMS is behind a firewall?
thanks
--
Dwight Hugget
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JDBC URL from webserver
Posted by Tim Funk <fu...@joedog.org>.
jdbc:oracle:thin:@xxx.aa.bb.zz:1521:sid_name
should work. (At least with oracle 8)
I've never used the other style.
-Tim
dwightHugget wrote:
> Can anyone confirm that using either of these 2 styles of JDBC URL ought to
> work when web container is running on one machine and DBMS is on another
> machine across the internet.
>
> jdbc:oracle:thin:@xxx.aa.bb.zz:1521:sid_name
>
> jdbc:oracle:thin:@//xxx.aa.bb.zz:1521/service_name
>
> The DBMS is Oracle 9i
> When I put the machine with the webserver on the same network, same subnet,
> all is good. When I move the web server machine to another network all
> together I get nothing.
>
> I'm running with JDK1.4 and the Oracle drivers for JDK 1.4
> Yes, the DBMS is behind a firewall?
>
> thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org