RE: [JBoss-user] JBoss questions...

2001-03-30 Thread marc fleury

|I believe that this is misinformation. JBoss's bundled transaction
|manager implements two phase commit, so using multiple XAResources in
|the same transaction should work fine.
|
|What it doesn't support is propagating the transaction context to other
|transaction managers, i.e. outside one JVM.

that is misinformation as well.  We DO propagate the context, we just don't
provide a JBossTX that supports extraVM import export, we integrate with
others TM

We really must do the proof of concept ONCE AND FOR ALL, to put this
misinformation to be... ole you there?

marc
|
|Toby.
|
|
|___
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss questions...

2001-03-30 Thread marc fleury

JBoss has support for distributed transactions it is the JBossTx that
doesn't,  to get distributed transactions you can drop tyrex or jonas' tx in
JBoss and it should work.  We are going to provide it since folks are asking
for it.

HOWEVER

1- It is a purely "checkpoint" feature, I don't know of ANYONE really using
it in production with the other vendors
2- Which is why we made the CONSCIOUS decision to let JBossTX run fast in VM
and leave the cumbersome distributed TX out

Again we should really package a JBoss with distributed TX, but I am willing
to be few if any are going to use it,

marc


|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
|Crothers.Dean
|Sent: Thursday, March 29, 2001 9:19 PM
|To: [EMAIL PROTECTED]
|Subject: RE: [JBoss-user] JBoss questions...
|
|
|Filip,
|
|thanks for the explanation, even though its not what I wanted to hear!!
|
|So I guess the issue now is when will JBoss support distributed
|transactions
|- does anybody know???
|
|
|thanks again,
|
|Dean
|
|-Original Message-
|From: Filip Hanik [mailto:[EMAIL PROTECTED]]
|Sent: Thursday, March 29, 2001 5:28 PM
|To: [EMAIL PROTECTED]
|Cc: [EMAIL PROTECTED]
|Subject: RE: [JBoss-user] JBoss questions...
|
|
|> You mentioned that 'true 2 phase commit' is not implemented in JBoss? The
|> logging of the JBoss console at startup outputs:
|>
|> [SQLServerPool] Starting
|> [SQLServerPool] XA Connection pool SQLServerPool bound to
|> java:/SQLServerPool
|> [SQLServerPool] Started
|
|Well. that is the jdbc driver that implements the XA protocol.
|This means that if the server was able to handle distributed transactions,
|the underlying driver will support that.
|
|so for a distributed transaction to work across multiple database
|servers to
|work it requires a) the driver to handle two phase commits and b)
|the server
|to implement the logic for the distributed transactions.
|
|now, if I remember correctly, jboss doesn't seem to have support for
|distributed transactions, but hey, I could be full of shit, so if I am
|please correct me :)
|
|Filip
|
|~
|Namaste - I bow to the divine in you
|~
|Filip Hanik
|Software Architect
|[EMAIL PROTECTED]
|www.filip.net
|
|
|___
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user
|
|___
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss questions...

2001-03-30 Thread Toby Allsopp

[ apologies if this message appears more than once - mail client probs ]

On Thu, Mar 29, 2001 at 06:18:46PM -0800, Crothers.Dean wrote:
 > Filip,
 >
 > thanks for the explanation, even though its not what I wanted to
 > hear!!
 >
 > So I guess the issue now is when will JBoss support distributed
 > transactions - does anybody know???

I believe that this is misinformation. JBoss's bundled transaction 
manager implements two phase commit, so using multiple XAResources in 
the same transaction should work fine.

What it doesn't support is propagating the transaction context to other 
transaction managers, i.e. outside one JVM.

Toby.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss questions...

2001-03-29 Thread David Jencks

Hi,

I have no direct experience with a real XA driver, but I have been studying
the JCA code in jbosscx, set up my Firebird server to work with blackbox
adapter, and written another resource adapter.

My conclusion from reading the code is that... 2pc is different from
distributed transaction manager.

