Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

I have created a distributed (Admin and BPM server in...


Biman Biswas

Recommended Posts

I have created a distributed (Admin and BPM server in different machine) BPM 4.0 environment. I have deployed both Organization Model and Process Package in separate project where Organization Model is a reference project to other project. Both the project deployed and running with out any error. Business process having starter as message trigger and a Business service is created for that. Business service takes the user input to trigger Business process. I am able to start Business Service from Workspace/Openspace , after providing the user input and clicking the submit button the Business service form is getting closed but Business process is not initiated. For your reference, I am using Org model position to the Business process user task form and which is mapped correctly from the default LDAP cont inter resource. Please suggest for any work aroun/configuration changes.. Getting below error in Event View Log @ Workspace/Openspace. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Error encountered whilst querying an Organizational Model Entity. [null,findByGuid, com.tibco.n2.de.dao.exception.QueryEntityException: Error encountered whilst querying an Organizational Model Entity. [null,findByGuid,] at com.tibco.n2.de.hibernate.SimpleAbstractHibernateDao.getNamedQuery(SimpleAbstractHibernateDao.java:92) at com.tibco.n2.de.hibernate.SimpleAbstractHibernateDao.getNamedQuery(SimpleAbstractHibernateDao.java:70) at com.tibco.n2.de.dao.hibernate.ResourceDaoImpl.find(ResourceDaoImpl.java:750) at com.tibco.n2.de.auth.SystemAction.getCaller(SystemAction.java:402) at com.tibco.n2.de.services.impl.SecurityServiceImpl.listAuthorisedOrgs(SecurityServiceImpl.java:424) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy123.listAuthorisedOrgs(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.operation.OperationHandler$1.run(OperationHandler.java:650) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Unknown Source) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.operation.OperationHandler.invokeMethodWithThreadContext(OperationHandler.java:637) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.operation.AsyncToSyncOperationHandler.invoke(AsyncToSyncOperationHandler.java:98) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.ProxyInvocationHandlerRegistry$ProxyInvocationContext.invoke(ProxyInvocationHandlerRegistry.java:432) at com.sun.proxy.$Proxy133.invoke(Unknown Source) at com.tibco.bx.amx.container.services.impl.EndpointHolder.invoke(EndpointHolder.java:67) at com.tibco.bx.amx.container.services.impl.EndpointHolder.invokeRequestReply(EndpointHolder.java:49) at com.tibco.bx.amx.container.services.impl.ConsumerEndpointReference.send(ConsumerEndpointReference.java:85) at com.tibco.bx.n2.de.BxAuthListOrgsImpl.listAuthorisedOrgs(BxAuthListOrgsImpl.java:74) at com.tibco.bx.sec.BxAuthHelper.listAuthorisedOrgs(BxAuthHelper.java:70) at com.tibco.bx.amx.container.EngineContext.getOrganizationIds(EngineContext.java:234) at com.tibco.bx.core.BxSystemImpl.getOrganizationIds(BxSystemImpl.java:1892) at com.tibco.bx.util.BxAttrHelper.saveSubject(BxAttrHelper.java:120) at com.tibco.bx.core.service.BxDispatcherImpl.startJob(BxDispatcherImpl.java:827) at com.tibco.bx.core.service.BxDispatcherImpl.onDispatchBody(BxDispatcherImpl.java:431) at com.tibco.bx.core.service.BxDispatcherImpl.onDispatch(BxDispatcherImpl.java:107) at com.tibco.bx.core.service.BxDispatcherImpl.onDispatch(BxDispatcherImpl.java:169) at com.tibco.bx.core.service.BxServiceAgentImpl.onDispatch(BxServiceAgentImpl.java:125) at com.tibco.bx.core.service.BxInterfaceProviderImpl.invoke(BxInterfaceProviderImpl.java:183) at com.tibco.bx.amx.container.services.impl.InterfaceProvider.invoke(InterfaceProvider.java:61) at com.tibco.bx.amx.container.services.impl.InterfaceProvider.invoke(InterfaceProvider.java:1) at sun.reflect.GeneratedMethodAccessor592.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.operation.OperationHandler$1.run(OperationHandler.java:650) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Unknown Source) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.operation.OperationHandler.invokeMethodWithThreadContext(OperationHandler.java:637) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.operation.AsyncToAsyncOperationHandler.invoke(AsyncToAsyncOperationHandler.java:137) at com.tibco.amf.platform.runtime.componentframework.internal.proxies.ProxyInvocationHandlerRegistry$ProxyInvocationContext.invoke(ProxyInvocationHandlerRegistry.java:464) at com.sun.proxy.$Proxy34.onRemoteMessage(Unknown Source) at com.tibco.amf.platform.runtime.componentframework.internal.messagingbus.ems.inbound.AbstractMessagingContext.run(AbstractMessagingContext.java:130) at com.tibco.amf.platform.runtime.componentframework.internal.messagingbus.ems.inbound.xa.XAMessagingContext.run(XAMessagingContext.java:74) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy6.getCurrentSession(Unknown Source) at com.tibco.amf.sharedresource.runtime.tibcohost.hibernate.TibcohostHibernateManagedConnectionFactory$TibcohostHibernateSessionFactory.getCurrentSession(TibcohostHibernateManagedConnectionFactory.java:206) at com.tibco.n2.common.hibernate.SessionFactoryHolder.getCurrentSession(SessionFactoryHolder.java:169) at com.tibco.n2.de.hibernate.SimpleAbstractHibernateDao.getNamedQuery(SimpleAbstractHibernateDao.java:88) ... 57 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.tibco.amf.sharedresource.runtime.core.hibernate.sharedresource.ProxySessionFactoryFactory.invoke(ProxySessionFactoryFactory.java:131) ... 61 more Caused by: java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy5.getCurrentSession(Unknown Source) ... 65 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.tibco.amf.sharedresource.runtime.core.hibernate.sharedresource.SessionFactoryHolder.invoke(SessionFactoryHolder.java:60) ... 66 more Caused by: org.hibernate.HibernateException: TIBCO-AMX-SR-HIBERNATE-002620: Unable to register cleanup Synchronization with TransactionManager. at com.tibco.amf.sharedresource.runtime.core.hibernate.AMFSessionContext.currentSession(AMFSessionContext.java:101) at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:591) ... 70 more
Link to comment
Share on other sites

  • 2 years later...

Hi,

I am facing the asme issue. Redoing the org model as per sample org model creation istructions didn't help either. Wondering if you were able to find the root cause/resolve ths issue.

 

com.tibco.n2.de.dao.exception.QueryEntityException: Error encountered whilst querying an Organizational Model Entity. [null,findByGuid,]

-

-

-

Caused by: org.hibernate.HibernateException: TIBCO-AMX-SR-HIBERNATE-002620: Unable to register cleanup Synchronization with TransactionManager.

Link to comment
Share on other sites

×
×
  • Create New...