[jBPM] New message: "Re: Process definition deployment"
by Martin Porter
User development,
A new message was posted in the thread "Process definition deployment":
http://community.jboss.org/message/522489#522489
Author : Martin Porter
Profile : http://community.jboss.org/people/jedizippy
Message:
--------------------------------------------------------------
Hi,
Be aware we came across some issues this week with versioned deployments. We have an EJB that does the deployments but we ran into issues if there were versions already deployed with the same version number. The deployer would correctly throw an exception if it encountered an existing process with the version you are trying to deploy but we were calling the deployer in a for loop for each process. In this case if a newer version of the processe did not exist in the DB the deployer would report success but not actually update the DB (presumably due to the exceptions on the processes which already had the latest versions deployed).
As we didnt have time to look into it we changed the EJB to deploy one process in the ejb method and then call that method for each process which solved the issue. Something to be aware of !.
Cheers
Martin
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/522489#522489
16 years, 2 months
[jBPM] New message: "Re: jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update"
by Martin Porter
User development,
A new message was posted in the thread "jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update":
http://community.jboss.org/message/522475#522475
Author : Martin Porter
Profile : http://community.jboss.org/people/jedizippy
Message:
--------------------------------------------------------------
HI,
As you say I am sure if we coded everything without subprocesses. We have been having issues with subprocesses since 4.1 to be honest. But we thought we had solved the issues. However it would seem that it was onlyt short lived. One theory we have regarding this is that it could be caused due to a XA transaction rollback. We have calls from our <custom> code in the subprocess that call EJBs which send JMS messages and wait for a JMS response. If this times out as no response is recieved then the XA transaction timeout is thrown. Maybe under this circumstance it causes the ID generation issue as sometime later (even during another process instance) the constraint violation could appear. Again as I said we havre no confirmed this. It could all be related to the JTA configuration but I cant get an answer to my questions on this......maybe its all related.
I have a great fear at this point in time that we will not progress past end to end testing as there are so many issues appearing now during unit and load tests.But hopefully I am wrong !.
Regards
Martin
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/522475#522475
16 years, 2 months
[jBPM] New message: "Re: jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update"
by Zengping Tian
User development,
A new message was posted in the thread "jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update":
http://community.jboss.org/message/522469#522469
Author : Zengping Tian
Profile : http://community.jboss.org/people/zptian
Message:
--------------------------------------------------------------
Thanks for sharing Martin
Interesting to know that you have done the test to add continue="async" on the Start activity. We did the similar test and found the same issue. Hope someone from the JBPM team could explain whether it's a known problem which will be fixed in the future release.
In our case we use DB2 9.1.7 and running JBPM as a standalone server(wrap up JBPM in a java process ) with out of box job executors.The issue we experienced frequently is db2 SQL exception of deadlock(SQL Error code -911) on JBPM4_EXECUTION, and sometimes on JBPM4_JOB as well. The different errors we saw could be due to the differences between Oracle and DB2 on the default constrains of the tables and the isolation levels. The cause could be the same underlyer issue or issues. As you pointed out, the ID generator could be a point of issue. We also doubt about the way JBPM handling the subprocess activity as while as it seems running fine if we strip off the subprocess.
We have pushed our QA for two weeks because of this issue. We'll give a shot to the id generator to see if we can do anything. Will keep you posted.
Thanks
ZT
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/522469#522469
16 years, 2 months
[EJB 3.0] New message: "Re: EJB 3.0 - Injection via annotation into a servlet"
by jaikiran pai
User development,
A new message was posted in the thread "EJB 3.0 - Injection via annotation into a servlet":
http://community.jboss.org/message/522458#522458
Author : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran
Message:
--------------------------------------------------------------
Does the tutorial.jar that you created and placed at the root of the .ear contain any EJBs? Looking at the exception stacktrace, it's being considered as an application client instead of a EJB deployment. What does the contents of the MANIFEST.MF of that jar look like? Also, you have placed the persistence.xml in the wrong location in the .war. One of the valid locations to place the persistence.xml in the .war, is the .war/WEB-INF/classes folder, you might want to move it there.
I would also recommend that you leave out the IDE from the picture, atleast till the issue is solved. I usually use Ant to build the deployments. That way, i don't have to worry about IDE messing up the way deployments are created.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/522458#522458
16 years, 2 months