At least the jbosscx appears to support 2pc from one server properly. This
situation is where you have only one jboss server, but it  accesses several
database instances.  The code to do this is in place, it appears to me to
work properly ( I wouldn't promise, my resource adapter is rather odd). 
This code should work with any resource exposing an XAResource interface,
so the tm can prepare everyone and then commit everyone.

Distributed transaction manager means ( I think) you have 2 or more jboss
servers and you want them to all participate in one transaction.  In this
case  one server starts the prepare, it has to tell the other servers to
prepare also... this means propagating the transaction to the other
servers, then they prepare their resources and return the votes, then the
committing server says commit.  This stuff is not really implemented. 
There is a transaction propagation context, but I understand the tm can't
really deal with it.

I don't know if the more "default" (non JCA) minerva XADatasource
implementations handle 2pc from one server properly-- I had the impression
they did.

Earlier in this thread there was some discussion of pooling.  The JCA spec
makes it pretty clear that pooling behavior is NOT part of the resource
adapter (e.g. connection implementation) but is a service provided by the
server (although the resource adapter provider should provide some
connection management as a default so the resource adapter can be used in
non managed scenarios).  In at least the jbosscx stuff, this pooling is
exactly (and all of) what minerva supplies.

I hope you will consider trying out the jbosscx framework and possibly
contributing to it rather than the perhaps soon to be obsolete
datasource-wrapper-only framework.

Thanks
David Jencks


On 2001.03.29 20:28:15 -0500 Filip Hanik wrote:
> > You mentioned that 'true 2 phase commit' is not implemented in JBoss?
> The
> > logging of the JBoss console at startup outputs:
> >
> > [SQLServerPool] Starting
> > [SQLServerPool] XA Connection pool SQLServerPool bound to
> > java:/SQLServerPool
> > [SQLServerPool] Started
> 
> Well. that is the jdbc driver that implements the XA protocol.
> This means that if the server was able to handle distributed
> transactions,
> the underlying driver will support that.
> 
> so for a distributed transaction to work across multiple database servers
> to
> work it requires a) the driver to handle two phase commits and b) the
> server
> to implement the logic for the distributed transactions.
> 
> now, if I remember correctly, jboss doesn't seem to have support for
> distributed transactions, but hey, I could be full of shit, so if I am
> please correct me :)
> 
> Filip
> 
> ~
> Namaste - I bow to the divine in you
> ~
> Filip Hanik
> Software Architect
> [EMAIL PROTECTED]
> www.filip.net
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss questions...

2001-03-29 Thread Crothers.Dean

Filip,

thanks for the explanation, even though its not what I wanted to hear!!

So I guess the issue now is when will JBoss support distributed transactions
- does anybody know???


thanks again,

Dean

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 5:28 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss questions...


> You mentioned that 'true 2 phase commit' is not implemented in JBoss? The
> logging of the JBoss console at startup outputs:
>
> [SQLServerPool] Starting
> [SQLServerPool] XA Connection pool SQLServerPool bound to
> java:/SQLServerPool
> [SQLServerPool] Started

Well. that is the jdbc driver that implements the XA protocol.
This means that if the server was able to handle distributed transactions,
the underlying driver will support that.

so for a distributed transaction to work across multiple database servers to
work it requires a) the driver to handle two phase commits and b) the server
to implement the logic for the distributed transactions.

now, if I remember correctly, jboss doesn't seem to have support for
distributed transactions, but hey, I could be full of shit, so if I am
please correct me :)

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss questions...

2001-03-29 Thread Filip Hanik

> You mentioned that 'true 2 phase commit' is not implemented in JBoss? The
> logging of the JBoss console at startup outputs:
>
> [SQLServerPool] Starting
> [SQLServerPool] XA Connection pool SQLServerPool bound to
> java:/SQLServerPool
> [SQLServerPool] Started

Well. that is the jdbc driver that implements the XA protocol.
This means that if the server was able to handle distributed transactions,
the underlying driver will support that.

so for a distributed transaction to work across multiple database servers to
work it requires a) the driver to handle two phase commits and b) the server
to implement the logic for the distributed transactions.

now, if I remember correctly, jboss doesn't seem to have support for
distributed transactions, but hey, I could be full of shit, so if I am
please correct me :)

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss questions...

2001-03-29 Thread Crothers.Dean

Filip,

thanks for your reply.

You mentioned that 'true 2 phase commit' is not implemented in JBoss? The
logging of the JBoss console at startup outputs:

[SQLServerPool] Starting
[SQLServerPool] XA Connection pool SQLServerPool bound to
java:/SQLServerPool
[SQLServerPool] Started

where 'SQLServerPool' holds SQL Server database connections. I assumed that
since this connection pool looks to be associated with a XA resource I would
have thought that one JBoss server would be able to partake in a 2PC across
multiple SQL Server databases? 

Am I missing something here??


thanks again,

Dean
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 2:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss questions...


> 1) when using BMP how do you return a database connection to the pool when
> your finished with it?

Connection.close();

>
> 2) can JBoss perform distributed transactions with SQL Server? If so, is
> there any information showing how to do this with BMP?
>

