[jboss-user] [JBoss jBPM] - Strange problem calling TaskInstance.end [could not initiali

2008-04-27 Thread bloreguy
I am using Jbpm + Hibernate on MSSQL Server and see this error frequently. Sometimes, I am able to run without any problems. Any help in understanding and fixing this issue will be deeply appreciated. 10:29:29,947 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: HYT00 10:29:29,951 ERROR

[jboss-user] [JBoss jBPM] - Couldn't find ProcessDefinition or load Process Instance by

2008-04-09 Thread bloreguy
I am using Jbpm 3.2.2 with Jboss 4.2.2 with MSSQL with JTS Drivers. Worked perfectly with MYSQL with no issues and see error when migrated to MSSQL/JTS Drivers Very sporadically and with increasing frequency, I see this error: COuldn't find ProcessDefinition on this call:

[jboss-user] [JBoss jBPM] - Re: UserTransaction issues with jBPM and Hibernate

2008-04-02 Thread bloreguy
Thanks for your reply. I will disable all UserTransactions in the code. If I need to rollback this transaction, what should be done? Should I call setRollbackonly or throw an exception to flag that rollback has to be performed? Thanks again for your response and deeply appreciate it. View the

[jboss-user] [JBoss jBPM] - JTA Transaction support for jbpm - Issues with SeamPhaseList

2008-03-31 Thread bloreguy
The issue here seems to be this: I obtain a UserTransaction at the start of the method and in case of error, I call rollback in catch block. But the rollback is intercepted by the SeamPhaseListener which tries to begin a transaction and I get the error Could not start transaction:

[jboss-user] [JBoss jBPM] - UserTransaction issues with jBPM and Hibernate

2008-03-25 Thread bloreguy
I am having issues creating a new UserTransaction in a jbpm process using Hibernate. Am I missing anything in order to create a JTA User transaction and then bind the Hibernate session within the transaction? Please advise Any advice greatly appreciated My Code --- public String

[jboss-user] [JBoss jBPM] - JBPM Transaction Management - Please advise best techniques

2008-03-24 Thread bloreguy
Hello, I use jbpm with Hibernate and would want to know the best techniques for Transaction Management. I have an application with lot of database queries and multiple updates as part of 1 transaction and require to rollback updates in case of failure. 1. Should I use JDBCTransactionFactory

[jboss-user] [JBoss jBPM] - JBPM Transaction Management - Please advise best techniques

2008-03-24 Thread bloreguy
Hello, I use jbpm with Hibernate and would want to know the best techniques for Transaction Management. I have an application with lot of database queries and multiple updates as part of 1 transaction and require to rollback updates in case of failure. 1. Should I use JDBCTransactionFactory

[jboss-user] [JBoss jBPM] - new rows inserted into jbpm tables every time jboss is start

2008-02-21 Thread bloreguy
Hi, I am a beginner to jbpm and see this issue everytime the jboss server is started. Please note that I do not have create-drop or create entry on startup in my hibernate.cfg.xml The following tables are inserted with new entries every time, with the old entries retained. So after some time,

[jboss-user] [JBoss jBPM] - Exceptions after calling jbpmContext.close - Please Help

2008-02-17 Thread bloreguy
After business processing (creating a new process instance, and signalling twice), I close the jbpmContext and see these errors. Please help me in understanding what they might be about. I also have a Hibernate Session in the same class, injected by Seam and set this session in jbpmContext

[jboss-user] [JBoss jBPM] - Re: Exceptions after calling jbpmContext.close - Please Help

2008-02-17 Thread bloreguy
On a side note, if I dont close the jbpmContext, I dont see the taskinstances and processinstance jbpm tables updated in the database. They get updated only when I call jbpmContext.close. Alos, the processinstance and taskmanagementinstances are not autoSave entries - They are newly created

[jboss-user] [JBoss jBPM] - Help Required with Seam/jbpm - Consulting with $$

2008-02-12 Thread bloreguy
Hi, I am new to JBoss Seam and jbpm and trying to implement a very basic project. While I looked at the seam dvd store examples, I am having issues with trying to adapt it to my project and need to submit project. Not sure if I can solicit help this way here in the forum, can I get some

[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question

2008-02-10 Thread bloreguy
Thank you very much. WHere do I specify that the JPA annotated classes have to be loaded automatically? I used the entry property name=hibernate.archive.autodetection value=class, hbm and still see that when I refer to an entity class, it gives me an exception that the entity class is not

[jboss-user] [JBoss Seam] - JBoss Seam DVDStore Example- Hibernate Mapping Question for

2008-02-09 Thread bloreguy
I am a newbie into Seam/Hibernate world and very much impressed with the technologies. HAd a simple question on Hibernate mapping and would very much appreciate response. In the dvdstore example in Jboss Seam examples, the hibernate.cfg.xml does not have any *.hbm.xml for the entity classes