Re: Spring support in Geronimo

2006-02-09 Thread Guillaume Nodet
Maybe I 'm still miss some point, but I think that's what do the org.apache.geronimo.transaction.context.GeronimoTransactionManager [1] of the jencks project. I was in need for it in ServiceMix, because when using xa transactions, the JBI container has to suspend / resume transactions. This is

Re: Spring support in Geronimo

2006-02-06 Thread Jason Dillon
to that today. BTW why do you think the contextual txm would work better? --jason -Original Message- From: David Jencks [EMAIL PROTECTED] Date: Fri, 3 Feb 2006 19:43:17 To:dev@geronimo.apache.org Subject: Re: Spring support in Geronimo On Feb 3, 2006, at 5:37 PM, Jason Dillon wrote: On 2

Re: Spring support in Geronimo

2006-02-03 Thread David Jencks
On Feb 2, 2006, at 7:17 PM, Rajith Attapattu wrote:Hi David,   Thanks for the info, I myself not too familliar with Spring :-) I asked the question out of curiosity.  Btw why did u integrate the spring tm? (like any special features that it provides)   Is it better than the default Geronimo

Re: Spring support in Geronimo

2006-02-03 Thread David Jencks
On Feb 2, 2006, at 10:00 PM, Jason Dillon wrote:On a related note...Any idea on how to integrate Geronimo's TXM with Spring+Hibernate?  I played around with it a little today, but just kept running into problems :-(It looks like you can be the first to test out my new SpringTransactionManager :-). 

Re: Spring support in Geronimo

2006-02-03 Thread Jason Dillon
It looks like you can be the first to test out my new SpringTransactionManager :-). It wraps our TransactionContextManager in a PlatformTransactionManager subclass. You need to give it 2 constructor args, the kernel name and the tcm object name. The normal values are in the comments in

Re: Spring support in Geronimo

2006-02-03 Thread David Jencks
This looks like it should work. I think there is some chance that it would work even better if we provided a transaction manager that wraps our transactioncontextmanager, but it's too early in the morning for me to think straight about it. If you get into problem with connections not

Re: Spring support in Geronimo

2006-02-03 Thread Jason Dillon
This looks like it should work. I think there is some chance that it would work even better if we provided a transaction manager that wraps our transactioncontextmanager, but it's too early in the morning for me to think straight about it. If you get into problem with connections not

Re: Spring support in Geronimo

2006-02-03 Thread Jason Dillon
Is a JTA UserTransaction supposed to be bound as java:comp/UserTransaction, from inside a EAR/EJB context? I'm getting unhappy exceptions like: snip Caused by: org.springframework.transaction.TransactionSystemException: JTA UserTransaction is not available at JNDI location

Re: Spring support in Geronimo

2006-02-03 Thread Dain Sundstrom
Only in an EJB using bean managed transactions. -dain On Feb 3, 2006, at 5:01 PM, Jason Dillon wrote: Is a JTA UserTransaction supposed to be bound as java:comp/UserTransaction, from inside a EAR/EJB context? I'm getting unhappy exceptions like: snip Caused by:

Re: Spring support in Geronimo

2006-02-03 Thread David Jencks
I don't think you'll be able to see anything in a jndi viewer since we don't have a global jndi context Have you tried using my SpringTransactionManager instead of spring's JtaTransactionManager? Is your ejb clearly labelled for BMT? If so, the UT should be there if you are accessing

Re: Spring support in Geronimo

2006-02-03 Thread Jason Dillon
On 2/3/06, David Jencks [EMAIL PROTECTED] wrote: I don't think you'll be able to see anything in a jndi viewer since we don't have a global jndi context :-( Have you tried using my SpringTransactionManager instead of spring's JtaTransactionManager? Where is your mythical

Re: Spring support in Geronimo

2006-02-03 Thread David Jencks
On Feb 3, 2006, at 5:37 PM, Jason Dillon wrote: On 2/3/06, David Jencks [EMAIL PROTECTED] wrote: I don't think you'll be able to see anything in a jndi viewer since we don't have a global jndi context :-( Have you tried using my SpringTransactionManager instead of spring's

Re: Spring support in Geronimo

2006-02-03 Thread Jason Dillon
Ha... This app is so coupled to WAS5 its not funny. Using com.ibm classes all over the place :-( --jason -Original Message- From: David Jencks [EMAIL PROTECTED] Date: Fri, 3 Feb 2006 19:43:17 To:dev@geronimo.apache.org Subject: Re: Spring support in Geronimo On Feb 3, 2006, at 5:37

Re: Spring support in Geronimo

2006-02-02 Thread Rajith Attapattu
Hi, Can somebody please clarify as to the extent of Spring support we have within Geronimo. I did read David Jencks comments on the JIRA issue,but couldn't grasp the overall context of the sping involvment within G. SoI really appreciate a bit more background and more specific information on the

Re: Spring support in Geronimo

2006-02-02 Thread David Jencks
On Feb 2, 2006, at 4:42 PM, Rajith Attapattu wrote: Hi, Can somebody please clarify as to the extent of Spring support we have within Geronimo. I did read David Jencks comments on the JIRA issue, but couldn't grasp the overall context of the sping involvment within G. So I really

Re: Spring support in Geronimo

2006-02-02 Thread Rajith Attapattu
Hi David, Thanks for the info, I myself not too familliar with Spring :-) I asked the question out of curiosity. Btw why did u integrate the spring tm? (like any special features that it provides) Is it better than the default Geronimo transaction manager? (I have heard that you can use spring tm

Re: Spring support in Geronimo

2006-02-02 Thread Jason Dillon
On a related note...Any idea on how to integrate Geronimo's TXM with Spring+Hibernate?  I played around with it a little today, but just kept running into problems :-(--jasonOn Feb 2, 2006, at 9:45 PM, James Strachan wrote:Just a minor clarification; Spring does not have a transaction manager per