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 8i EJB SecurityException

Oracle 8i EJB SecurityException

From: <jeff_dodgen_at_my-deja.com>
Date: Wed, 21 Jul 1999 16:02:45 GMT
Message-ID: <7n4qur$2v$1@nnrp1.deja.com>


I've run a simple "hello world" type scenario successfully, but when my NT Session Bean attempts any NT file IO (new RandomAccessFile(name, "r") or new FileInputStream(name).tostring()) I get the following error:

Calling MyEJB methods...
Caught RuntimeException in remote method; nested exception is:   java.lang.SecurityException:null
Remote Stack Trace:
java.lang.SecurityException
  at
oracle.aurora.rdbms.SecurityManagerImpl.checkRole(SecurityManagerImpl.ja va)
  at
oracle.aurora.rdbms.SecurityManagerImpl.checkConnect(SecurityManagerImpl .java)

  at java.net.InetAddress.getAllByName0(InetAddress.java)
  at java.net.InetAddress.getByName(InetAddress.java)
  at java.net.Socket.<init>(Socket.java)
  at weblogic.jdbc.common4.sql.BaseConnection.<init>
  at weblogic.jdbc.common4.sql.TdsConnection.<init>
  at weblogic.jdbc.common4.sql.MicrosoftConnection.<init>
  at weblogic.jdbc.microsoft4.Driver.newConnection   at weblogic.jdbc.common4.sql.ConnectDriver.connect

So I attempted to set runAsMode =SYSTEM_IDENTITY in descriptor but deploying that I get: "You must be SYS to grant runAs identity of SYS"

Please help.

Thanks,
Jeff

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Wed Jul 21 1999 - 11:02:45 CDT

Original text of this message

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