nope, true 2 phase commit is not implemented,. the only server that has it
is Weblogic 6.0

> 3) our current RMI based app executes batch jobs in a thread on
> the server,
> and these threads pound SQL Server. Given that EJB doesnt allow
> new threads
> to be spawned, how can this be achieved using the EJB model?

use JMS to do asynchronous requests

> 4) does/will JBoss support load balancing between multiple JBoss
> app servers
> running concurrently on different win2000 boxes?

yes, if it is stateful loadbalancing, it your request gets pinned to a
machine when the connection is established.
true loadbalancing is underway.

> 5) is there any published schedule of the planned upcoming
> releases and what
> th

dunno


Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Crothers.Dean
> Sent: Thursday, March 29, 2001 1:57 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] JBoss questions...
>
>
> Hi,
>
> I've looked on the website and thru the archives, but couldnt find answers
> to the following questions.
>
> But first some background, we plan to use JBoss 2.1 on Win2000
> with multiple
> SQL Server databases (potentially on different boxes).
>
> 1) when using BMP how do you return a database connection to the pool when
> your finished with it?
>
> 2) can JBoss perform distributed transactions with SQL Server? If so, is
> there any information showing how to do this with BMP?
>
> 3) our current RMI based app executes batch jobs in a thread on
> the server,
> and these threads pound SQL Server. Given that EJB doesnt allow
> new threads
> to be spawned, how can this be achieved using the EJB model?
>
> 4) does/will JBoss support load balancing between multiple JBoss
> app servers
> running concurrently on different win2000 boxes?
>
> 5) is there any published schedule of the planned upcoming
> releases and what
> they will contain?
>
>
> thanks,
>
> Dean
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss questions...

2001-03-29 Thread Filip Hanik

> 1) when using BMP how do you return a database connection to the pool when
> your finished with it?

Connection.close();

>
> 2) can JBoss perform distributed transactions with SQL Server? If so, is
> there any information showing how to do this with BMP?
>

nope, true 2 phase commit is not implemented,. the only server that has it
is Weblogic 6.0

> 3) our current RMI based app executes batch jobs in a thread on
> the server,
> and these threads pound SQL Server. Given that EJB doesnt allow
> new threads
> to be spawned, how can this be achieved using the EJB model?

use JMS to do asynchronous requests

> 4) does/will JBoss support load balancing between multiple JBoss
> app servers
> running concurrently on different win2000 boxes?

yes, if it is stateful loadbalancing, it your request gets pinned to a
machine when the connection is established.
true loadbalancing is underway.

> 5) is there any published schedule of the planned upcoming
> releases and what
> th

dunno


Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Crothers.Dean
> Sent: Thursday, March 29, 2001 1:57 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] JBoss questions...
>
>
> Hi,
>
> I've looked on the website and thru the archives, but couldnt find answers
> to the following questions.
>
> But first some background, we plan to use JBoss 2.1 on Win2000
> with multiple
> SQL Server databases (potentially on different boxes).
>
> 1) when using BMP how do you return a database connection to the pool when
> your finished with it?
>
> 2) can JBoss perform distributed transactions with SQL Server? If so, is
> there any information showing how to do this with BMP?
>
> 3) our current RMI based app executes batch jobs in a thread on
> the server,
> and these threads pound SQL Server. Given that EJB doesnt allow
> new threads
> to be spawned, how can this be achieved using the EJB model?
>
> 4) does/will JBoss support load balancing between multiple JBoss
> app servers
> running concurrently on different win2000 boxes?
>
> 5) is there any published schedule of the planned upcoming
> releases and what
> they will contain?
>
>
> thanks,
>
> Dean
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss questions...

2001-03-29 Thread Crothers.Dean

Hi,

I've looked on the website and thru the archives, but couldnt find answers
to the following questions. 

But first some background, we plan to use JBoss 2.1 on Win2000 with multiple
SQL Server databases (potentially on different boxes).

1) when using BMP how do you return a database connection to the pool when
your finished with it?

2) can JBoss perform distributed transactions with SQL Server? If so, is
there any information showing how to do this with BMP?

3) our current RMI based app executes batch jobs in a thread on the server,
and these threads pound SQL Server. Given that EJB doesnt allow new threads
to be spawned, how can this be achieved using the EJB model?

4) does/will JBoss support load balancing between multiple JBoss app servers
running concurrently on different win2000 boxes? 

5) is there any published schedule of the planned upcoming releases and what
they will contain?


thanks,

Dean

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user