Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SecurityExcpetion 1

Status
Not open for further replies.

drkestrel

MIS
Sep 25, 2000
439
GB
Running Weblogic 5.1 with SP9 on NT.

On the server, trying to lookup via JNDI on another server and got the following error. I found some WL6 docs about java weblogic.Admin needing to supply a userID and password, but don't find my scripts or properties files using this.

Wed Jul 11 15:08:20 GMT+00:00 2001:<E> <Adapter> Exception thrown by rmi server:
[3833711702145148055S158.234.25.121:7001,7001,7002,7002,7001,-1]/286]
java.lang.SecurityException: Authentication for user system denied in realm wl_realm
at weblogic.security.acl.Realm.authenticate(Realm.java:182)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:198)
at weblogic.security.acl.internal.Security.authenticate(Security.java:82)
at weblogic.security.acl.internal.Security.verify(Security.java:76)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:50)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

Error occurred during Bean retrieval : javax.naming.NamingException [Root exception is weblogic.rmi.UnexpectedException: Undeclared checked exception
- with nested exception:
[java.io.IOException: java.lang.SecurityException: Authentication for user system denied in realm wl_realm]]


When running on SP2, I get the following error.

Exception occurred during processing : java.lang.NullPointerException
Error occurred during Bean retrieval : javax.naming.CommunicationException [Root exception is weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException: class com.myCo.ProcessorBeanEJBHomeImpl_ServiceStub previously not found]]
 
For both the errors occured with SP9 and SP2, it occured at the call to new InitialContext(myProperty), where myProperty is the Property including the WLInitialContextFactory and the login details to the other server).

On the target server, &quot;Added ..... to licensed client list&quot; is logged.
 
Solved the problem in SP2 by manually extracing stubs and skeletons files of remote bean seating on the Solaris Server to the NT Solaris server.

To re-iterate, the settings is as follows:
Code:
[Java Client]-RMI/JNDI-[WL 5.1 on NT]-RMI/JNDI-[WL 5.1 on Solaris]

However, if SP9 is run on the WL server on NT, I got the following error on new InitialContext at the WL Server.

18:02:03 BST 2001:<E> <Adapter> Exception thrown by rmi server: [73013967922074

96466Sxxx.xxx.xxx.xxx:[7021,7021,7022,7022,7021,-1]/258] java.lang.SecurityException: Authentication for user system denied in realm wl_realm

at weblogic.security.acl.Realm.authenticate(Realm.java:182) at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:198) at weblogic.security.acl.internal.Security.authenticate(Security.java:82)

at weblogic.security.acl.internal.Security.verify(Security.java:76) at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:50)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

The above error would disappear if I run SP2 on the NT Box (Solaris box still runs SP9). However, on closer exmaination with the snoop packet sniffing utility on Solaris, I observed that the above error is actually first sent from the NT Web Logic server to the Solaris WebLogic Server, and the Solaris server then responds by sending back the same error to the NT WL box. There is no error indicated on the Solaris WebLogic console.

Anyone have any ideas what is going on?
 
hi drkestrel, have you found a solution for sp9? if so, let me know. thanks a bunch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top