[jBPM] - Getting started in JBPM 6
by Alexander Herwix
Alexander Herwix [https://community.jboss.org/people/herwix] created the discussion
"Getting started in JBPM 6"
To view the discussion, visit: https://community.jboss.org/message/828445#828445
--------------------------------------------------------------
Hey jbpm experts,
I'm tasked with implementing a bpm system at work and after a lot of research I finally settled on the upcoming JBPM 6 as the basis for the project (love the integration with drools and the unified repository approach). However, having started to work with beta version I find it hard to really get a grip on the project. I have no experience (except reading large parts of the userguide) in jBPM 5.x as of yet and I'm really troubled by the lack of documentation/getting started guides for version 6. I'm doing my best using the old documentation, however it's really uncomfortable to just scramble everything together and hope that nothing has changed too much...
Do you have an ETA for more Docs on 6? Or even better maybe a roadmap for the development of version 6 (release time frames, etc)? If you need any help compiling this information into blog posts, wiki entries or the like, I would be glad to help!
Cheers, Alex
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/828445#828445]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months
[IronJacamar] - increase in open cursor (oracle11g)
by bruno bruno
bruno bruno [https://community.jboss.org/people/hohokampeople] created the discussion
"increase in open cursor (oracle11g)"
To view the discussion, visit: https://community.jboss.org/message/828439#828439
--------------------------------------------------------------
Hi
We have just migrated to JBoss AS 7.1.1.Final. However we've been encountering an increase in open cursor.
Do we need to update the jdbcadapter (current version used IronJacamar 1.0.9.Final)?
Here's sample of our dataSource Config:
<xa-datasource jndi-name="java:DataSourceXS" pool-name="ExampleXADS">
<driver>oracle</driver>
<xa-datasource-property name="URL">jdbc:oracle:thin:@UMSQUAL:1521:oradb1</xa-datasource-property>
<xa-pool>
<min-pool-size>8</min-pool-size>
<max-pool-size>32</max-pool-size>
<prefill>true</prefill>
</xa-pool>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</xa-datasource>
<validation>
<valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
<stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>
<exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
</validation>
<timeout>
<blocking-timeout-millis>5000</blocking-timeout-millis>
</timeout>
<drivers>
<driver name="oracle" module="com.oracle.ojdbc6">
<xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
</driver>
</drivers>
<driver name="oracle" module="com.oracle.ojdbc">
</driver>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/828439#828439]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months
[jBPM] - Unable to get Session Snapshot
by abadr
abadr [https://community.jboss.org/people/abadr] created the discussion
"Unable to get Session Snapshot"
To view the discussion, visit: https://community.jboss.org/message/828386#828386
--------------------------------------------------------------
Hi,
I am new to JBPM and I am trying to build a stateful workflow process (stateless is working just fine) with two Email Tasks and one signal event (see attached file that includes the Java file and the bpmn file. When I try to start the process and when it reaches the wait state and try to save the current session, I get the following exceptions thrown (I tried to google this problem but with no success so far):
0 17/07 12:42:06,152[main] ERROR drools.persistence.SingleSessionCommandService.rollbackTransaction - Could not commit session
java.lang.RuntimeException: Unable to commit transaction
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:182)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:376)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcessInstance(CommandBasedStatefulKnowledgeSession.java:237)
at com.sample.UploadDocumentWorkflowProcessMain.main(UploadDocumentWorkflowProcessMain.java:79)
Caused by: javax.persistence.PersistenceException: java.lang.RuntimeException: Unable to get session snapshot
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:516)
at bitronix.tm.BitronixTransaction.fireBeforeCompletionEvent(BitronixTransaction.java:478)
at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:193)
at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:120)
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:179)
... 3 more
Caused by: java.lang.RuntimeException: Unable to get session snapshot
at org.drools.persistence.SessionMarshallingHelper.getSnapshot(SessionMarshallingHelper.java:75)
at org.drools.persistence.info.SessionInfo.update(SessionInfo.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
at org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:80)
at org.hibernate.ejb.event.EntityCallbackHandler.preUpdate(EntityCallbackHandler.java:65)
at org.hibernate.ejb.event.EJB3FlushEntityEventListener.invokeInterceptor(EJB3FlushEntityEventListener.java:41)
at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:330)
at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270)
at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:151)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:504)
... 7 more
Caused by: java.io.NotSerializableException: org.drools.impl.StatefulKnowledgeSessionImpl
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
at java.util.ArrayList.writeObject(ArrayList.java:710)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
at org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy$SerializablePlaceholderStrategyContext.write(SerializablePlaceholderResolverStrategy.java:97)
at org.drools.marshalling.impl.PersisterHelper.writeStrategiesIndex(PersisterHelper.java:209)
at org.drools.marshalling.impl.PersisterHelper.writeToStreamWithHeader(PersisterHelper.java:189)
at org.drools.marshalling.impl.ProtobufOutputMarshaller.writeSession(ProtobufOutputMarshaller.java:101)
at org.drools.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:169)
at org.drools.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:151)
at org.drools.persistence.SessionMarshallingHelper.getSnapshot(SessionMarshallingHelper.java:72)
... 25 more
java.lang.RuntimeException: Unable to commit transaction
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:182)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:376)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcessInstance(CommandBasedStatefulKnowledgeSession.java:237)
at com.sample.UploadDocumentWorkflowProcessMain.main(UploadDocumentWorkflowProcessMain.java:79)
Caused by: javax.persistence.PersistenceException: java.lang.RuntimeException: Unable to get session snapshot
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:516)
at bitronix.tm.BitronixTransaction.fireBeforeCompletionEvent(BitronixTransaction.java:478)
at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:193)
at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:120)
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:179)
... 3 more
My Persistence.xml is as follows:
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/828386#828386]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months
[JBoss Tools] - Problem when I try to install jboss in eclipse
by Rodrigo Goes
Rodrigo Goes [https://community.jboss.org/people/rodrigo.goes] created the discussion
"Problem when I try to install jboss in eclipse"
To view the discussion, visit: https://community.jboss.org/message/827530#827530
--------------------------------------------------------------
Hi everyone.
I'm trying to install the jboss plugin in my eclipse, but when I try to download it (Help > Install New Software), I'm getting the following message:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.jboss.tools.common.projecttemplates,3.4.0.Final-v20130327-0606-B69.
MD5 hash is not as expected. Expected: ab494bdcd41355456ce80434637061ff and found 4b5c4838e2e0342fd3702efb258634af.
Problems downloading artifact: osgi.bundle,org.jboss.tools.forge.runtime,1.2.2.Final-v20130327-0622-B107.
MD5 hash is not as expected. Expected: d71f6c5189528e0a691d2afd0acf58b4 and found e2523c1b9d0322ac201c9d24a8bc0ca7.
Can anyone help me?
Thanks a lot!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/827530#827530]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months