[JBoss jBPM] - Extending jBPM 4 history service
by mpradny
Hello,
I'm evaluating jBPM for one project. We want to move process definitions from existing system to separate server running jBPM that could be potentially reused. I've to create possible integration scenario.
Current system is fully functional and the user frontend is working, but since we want to have more flexible process definitions, moving them to JBPM would help us a lot.
My idea was:
1. Current system would signal user activities to jBPM, e.g. activity completed (since this would be just a small change in code where we currently do this with local data, no big deal)
2. I need to get feedback from the jBPM about instance progress. I don't want to put this as automated activity or listener 1000 times in every process, so I was thinking about a general solution.
My idea is to create custom history service implementation that would do updates to current database. Then it could be completely process independent and process designers would not have to worry about this.
Has anyone tried this? So far I haven't found clean way how to add custom history service to jBPM via configuration. Ideally I would like just to plug my eg. CustomHistoryService to standard jBPM build to get it running.
Is this feasible? If you think that this can't be covered by jBPM use cases, let me know too.
Thanks,
Martin
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224282#4224282
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224282
17 years
[JBoss jBPM] - Re: Is that possible to create a non-persisted ProcessInstan
by kenees
Hi Volker
Unfortunately, your hack doesn't work, I got a more serious exception:
| 17:41:04,598 ERROR [AssertionFailure] an assertion failure occured (this may indicate a bug in Hiber
| nate, but is more likely due to unsafe use of the session)
| org.hibernate.AssertionFailure: possible nonthreadsafe access to session
| at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:64)
| at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
| at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingE
| ventListener.java:298)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:
| 27)
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224279#4224279
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224279
17 years
[JCA/JBoss] - java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateEx
by rasa
Hi ,
I was trying to upgrade jboss 3.2* to 4.2.3 GA, i have configured everything but when i started the server i got following error in CONSOLE.
20:28:03,245 WARN [EJBDeployer] Verify failed; continuing
| java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
| at java.lang.Class.getDeclaredMethods0(Native Method)
| at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
| at java.lang.Class.privateGetPublicMethods(Class.java:2519)
| at java.lang.Class.getMethods(Class.java:1406)
| at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:686)
| at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:848)
| at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:78)
| at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:181)
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
| 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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy32.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
|
I have four jar files related with hibernate in defualt/lib folder. That are
1) hibernate3.jar
2) hibernate-annotations.jar
3) hibernate-entitymanager.jar
4) boss-hibernate.jar
Still what is the issue, i am not able to understand. Please Help me to find a solution.
Thanks
Rasa
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224277#4224277
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224277
17 years