[jboss-user] [jBPM] - JBPM 4.3 - org.jbpm.api.JbpmException: couldn't acquire block of ids
Stefano Campanini
do-not-reply at jboss.com
Fri Apr 23 03:59:15 EDT 2010
Stefano Campanini [http://community.jboss.org/people/campa] replied to the discussion
"JBPM 4.3 - org.jbpm.api.JbpmException: couldn't acquire block of ids"
To view the discussion, visit: http://community.jboss.org/message/539140#539140
--------------------------------------------------------------
Thank guys for immediate suppprt ...
http://community.jboss.org/people/swiderski.maciej Maciej waht kinf of logs of Hibernate I need to activate to help you help me :-) ?
I'm investigating ... I found that in AcquireDbidBlockCmd property object result from the query obtained from the code reported below is null .
public Long execute(Environment environment) throws Exception {
Session session = environment.get(Session.class);
PropertyImpl property = (PropertyImpl) session.createQuery(
"select property " +
"from "+PropertyImpl.class.getName()+" as property " +
"where property.key = '"+PropertyImpl.NEXT_DBID_KEY+"'"
).uniqueResult();
Here property is null !!
My interested configuration is
....
<task-service />
<object class="org.jbpm.pvm.internal.id.DatabaseDbidGenerator">
<field name="commandService">
<ref object="txRequiredCommandService" />
</field>
</object>
<object class="org.jbpm.pvm.internal.id.DatabaseIdComposer" init="eager" />
Is it correct ?
How I can debug and understand wich transcations objects are playing and its state ?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/539140#539140]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100423/a4e59328/attachment.html
More information about the jboss-user
mailing list