Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java.lang.SecurityException: Authentication for user guest denied in realm wl_realm

0 views
Skip to first unread message

gvrao

unread,
Jan 9, 2003, 11:53:50 AM1/9/03
to

server1:WLS6.1 SP3 on Unix is clustered env running with servera and serverb.(For
testing purpose i am just using servera)
server2:WLS6.1 SP3 On Windows

server1 makes two calls to EJB on server2 during startup. The first call executed
successfully. Exception raised during the second call onwards....
InitialContext is set to
env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, "t3://server2:7001"); env.put(Context.SECURITY_AUTHENTICATION,
"simple"); env.put(Context.SECURITY_PRINCIPAL, "guest"); env.put(Context.SECURITY_CREDENTIALS,
"guest");

Why server1(servera) throwing SecurityException?

I defined guest/guest in WL realm in both the servers. I am surprised why i am
getting this exception ...? Is it because of two different O.S? Or Please drop
a solution ... I have already wasted my tons of hours solving this problem. I
appreciate your help.
Here is the Exception stack trace from server1:
<Jan 9, 2003 11:31:07 AM GMT-05:00> <Warning> <Dispatcher> <RuntimeException thr
own by rmi server: 'weblogic.rmi.cluster.ClusterableServerRef@116 - jvmid: '2775
122595337735866S:10.3.242.111:[7111,7111,7002,7002,7111,7002,-1]:proj11domain:se
rvera', oid: '278', implementation: 'com.cibc.icas.infrastructure.transport.jmst
ransportsb.JMSTransportBean_foeu3f_HomeImpl@3c339e''
java.lang.SecurityException: Authentication for user guest denied in realm wl_re
alm

Start server side stack trace:
java.lang.SecurityException: Authentication for user guest denied in realm wl_re
alm
at weblogic.security.acl.Realm.authenticate(Realm.java:212)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
at weblogic.security.acl.internal.Security.authenticate(Security.java:13
5)
at weblogic.security.acl.internal.Security.verify(Security.java:90)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:242)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace

at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
equest.java:85)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:136)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy7.getMBeanServer(Unknown Source)
at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:
253)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:187)
at $Proxy9.getName(Unknown Source)
at weblogic.cluster.MulticastSender.<init>(MulticastSender.java:136)
at weblogic.cluster.MulticastManager.createSender(MulticastManager.java:
164)
at weblogic.cluster.MulticastManager.createSender(MulticastManager.java:
159)
at weblogic.cluster.ClusterService.createMulticastSession(ClusterService
java:235)
at weblogic.security.acl.PasswordGuessing.createMulticastSession(Passwor
dGuessing.java:941)
at weblogic.security.acl.PasswordGuessing.logFailure(PasswordGuessing.ja
va:288)
at weblogic.security.acl.Realm.authenticate(Realm.java:209)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
@


Regards,
GV

kirann

unread,
Jan 9, 2003, 2:47:41 PM1/9/03
to
setting the "system" password for both servers same will establish the
trust..

thanks
kiran
"gvrao" <gv...@tanning.com> wrote in message
news:3e1da91e$1...@newsgroups.bea.com...

gvrao

unread,
Jan 13, 2003, 4:45:56 PM1/13/03
to

Kiran,
Thank you for the answer. But i have no control on server2. It belongs to partner
company. All i knew about is url and JNDI names. That's why i am going as "guest".
P.S - I am calling server2 from "Startup class" of server1(changing the user from
"system" to "guest"). Also have any idea how to switch from user "guest" to "system"
to complete the start up.
I appreciate if you look into this problem and provider your solution.

Regards,
GV

0 new messages