BPM, Workflow, and Case

Expand all | Collapse all

Datasource not found in IBM BPM

  • 1.  Datasource not found in IBM BPM

    Posted Wed July 28, 2021 08:23 AM

    I tested the connection through websphere and it works but when I try to execute query from BPM it gives following error. IDL:omg.org/CosNaming/NamingContext/NotFound:1.0. But when I use default connections its work.

    After restart WebSphere the problem is not solved.



    ------------------------------
    Bekzod Abduraimov
    ------------------------------


  • 2.  RE: Datasource not found in IBM BPM

    Posted Wed July 28, 2021 08:30 AM
    Hi Bekzod,

    Have you created the data source in App Cluster scope? Have you bounced the JVM ?



    ------------------------------
    Atanu Roy
    ------------------------------



  • 3.  RE: Datasource not found in IBM BPM

    Posted Wed July 28, 2021 08:37 AM
    Hi Atanu,

    I created the data source in App Cluster scope. I have not used JVM before.

    I'm using IBM BPM 8.6

    ------------------------------
    Bekzod Abduraimov
    ------------------------------



  • 4.  RE: Datasource not found in IBM BPM

    Posted Wed July 28, 2021 08:43 AM
    Hi Bekzod,

    Here JVM is the app cluster. Have you restarted the app cluster ?



    ------------------------------
    Atanu Roy
    ------------------------------



  • 5.  RE: Datasource not found in IBM BPM

    Posted Wed July 28, 2021 09:14 AM
    Yes, sure. But it didn't help

    ------------------------------
    Bekzod Abduraimov
    ------------------------------



  • 6.  RE: Datasource not found in IBM BPM

    Posted Wed July 28, 2021 09:19 AM
    Edited by Atanu Roy Wed July 28, 2021 09:38 AM
    Hi Bekzod, 

    First, make sure the data source name is correct when using in the DB connector.
    Next, can you try deleting the existing one and create a new data source ? Please restart the server post deletion and new creation.
    Also, please provide the Sysout logs containing the detailed error.




    ------------------------------
    Atanu Roy
    ------------------------------



  • 7.  RE: Datasource not found in IBM BPM

    Posted Thu July 29, 2021 02:25 AM
    [7/29/21 11:14:52:820 UZT] 000001a2 Engine        E   CWLLG0181E: The following error occurred in the 253 task: [<48message:IDL:omg.org/CosNaming/NamingContext/NotFound:1.0><97flowObjectID:/25.1633c1b0-d606-493e-9227-da96387b8b50//326ffab6-bc2d-4386-8a20-60e8bb196dfa/Step (System Task)>]
                                     com.lombardisoftware.core.TeamWorksDecoratingException: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
    	at com.lombardisoftware.bpd.runtime.engine.BPDEngine.executeTreeNode(BPDEngine.java:503)
    	at com.lombardisoftware.bpd.runtime.engine.BPDEngine.processNotificationRegardlessStatus(BPDEngine.java:718)
    	at com.lombardisoftware.bpd.runtime.engine.BPDEngine.processNotification(BPDEngine.java:687)
    	at com.lombardisoftware.bpd.runtime.engine.BPDEngine.processNotification(BPDEngine.java:675)
    	at com.lombardisoftware.bpd.runtime.engine.notification.BPDFlowObjectNotification.applyToEngine(BPDFlowObjectNotification.java:15)
    	at com.lombardisoftware.bpd.component.flowcomponent.activity.worker.notification.TaskActivityCompletedNotification.applyToEngine(TaskActivityCompletedNotification.java:350)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractNotificationBpdTask.doWithLock(AbstractNotificationBpdTask.java:77)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.DbNotificationBpdTask.doWithLock(DbNotificationBpdTask.java:56)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$1.doExecuteDuringLock(AbstractBpdTask.java:97)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$1.doExecuteDuringLock(AbstractBpdTask.java:79)
    	at com.lombardisoftware.bpd.runtime.engine.util.LockBPDInstanceCommand$1.doInTransaction(LockBPDInstanceCommand.java:69)
    	at com.lombardisoftware.server.core.TXCommand$2.call(TXCommand.java:85)
    	at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.executeInExistingTransaction(ProgrammaticTransactionSupport.java:748)
    	at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:379)
    	at com.lombardisoftware.server.core.TXCommand.executeInDeadlockRetryLoop(TXCommand.java:83)
    	at com.lombardisoftware.bpd.runtime.engine.util.LockBPDInstanceCommand.execute(LockBPDInstanceCommand.java:81)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$2.doInTransaction(AbstractBpdTask.java:119)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$2.doInTransaction(AbstractBpdTask.java:115)
    	at com.lombardisoftware.server.core.TXCommand$2.call(TXCommand.java:85)
    	at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport$3.doInTransaction(ProgrammaticTransactionSupport.java:501)
    	at org.springframework.transaction.jta.WebSphereUowTransactionManager$UOWActionAdapter.run(WebSphereUowTransactionManager.java:347)
    	at com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderNewUOW(EmbeddableUOWManagerImpl.java:791)
    	at com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderUOW(EmbeddableUOWManagerImpl.java:370)
    	at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:290)
    	at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.executeInNewTransaction(ProgrammaticTransactionSupport.java:489)
    	at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:350)
    	at com.lombardisoftware.server.core.TXCommand.executeInDeadlockRetryLoop(TXCommand.java:83)
    	at com.lombardisoftware.server.core.TXCommand.execute(TXCommand.java:72)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask.execute(AbstractBpdTask.java:115)
    	at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask.execute(AbstractBpdTask.java:60)
    	at com.lombardisoftware.server.scheduler.Engine.execute(Engine.java:1052)
    	at com.lombardisoftware.server.scheduler.Engine.executeThreadTasks(Engine.java:758)
    	at com.lombardisoftware.server.scheduler.Engine$1.run(Engine.java:695)
    	at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$3$1.run(WebsphereDelegateHelper.java:118)
    	at java.security.AccessController.doPrivileged(AccessController.java:686)
    	at javax.security.auth.Subject.doAs(Subject.java:569)
    	at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:196)
    	at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:153)
    	at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:192)
    	at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$3.run(WebsphereDelegateHelper.java:112)
    	at com.lombardisoftware.server.scheduler.ThreadPool$MyWork.run(ThreadPool.java:306)
    	at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:271)
    	at java.security.AccessController.doPrivileged(AccessController.java:620)
    	at javax.security.auth.Subject.doAs(Subject.java:488)
    	at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:133)
    	at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:91)
    	at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:338)
    	at java.security.AccessController.doPrivileged(AccessController.java:650)
    	at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:806)
    	at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:222)
    	at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:206)
    	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
    Caused by: com.lombardisoftware.bpd.runtime.engine.BPDCaughtException: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
    	at com.lombardisoftware.bpd.component.flowcomponent.activity.worker.BPDActivityWorker.processCompletedTaskOutputs(BPDActivityWorker.java:2080)
    	at com.lombardisoftware.bpd.component.flowcomponent.activity.worker.BPDActivityWorker.executeImplementation(BPDActivityWorker.java:631)
    	at com.lombardisoftware.bpd.component.flowcomponent.activity.worker.BPDActivityWorker.doWork(BPDActivityWorker.java:378)
    	at com.lombardisoftware.bpd.runtime.engine.FlowObjectExecutionTreeNode.doWork(FlowObjectExecutionTreeNode.java:398)
    	at com.lombardisoftware.bpd.runtime.engine.BPDEngine.executeTreeNode(BPDEngine.java:428)
    	... 51 more​


    ------------------------------
    Bekzod Abduraimov
    ------------------------------



  • 8.  RE: Datasource not found in IBM BPM

    Posted Thu July 29, 2021 07:24 AM
    It's a very generic exception, I am not getting any possible root cause out of it.
    If not already tried, can you please try to create a new data source with different name and do a full server restart ?
    If that does not work, you may need to raise a PMR with IBM support.

    ------------------------------
    Atanu Roy
    ------------------------------