Skip to Content
0
Former Member
Feb 01, 2009 at 12:21 PM

My BPM is not sending message to the start User?

27 Views

Hi @,

I ahave completed one BPM process following End2End demo and deployed the same CE Ehp1 system on my laptop. BUt when I am starting the process from NWA the first process user is not getting any entry in the Tasks whereas I am able to see the Task being created successfully in NWA operation management tab.

Dont know why the Task for the user is not getting displayed Is there any setting in BPM requied to do this or after CE Installation It is available by default.

Just Found I am getting the following error in Log Viewer:

An error occurred while executing transition START_TASKFLOW_Fill_Name_Age(Token_0_prcMyNameAge_1c3a7331cdbb691c191150c730b54acd(Instance_0_prcMyNameAge_1c3a7331cdbb691c191150c730b54acd(null,null,null,false),0), Instance_0_prcMyNameAge_1c3a7331cdbb691c191150c730b54acd(null,null,null,false), View_3_User_A_PotentialOwners_1c3a7331cdbb691c191150c730b54acd(Instance_0_prcMyNameAge_1c3a7331cdbb691c191150c730b54acd(null,null,null,false),Scope_5_MyNameAge_1c3a7331cdbb691c191150c730b54acd(Instance_0_prcMyNameAge_1c3a7331cdbb691c191150c730b54acd(null,null,null,false)),0,false), View_5_User_A_ExcludedOwners_1c3a7331cdbb691c191150c730b54acd(Instance_0_prcMyNameAge_1c3a7331cdbb691c191150c730b54acd(null,null,null,false),Scope_7_MyNameAge_1c3a7331cdbb691c191150c730b54acd(Instance_0_prcMyNameAge_1c3a7331cdbb691c191150c730b54acd(null,null,null,false)),0,false)): com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back

at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)

at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:120)

at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)

at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:116)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:337)

at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:114)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:266)

Caused by: com.sap.glx.core.kernel.api.KernelException: javax.ejb.EJBTransactionRolledbackException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@2ff024 for bean sap.com/tcbpemtmearannotation|bpemtmejb.jarannotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@2ff024 for bean sap.com/tcbpemtmear*annotation|bpemtmejb.jar*annotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified

at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:150)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)

... 11 more

Caused by: javax.ejb.EJBTransactionRolledbackException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@2ff024 for bean sap.com/tcbpemtmearannotation|bpemtmejb.jarannotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@2ff024 for bean sap.com/tcbpemtmear*annotation|bpemtmejb.jar*annotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified

at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$Required.error(TransactionAttributeHandler.java:307)

at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$TransactionAttributeErrorsHandler.error(TransactionAttributeHandler.java:130)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:40)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)

at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)

at $Proxy406.createTaskInstance(Unknown Source)

at com.sap.bpem.tm.adapter.invocation.CreateTaskManagmentObject.persist(CreateTaskManagmentObject.java:144)

at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:145)

... 12 more

Caused by: javax.ejb.EJBException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@2ff024 for bean sap.com/tcbpemtmearannotation|bpemtmejb.jarannotation|GalaxyTaskProviderBean in application sap.com/tcbpemtm~ear.; nested exception is: java.lang.IllegalArgumentException: language is not specified

at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:83)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)

... 26 more

Caused by: java.lang.IllegalArgumentException: language is not specified

at com.sap.glx.handler.text.TextManager.createLocaleFallback(TextManager.java:341)

at com.sap.glx.handler.text.TextManager.getTexts(TextManager.java:149)

at com.sap.glx.handler.text.TextManager.initializeTextCache(TextManager.java:299)

at com.sap.bpem.tm.impl.TaskManagerImpl.createTaskInstance(TaskManagerImpl.java:139)

at com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(GalaxyTaskProviderBean.java:40)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)

Regards,

Amit

Edited by: amit singh on Feb 1, 2009 2:23 PM