| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Oracle 8i EJB SecurityException
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
![]() |
![]() |