java.rmi.AccessException: ; nested exception is: com.ibm.websphere.csi.CSIAccessException: SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User vmcid: 0x0 minor code: 0 completed: No] at .JobSessionInvoker.executeInternal(JobSessionInvoker.java:70)

Terracotta Project Issue Tracker | Nandini Bhat | 6 years ago
  1. 0

    We have our own scheduler application as a wrapper over Quartz. We are currently using Quartz 1.6.4 and WAS 6.1. We have jobs defined as EJB. At trigger time, the JobSessionInvoker (normal java class which extends QuartzJobBean ) looks up for the job(EJB) and executes it .This works fine if the EJB is not secure. If the job is made secure, it is not getting invoked and the below exception is thrown. [7/7/10 11:53:20:919 IST] 0000083f SecurityColla A SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User [7/7/10 11:53:20:920 IST] 0000083f JobRunShell I org.quartz.core.JobRunShell run Job statelessJobGroup.statelessJob threw a JobExecutionException: org.quartz.JobExecutionException: CORBA NO_PERMISSION 0x0 No; nested exception is: org.omg.CORBA.NO_PERMISSION: java.rmi.AccessException: ; nested exception is: com.ibm.websphere.csi.CSIAccessException: SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User vmcid: 0x0 minor code: 0 completed: No [See nested exception: java.rmi.AccessException: CORBA NO_PERMISSION 0x0 No; nested exception is: org.omg.CORBA.NO_PERMISSION: java.rmi.AccessException: ; nested exception is: com.ibm.websphere.csi.CSIAccessException: SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User vmcid: 0x0 minor code: 0 completed: No] at .JobSessionInvoker.executeInternal(JobSessionInvoker.java:70) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused by: java.rmi.AccessException: CORBA NO_PERMISSION 0x0 No; nested exception is: org.omg.CORBA.NO_PERMISSION: java.rmi.AccessException: ; nested exception is: com.ibm.websphere.csi.CSIAccessException: SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User vmcid: 0x0 minor code: 0 completed: No at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:269) at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:752) at javax.rmi.CORBA.Util.wrapException(Util.java:296) at .jobsession._JobSessionHome_Stub.create(Unknown Source) at .JobSessionInvoker.getJobSessionBean(JobSessionInvoker.java:111) at .JobSessionInvoker.executeInternal(JobSessionInvoker.java:55) ... 3 more Caused by: org.omg.CORBA.NO_PERMISSION: java.rmi.AccessException: ; nested exception is: com.ibm.websphere.csi.CSIAccessException: SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User vmcid: 0x0 minor code: 0 completed: No at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at com.ibm.rmi.util.ProxyUtil.copyObject(ProxyUtil.java:341) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:757) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1161) at $Proxy147.create(Unknown Source) ... 6 more As mentioned in http://jira.opensymphony.com/browse/QUARTZ-743, we changed the code of QuartzSchedulerThread class to start the QuartzSchedulerThread from a thread in the threadpool qsRsrcs.getThreadPool().runInThread(this) instead of this.start() This fix works for us but it means that we need to use a patched Quartz jar. Is it possible to give us a patch with this fix.

    Terracotta Project Issue Tracker | 6 years ago | Nandini Bhat
    java.rmi.AccessException: ; nested exception is: com.ibm.websphere.csi.CSIAccessException: SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User vmcid: 0x0 minor code: 0 completed: No] at .JobSessionInvoker.executeInternal(JobSessionInvoker.java:70)
  2. 0

    Re: CORBA NO_PERMISSION exception with JAAS & wlclient.jar

    Google Groups | 1 decade ago | Andy Piper
    java.rmi.AccessException: CORBA NO_PERMISSION 0 Maybe; nested exception is: org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: Maybe
  3. 0

    Re: CORBA NO_PERMISSION exception with JAAS & wlclient.jar

    Google Groups | 1 decade ago | Andy Piper
    java.rmi.AccessException: CORBA NO_PERMISSION 0 Maybe; nested exception is: org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor >code: 0 completed: Maybe
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: CORBA NO_PERMISSION exception with JAAS & wlclient.jar

    Google Groups | 1 decade ago | Andy Piper
    java.rmi.AccessException: CORBA NO_PERMISSION 0 Maybe; nested exception is: org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: Maybe
  6. 0

    Re: CORBA NO_PERMISSION exception with JAAS & wlclient.jar

    Google Groups | 1 decade ago | Andy Piper
    java.rmi.AccessException: CORBA NO_PERMISSION 0 Maybe; nested exception is: org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: Maybe

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.rmi.AccessException

      CORBA NO_PERMISSION 0x0 No; nested exception is: org.omg.CORBA.NO_PERMISSION: java.rmi.AccessException: ; nested exception is: com.ibm.websphere.csi.CSIAccessException: SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)client/ClientJobSessionBean create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User vmcid: 0x0 minor code: 0 completed: No

      at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException()
    2. com.ibm.CORBA
      UtilDelegateImpl.wrapException
      1. com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:269)
      2. com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:752)
      2 frames
    3. Java RT
      Util.wrapException
      1. javax.rmi.CORBA.Util.wrapException(Util.java:296)
      1 frame