Monday, July 9, 2012

org.omg.CORBA.NO_PERMISSION Exception


Whenever we are hitting ejb service from portal which is deployed on different WAS , and if we face the below stack trace:---

Exception = org.omg.CORBA.NO_PERMISSION
Source = com.ibm.ws.naming.jndicos.CNContextImpl.doLookup
probeid = 1489
Stack Dump = org.omg.CORBA.NO_PERMISSION:
>> SERVER (id=64e777ef, host=SVHJ0898.ideaconnect.com) TRACE START:
>>    org.omg.CORBA.NO_PERMISSION: Subject is null.  Authentication Failed.  vmcid: 0x49424000  minor code: 300  completed: No
>> at com.ibm.ISecurityLocalObjectBaseL13Impl.PrincipalAuthFailReason.map_auth_fail_to_minor_code(PrincipalAuthFailReason.java:88)
>> at com.ibm.ISecurityLocalObjectBaseL13Impl.CSIServerRIBase.authenticateSecurityTokens(CSIServerRIBase.java:2815)
>> at com.ibm.ISecurityLocalObjectBaseL13Impl.CSIServerRI.receive_request(CSIServerRI.java:622)
>> at com.ibm.rmi.pi.InterceptorManager.invokeInterceptor(InterceptorManager.java:631)
>> at com.ibm.rmi.pi.InterceptorManager.iterateServerInterceptors(InterceptorManager.java:535)
>> at com.ibm.rmi.pi.InterceptorManager.iterateReceiveRequest(InterceptorManager.java:777)
>> at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:616)
>> at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:480)
>> at com.ibm.rmi.iiop.ORB.process(ORB.java:512)
>> at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
>> at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2680)
>> at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2543)
>> at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
>> at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
>> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1560)
>> SERVER (id=64e777ef, host=SVHJ0898.ideaconnect.com) TRACE END.
  vmcid: 0x49424000  minor code: 300  completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)


1.Go To Security of the WAS.
2.Then go to global security on clicking Secure administration, applications, and infrastructure.
3. Go To Authentication mechanisms and expiration
Export the keys and import them to the Portal WAS.
Restart Portal server .


No comments:

Post a Comment