[JBoss jBPM] - Re: JBPM 3.1.4 tutorial examples not working in JBPM 3.2b2?
by efip10
"efip10" wrote : Hi,
|
| I'm trying to run a proof-of-concept project using jBPM 3.2 beta2.
|
| When running an (included in 3.1.4 but omitted from 3.2b2) HelloWorldDbTest, I get the following exception:
|
| org.jbpm.JbpmException: no jbpm tx service configured
| | at org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:317)
| | at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:220)
| | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:170)
| | at org.jbpm.svc.Services.close(Services.java:222)
| | at org.jbpm.JbpmContext.close(JbpmContext.java:139)
| | at org.jbpm.tutorial.db.HelloWorldDbTest.deployProcessDefinition(HelloWorldDbTest.java:138)
| | at org.jbpm.tutorial.db.HelloWorldDbTest.testSimplePersistence(HelloWorldDbTest.java:100)
|
| I understand that transaction management has changed in 3.2b2, since the previous implementation of DbPersistenceService reads:
| public void close() {
| | if ( (session!=null)
| | && (transaction==null)
| | && (isRollbackOnly)
| | ) {
|
| and the new version reads:
| public void close() {
| | if ( (session!=null)
| | && (transaction==null)
| | && (isRollbackOnly())
| | ) {
|
| If there is something I should do to configure jbpm tx service? I can't find any description in the docs accompanying 3.2b2.
|
| Thanks,
|
| efi
No one can help me out with this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016926#4016926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016926
19Â years, 2Â months
[JBossCache] - Weird TreeCache.printDetails()
by ottuzzi
Hi there,
I'm getting strange results from the method TreeCache.printDetails().
I'm constructing a tree like:
/USER
| /USER_ID_1
| /INFO
| ...
| ...
| /USER_ID_2
| ...
| ...
| /USER_ID_N
When the cache is initialized everything is OK but after some time (say 1 hour) the printDetails() method show something like this:
/USER
| jboss:internal:uninitialized: null
|
| /30815
|
| /31135
| jboss:internal:uninitialized: null
|
| /31137
|
| /29970
| jboss:internal:uninitialized: null
|
| /29544
Should I get worried?
Am I doing something wrong?
The log says:
2007-02-15 10:42:33,190 DEBUG - process(): region: /USER/
| 2007-02-15 10:42:33,190 DEBUG - processed 0 node events in region: /USER/
| 2007-02-15 10:42:33,190 DEBUG - Recycle queue is empty
Many thanks
Bye
Piero
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016920#4016920
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016920
19Â years, 2Â months