RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
the container/bean story does not sound right why does the CMP engine START a new transaction? that is not it's place what persistence engine are you using? marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Vesco |Claudio |Sent: Friday,

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Vesco Claudio
Message- From: marc fleury [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:33 PM To: Vesco Claudio; Jboss Dev (Posta elettronica) Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) the container/bean story does not sound right why does the CMP engine START

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
Before I disconnect... |The container have a transaction active because, I think, I have deployed |the entity with MEJB SSB and the method invoke of this ejb have a |transaction defined in the transaction assembly part of ejb-jar.xml, more |there is not definitions and so the defaults are

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Vesco Claudio
Dev (Posta elettronica) |Cc: 'marc fleury' |Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) | | |I remember you that my English is very bad :-) | |In org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand at line 143 there is | |manager.getContainer().getTransactionManager().begin

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread David Jencks
- |From: Vesco Claudio [mailto:[EMAIL PROTECTED]] |Sent: Friday, March 22, 2002 5:36 AM |To: Jboss Dev (Posta elettronica) |Cc: 'marc fleury' |Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) | | |I remember you that my English is very bad

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
|-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Vesco |Claudio |Sent: Friday, March 22, 2002 6:52 AM |To: 'marc fleury' |Cc: Jboss Dev (Posta elettronica) |Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) | | |Ehm... | |when I wrote, I

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Dain Sundstrom
The JDBCStartCommand executes the create table statements, and some database have problems when you execute ddl in the same transactions normal sql. Why would jsr-77 care if I start a new transaction? I plan I using a private transaction in an autonumber generator when I implement the

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread David Jencks
|To: 'marc fleury' |Cc: Jboss Dev (Posta elettronica) |Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) | | |Ehm... | |when I wrote, I think to the current jboss 3.0 rabbit hole HEAD CVS. | |CMP - new CMP 2.0 77 is just a proxy to the JMX base, THERE SHOULD NOT BE PERSISTENCE. Try

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Vesco Claudio
that jboss works equally -Original Message- From: David Jencks [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 6:26 PM To: Vesco Claudio Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) I think this is inappropriate use of bean managed

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Andreas Schaefer
Hi Vasco When I try to deploy an ear (better, an CMP entity) with MEJB I have an exception in org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand because this class try to start a new transaction. What does this mean ? How you are going to deploy a CMP entity bean with MEJB ?? Andy

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Andreas Schaefer
PROBLEM. Andy - Original Message - From: Vesco Claudio [EMAIL PROTECTED] To: 'David Jencks' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 22, 2002 9:47 AM Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) Uhm... I am checking EJB 2.0 spec, topic 17, in particular

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread David Jencks
:[EMAIL PROTECTED]]On Behalf Of Vesco |Claudio |Sent: Friday, March 22, 2002 6:52 AM |To: 'marc fleury' |Cc: Jboss Dev (Posta elettronica) |Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) | | |Ehm... | |when I wrote, I think

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Vesco Claudio
22, 2002 6:56 PM To: Vesco Claudio Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) Hi Vasco When I try to deploy an ear (better, an CMP entity) with MEJB I have an exception in org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand because this class

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Andreas Schaefer
You @#! MEJB is not to be used this way !! Don't ever use MEJB to access the MBeanServer. Use the EJB-Adaptor/Connector for this but don't spoil our time with this fucking miss-use of services ! mejb.invoke(new

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Vesco Claudio
To: Vesco Claudio Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) You @#! MEJB is not to be used this way !! Don't ever use MEJB to access the MBeanServer. Use the EJB-Adaptor/Connector

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Andreas Schaefer
Hi Vesco Sorry for this, but I have thought that the MEJB can be a SECURE way to manage jboss. JSR-77 is here to manage JBoss but not to configure or deploy components. When you have a look at the specification you never see JMX mentioned (except for the MEJB implementation but there it is

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
marcf | | Claudio | | -Original Message- | From:David Jencks [SMTP:[EMAIL PROTECTED]] | Sent:Friday, March 22, 2002 5:55 PM | To: [EMAIL PROTECTED] | Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) | | I think the tx attributes on MEJB need

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
PROTECTED]]On Behalf Of David |Jencks |Sent: Friday, March 22, 2002 9:26 AM |To: Vesco Claudio |Cc: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) | | |I think this is inappropriate use of bean managed transactions. As far as |I know the MEJB is not in fact starting any

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
|I will add NotSupported transaction attribute to the MEJB |to increase performance but I DON'T SEE YOUR PROBLEM. DO NOT DO THAT IN FACT I WANT MANAGEMENT OPERATIONS TO BE TRANSACTIONAL, afaict he has another problem in his configuration, he is talking to another bean it seems, with the

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
in my mind marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of David |Jencks |Sent: Friday, March 22, 2002 10:13 AM |To: Vesco Claudio |Cc: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) | | |in my opinion, both

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Andreas Schaefer
Hi DO NOT DO THAT IN FACT I WANT MANAGEMENT OPERATIONS TO BE TRANSACTIONAL, Ok, then I will set it to Required. Andy ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
|-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Vesco |Claudio |Sent: Friday, March 22, 2002 10:11 AM |To: 'Andreas Schaefer' |Cc: [EMAIL PROTECTED] |Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) | | |Yes! | |I want to deploy a ear

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
|Sorry for this, but I have thought that the MEJB can be a SECURE way to |manage jboss. Actually you are right :) But the straight EJB connector is good as well. Look bottom line is that you are right on using the MEJB for that and there is a bug in the CMP initialization, not the MEJB. |If

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
PROTECTED]]On Behalf Of |Andreas Schaefer |Sent: Friday, March 22, 2002 10:49 AM |To: Vesco Claudio |Cc: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) | | |Hi Vesco | | Sorry for this, but I have thought that the MEJB can be a SECURE way to | manage jboss. | |JSR-77 is here

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Vesco Claudio
]] Sent: Friday, March 22, 2002 7:56 PM To: Vesco Claudio; 'Andreas Schaefer' Cc: [EMAIL PROTECTED] Subject: RE: [JBoss-dev] MEJB transactions (invoke deploy) |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Vesco |Claudio |Sent: Friday

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
| DO NOT DO THAT IN FACT I WANT MANAGEMENT OPERATIONS TO BE TRANSACTIONAL, | |Ok, then I will set it to Required. | |Andy SUPPORTS is good enough, if you need transactional operations you code a facade bean that updates the 3 beans at once (datasource and a service and a connector all at once)

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
|I'll send the patch to Dain... Appreciate it, thanks marcf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Andreas Schaefer
Hi Marc actually (ok you are right he was looking in the wrong place) I think that using the MEJB for JMX access... well... why not? Yes, you can but I don't think it is a good idea. I am currently talking with Hirom about the JBoss management tool and somehow we figured out that with JSR-77

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
] |Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) | | |Hi Marc | | actually (ok you are right he was looking in the wrong place) I |think that | using the MEJB for JMX access... well... why not? | |Yes, you can but I don't think it is a good idea. I am currently talking |with |Hirom about

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread David Jencks
Hopefully I won't be throwing more fuel on any firesand maybe not for today... Wouldn't an even better solution than patching the cmp2 start command to look for an existing tx be to run the call to the pm through a tx interceptor? btw... I am having to do something like this (a pm

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Dain Sundstrom
marc fleury wrote: OK what you want to do is have the initialization of the Bean in the CMP engine (the deploy) CHECK for the presence of a transaction. SO if the deployment is transactional (as done with a Required in MEJB) then you need to check for that transaction and only start if not

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread David Jencks
On 2002.03.22 16:51:47 -0500 Dain Sundstrom wrote: marc fleury wrote: OK what you want to do is have the initialization of the Bean in the CMP engine (the deploy) CHECK for the presence of a transaction. SO if the deployment is transactional (as done with a Required in MEJB) then you

RE: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread marc fleury
PM |To: marc fleury |Cc: Vesco Claudio; 'Andreas Schaefer'; |[EMAIL PROTECTED] |Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) | | |marc fleury wrote: | | OK what you want to do is have the initialization of the Bean in the CMP | engine (the deploy) CHECK for the presence