Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: TNS Listener on a different Host

Re: TNS Listener on a different Host

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 7 Apr 2005 10:35:49 -0700
Message-ID: <1112895349.609456.85820@o13g2000cwo.googlegroups.com>

bhogak bhogakbhogak wrote:
> Can we have a TNS listener on a different host than the one where the
> database is running? I want to connect to a database using Java
Applet,
> but the webserver and the database are running on two different
hosts.
> If I can start a TNS Listener on the web server, I will be able to
> connect to the database easily. (Just a fyi - Java applets cannot
> connect to any other server other than the one they were hosted
from).

Why so? Just add a java.net.SocketPermission "database server", "connect, resolve"; in the java.policy file and you should be OK.

Regards
/Rauf Received on Thu Apr 07 2005 - 12:35:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US