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 -> ORacle 8.1.5 Sockets and Java

ORacle 8.1.5 Sockets and Java

From: <duncanjc_at_my-deja.com>
Date: Mon, 29 Nov 1999 20:21:29 GMT
Message-ID: <81un84$2b0$1@nnrp1.deja.com>


I am trying to create a new java.net.Socket object from a Java stored procedure using Oracle 8.1.5 on Solaris. The Socket object is created correctly when the code is invoked external to the database. After load ing publishing the java code, a null pointer exception is generated by the following code:

  java.net.Socket sock = new java.net.Socket("my.server.com", 80);

The same behavior is exhibited by the java.net.URL.openConnection() method, as well.

I'm thinking that this is probably a security issue, but can't find any reference to accessing external network resources in the documentation that is available on OTN.

Any help would be appreciated.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Nov 29 1999 - 14:21:29 CST

Original text of this message

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