[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread iterrell
Alternatively, you could probably use xdoclet as: 
[MDB xdoclet settings: transaction-type=Bean ]

Don't quote that as gospel; just guessing.  :) 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922563#3922563

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922563


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread RAlfoeldi
... which you wouldn't want to do as your workflow would then be in another 
transaction then the acceptance of the message and you be losing all 
transactional security.

Quote that as gospel :-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922570#3922570

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922570


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread winjer
thanks for the replies.
yes, changing the MDB xdoclet settings  (transaction-type=Bean ) is not what 
i need :)

RAlfoeldi, i d appreciate it if you could  paste the hibernate here, i havent 
get it to work yet :S

thanks again.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922602#3922602

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922602


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread RAlfoeldi
This is a Oracle / JBoss configuration:



  | hibernate-configuration
  | 
  | !-- a SessionFactory instance listed as /jndi/name --
  | session-factory
  | name=java:hibernate/SessionFactory
  | 
  | !-- properties --
  | property 
name=connection.datasourcejava:jdbc//JBPM/property
  | property 
name=dialectorg.hibernate.dialect.Oracle9Dialect/property
  | property name=show_sqlfalse/property
  | property name=hibernate.transaction.factory_class
  | org.hibernate.transaction.CMTTransactionFactory
  | /property
  | property name =hibernate.transaction.manager_lookup_class
  | org.hibernate.transaction.JBossTransactionManagerLookup
  | /property
  | ...
  | 

Have a look at the Hibernate documentation on the various transaction managers 
that are possible.

Greetings

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922610#3922610

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922610


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread iterrell
Maybe I can try to be at least a little useful then, after that bad advice.  
;-)  

Using JBoss 4.0.3 I have:


  | 
hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
  | 
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
  | 

in my jbpm.hibernate.properties file, so as to not have to edit the hibernate 
xml config.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922623#3922623

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922623


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread winjer
thank you both guys, i really appreciate it ;-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922722#3922722

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922722


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-08 Thread iterrell
I've had similar errors using EJB Timers.  I believe what is going on is that 
your application server is managing your transactions but that is not getting 
communicated to jBPM's Hibernate.

Since my timer's logic was simple and purely jBPM related, I solved the problem 
by letting the bean manage its own transactions.  With EJB3 you can tag the 
bean with:


  | @TransactionManagement(TransactionManagementType.BEAN)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922390#3922390

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922390


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-08 Thread winjer
thanks, though unfortunately i dont know how to implement what you suggest in 
my case... 
If i am right, the problem occurs because i have stated that the MDB 
transactions are handled 
by the container (JBOSS) 
[MDB xdoclet settings:  transaction-type=Container ] 

Anyone knows how to make it work?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922413#3922413

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922413


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-08 Thread RAlfoeldi
You will need to configure Hibernate to use container managed transactions. Its 
in the docs somewhere. If you haven't found it by then, I'll post it in a few 
hours (sorry, not in the office right now.)

Greetings

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922494#3922494

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922494


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user