Re: JTA support

2004-04-15 Thread Robert Krüger
Freddy,

IMHO your options in this issue are:

1. Use Tyrex (Dead project, so you're on your own when you run into 
problems)
2. Use JOTM from Objectweb (that code is not really maintained nor in a 
good shape either. current project lead agreed on the mailing list, that 
it's probably a good idea to rewrite and several people who have run 
into problems have come to the same conclusion)
3. Use JBoss (Almost certainly the best-supported but that means you 
have to learn how to set up tomcat to run within JBoss, the complexity 
of which others should judge as I have not tried it)
4. Buy a commercial solution as the one by atomikos (rather strange 
licensing model IMHO)

The right choice depends on what kind of project you do (critical 
commercial or less critical e.g. university project). I would recommend 
against 1 which I've been doing myself and it's not really worth the 
trouble. 2 is rather easy to set up and OK if it works for you (as I 
mentioned quite a few people including myself have run into some issues 
but a lot of others as I understand use it in production with success). 
I guess 3 would probably be the safest route but might be a bit of a 
learning curve in the beginning. 4 I have not used but if you don't know 
exactly how many concurrent TXs you will have the license may become 
very expensive.

Hope this helps,

Robert

Freddy Villalba Arias wrote:

Hello everybody,

 

I've been going up and down DBCP's (and Tomcat's) homesite and haven't
found the answer to this:
 

Does Tomcat support (and manage) JTA?

 

I know there is Tyrex, which provides this support, but I don't want to
use it. From what I've read, it's somewhat obsolete, replaced by DBCP.
I'm currently using DBCP.
 

On the top of that, from what I've understood from reading Sun's JTA
specs (yes, I'm a newbie to JTA), one thing is to provide the JTA
connectivity support (which is provided by the JDBC driver), and a
different one to support JTA management (this is transaction management
and so...), which is responsibility of the container (Servlet container
/ App. Server). Am I right?
 

Will appreciate any help you can provide.

 

Thanks in advance.

 

Regards,

Freddy.


--

Robert Krüger
Signal7 GmbH
Brüder Knauss Str. 79
64285 Darmstadt
Germany
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
Thanks, Robert. You've been quite helpful!

In Fact, I'd already installed and configured JBoss, knowing that it was
the best (cheapest / safest / easiest) option available; that is, those
I could envision based on my knowledge / experience, of course -- for
instance, I didn't know products such as JOTM (therefore, did not took
it into account as a possibility).

Based on your comments and my previous thoughts about this issue, I
believe I'll just stick to JBoss, play it safe.

Should anybody else have a different opinion, I'm still open to
suggestions.

Thanks everybody,
Freddy.

-Mensaje original-
De: Robert Krüger [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 15 de abril de 2004 11:04
Para: Tomcat Users List
Asunto: Re: JTA support


Freddy,

IMHO your options in this issue are:

1. Use Tyrex (Dead project, so you're on your own when you run into 
problems)
2. Use JOTM from Objectweb (that code is not really maintained nor in a 
good shape either. current project lead agreed on the mailing list, that

it's probably a good idea to rewrite and several people who have run 
into problems have come to the same conclusion)
3. Use JBoss (Almost certainly the best-supported but that means you 
have to learn how to set up tomcat to run within JBoss, the complexity 
of which others should judge as I have not tried it)
4. Buy a commercial solution as the one by atomikos (rather strange 
licensing model IMHO)

The right choice depends on what kind of project you do (critical 
commercial or less critical e.g. university project). I would recommend 
against 1 which I've been doing myself and it's not really worth the 
trouble. 2 is rather easy to set up and OK if it works for you (as I 
mentioned quite a few people including myself have run into some issues 
but a lot of others as I understand use it in production with success). 
I guess 3 would probably be the safest route but might be a bit of a 
learning curve in the beginning. 4 I have not used but if you don't know

exactly how many concurrent TXs you will have the license may become 
very expensive.

Hope this helps,

Robert


Freddy Villalba Arias wrote:

 Hello everybody,
 
  
 
 I've been going up and down DBCP's (and Tomcat's) homesite and haven't
 found the answer to this:
 
  
 
 Does Tomcat support (and manage) JTA?
 
  
 
 I know there is Tyrex, which provides this support, but I don't want
to
 use it. From what I've read, it's somewhat obsolete, replaced by DBCP.
 I'm currently using DBCP.
 
  
 
 On the top of that, from what I've understood from reading Sun's JTA
 specs (yes, I'm a newbie to JTA), one thing is to provide the JTA
 connectivity support (which is provided by the JDBC driver), and a
 different one to support JTA management (this is transaction
management
 and so...), which is responsibility of the container (Servlet
container
 / App. Server). Am I right?
 
  
 
 Will appreciate any help you can provide.
 
  
 
 Thanks in advance.
 
  
 
 Regards,
 
 Freddy.
 
 

-- 

Robert Krüger
Signal7 GmbH
Brüder Knauss Str. 79
64285 Darmstadt
Germany

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JTA support

2004-04-15 Thread Robert Krüger
Hi Freddy,

do you know (or anyone else for that matter) where to find instructions 
 how to configure a minimal JBoss to provide Tomcat 5 with JTA? On the 
JBoss website I can only see bundles with Tomcat 4. In case you succeed. 
I would be interested in having a look at your configuration files. In 
the medium term I would like to get rid of our current hacked 
Tyrex-based JTA solution.

Regards,

Robert

Freddy Villalba Arias wrote:

Thanks, Robert. You've been quite helpful!

In Fact, I'd already installed and configured JBoss, knowing that it was
the best (cheapest / safest / easiest) option available; that is, those
I could envision based on my knowledge / experience, of course -- for
instance, I didn't know products such as JOTM (therefore, did not took
it into account as a possibility).
Based on your comments and my previous thoughts about this issue, I
believe I'll just stick to JBoss, play it safe.
Should anybody else have a different opinion, I'm still open to
suggestions.
Thanks everybody,
Freddy.
--

Robert Krüger
Signal7 GmbH
Brüder Knauss Str. 79
64285 Darmstadt
Germany
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
Hi Robert,

Well... eerrrhmmm... let's see:

I just downloaded JBoss' latest version. I has already integrated
(ready to use) Tomcat 4 (v4.1, if I recall). Then, based on what JBoss
claims, I suppose (have not confirmed it, I have to say...) that the JTA
management implementation is provided (as specified by Sun's JTA
specs) by JBoss. The complementary part is, as you already know,
provided (or not) by the JDBC driver you are using. In a few words, I'm
trusting JBoss's JTA-ability, not Tomcat's.

That said, I can do this for you:

(1) Given the fact that I'll be using JBoss + Tomcat 4, just as they are
shipped, I'll develop a few JTA test over JBoss. Once I run them all, I
can send you my config files (cannot guarantee when I'll finish this,
I'm into lots of stuff right now). :)

(2) I can give it a look to see if I find something on the Internet (so
far, all I've found refers to v4, not v5).


Let me know if there is something else I can do for you.

Cheers,
Freddy.


-Mensaje original-
De: Robert Krüger [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 15 de abril de 2004 12:44
Para: Tomcat Users List
Asunto: Re: JTA support


Hi Freddy,

do you know (or anyone else for that matter) where to find instructions 
  how to configure a minimal JBoss to provide Tomcat 5 with JTA? On the 
JBoss website I can only see bundles with Tomcat 4. In case you succeed.

I would be interested in having a look at your configuration files. In 
the medium term I would like to get rid of our current hacked 
Tyrex-based JTA solution.

Regards,

Robert


Freddy Villalba Arias wrote:

 Thanks, Robert. You've been quite helpful!
 
 In Fact, I'd already installed and configured JBoss, knowing that it
was
 the best (cheapest / safest / easiest) option available; that is,
those
 I could envision based on my knowledge / experience, of course -- for
 instance, I didn't know products such as JOTM (therefore, did not took
 it into account as a possibility).
 
 Based on your comments and my previous thoughts about this issue, I
 believe I'll just stick to JBoss, play it safe.
 
 Should anybody else have a different opinion, I'm still open to
 suggestions.
 
 Thanks everybody,
 Freddy.
 
-- 

Robert Krüger
Signal7 GmbH
Brüder Knauss Str. 79
64285 Darmstadt
Germany

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JTA support

2004-04-15 Thread Nikola Milutinovic
Robert Krüger wrote:

Hi Freddy,

do you know (or anyone else for that matter) where to find instructions 
 how to configure a minimal JBoss to provide Tomcat 5 with JTA? On the 
JBoss website I can only see bundles with Tomcat 4. In case you succeed. 
I would be interested in having a look at your configuration files. In 
the medium term I would like to get rid of our current hacked 
Tyrex-based JTA solution.
I think JBoss 3.2.4RCx ships with Tomcat 5.0.18 as default and has 4.1.x as 
optional (under doc/examples or some such path).

Nix.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
Hi,

Sorry if I misled you.

I'm using JBoss v3.2.3. According to that version's download page:

(includes Tomcat 4.1.29 JBossWeb HTTP server and JSP/Servlet engine,
EJB, CMP2.0, JCA, IIOP, Clustering, JTA, JMX and more)

I suppose (would have to start it up and check the logger's output)
that's the default version used by that version of JBoss. However, I
can't assure anything about other versions (of JBoss).

Regards,
Freddy.

-Mensaje original-
De: Nikola Milutinovic [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 15 de abril de 2004 14:04
Para: Tomcat Users List
Asunto: Re: JTA support

Robert Krüger wrote:

 
 Hi Freddy,
 
 do you know (or anyone else for that matter) where to find
instructions 
  how to configure a minimal JBoss to provide Tomcat 5 with JTA? On the

 JBoss website I can only see bundles with Tomcat 4. In case you
succeed. 
 I would be interested in having a look at your configuration files. In

 the medium term I would like to get rid of our current hacked 
 Tyrex-based JTA solution.

I think JBoss 3.2.4RCx ships with Tomcat 5.0.18 as default and has 4.1.x
as 
optional (under doc/examples or some such path).

Nix.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JTA support

2004-04-15 Thread Nikola Milutinovic
Freddy Villalba Arias wrote:

Hi,

Sorry if I misled you.

I'm using JBoss v3.2.3. According to that version's download page:

(includes Tomcat 4.1.29 JBossWeb HTTP server and JSP/Servlet engine,
EJB, CMP2.0, JCA, IIOP, Clustering, JTA, JMX and more)
Look under doc/examples, there is a build dir for Tomcat 5.0.1x. You'll need a 
working Ant to build it.

Nix.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
You are right, Nik. There it is.

However, I believe the default used by JBoss (as shipped, of course)
will be v4.1.29... right? (haven't confirmed it yet) :)

Cheers,
Freddy.


-Mensaje original-
De: Nikola Milutinovic [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 15 de abril de 2004 14:19
Para: Tomcat Users List
Asunto: Re: JTA support

Freddy Villalba Arias wrote:

 Hi,
 
 Sorry if I misled you.
 
 I'm using JBoss v3.2.3. According to that version's download page:
 
 (includes Tomcat 4.1.29 JBossWeb HTTP server and JSP/Servlet engine,
 EJB, CMP2.0, JCA, IIOP, Clustering, JTA, JMX and more)

Look under doc/examples, there is a build dir for Tomcat 5.0.1x. You'll
need a 
working Ant to build it.

Nix.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JTA support

2004-04-15 Thread Nikola Milutinovic
Freddy Villalba Arias wrote:

You are right, Nik. There it is.

However, I believe the default used by JBoss (as shipped, of course)
will be v4.1.29... right? (haven't confirmed it yet) :)
I don't think so. There is absolutely no reason to stick with 4.1 branch if 5.0 
is stable (and it looks that way). In any case, even 3.2.3 had both branches, 
only 4.1 was the default.

Nix.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]