Hi,
I want to use a custom user registry that stores the userinformation into a database. For managing userinformation a simple SessionBean shoul be used.
Now my question:
Is it possible to access a SessionBean from the custom user registry??
I did some testing. It seems that I can access the InitialContext but if I try to setup the custom registry I get following exception:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:194)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java(Compiled Code))
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
:javax.transaction.TransactionRolledbackException: com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:194)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java(Compiled Code))
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
at com.ibm.ejs.container.util.ExceptionUtil.mapCSIException(ExceptionUtil.java:37)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
minor code: 0 completed: No
at com.ibm.ejs.csi.OrbUtilsImpl.mapException(OrbUtilsImpl.java:59)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Anyone tried something like this before???
Kind regards,
Gunnar Osterod
I want to use a custom user registry that stores the userinformation into a database. For managing userinformation a simple SessionBean shoul be used.
Now my question:
Is it possible to access a SessionBean from the custom user registry??
I did some testing. It seems that I can access the InitialContext but if I try to setup the custom registry I get following exception:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:194)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java(Compiled Code))
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
:javax.transaction.TransactionRolledbackException: com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:194)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java(Compiled Code))
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
at com.ibm.ejs.container.util.ExceptionUtil.mapCSIException(ExceptionUtil.java:37)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
minor code: 0 completed: No
at com.ibm.ejs.csi.OrbUtilsImpl.mapException(OrbUtilsImpl.java:59)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
at com.ibm.ejs.sm.tasks.EJSRemoteStatefulGlobalSecuritySettings.apply(EJSRemoteStatefulGlobalSecuritySettings.java:64)
at com.ibm.ejs.sm.tasks._EJSRemoteStatefulGlobalSecuritySettings_Tie._invoke(_EJSRemoteStatefulGlobalSecuritySettings_Tie.java:81)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2362)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Anyone tried something like this before???
Kind regards,
Gunnar Osterod