Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> ORacle 8.1.5 Sockets and Java
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