>> I think gbeans achieve modularity and low coupling, but I think they
>> do easy at the expense of ease of use.
>> Perhaps by using two separate apis it might be possible to do both?
>I'm not sure what you mean. Could you explain in more detail?
I am sure somebody must have distilled this t
That's good to know.
Although, given that the substance of this method also boils to a lot
of text, it really does not change the coupling to the deployment details of the transaction,
nor does it mean that a broken dependency will be detected at compilation time.
Therefore I think putting all t
I had the same question. As per David Jencks:
==
In your gbean info building code include something like this:
infoFactory.addReference("TransactionManager",
ExtendedTransactionManager.class, NameFactory.TRANSACTION_MANAGER);
Then you won't have to sp
The CTO did not respond on this issue. I actually find myself in a transitional where I may lose job here.
That may simplify things.
Jeremy Boynes <[EMAIL PROTECTED]>
12/04/2005 02:07 PM
Please respond to user
To: user@geronimo.apache.org
cc:
Actually mine did work. I am sorry if you got the impression that it didn't.
I will try out your code if I get a chance. It looks like my migration project from WebLogic will
be put on hold, although I did establish that it's feasible.
Jeremy Boynes <[EMAIL PROTECTED]>
12/04/2005 09:33 AM
I don't think that will work. To get it to work I had to write a Managed Connection Factory. It's just a java bean
but you still have to write it.
There's a thread on this.
Ken Perl <[EMAIL PROTECTED]>
12/03/2005 03:13 AM
Please respond to user
To: user@geronimo.ap
Please correct me if I am wrong but this is not xa-enabled.
Ken Perl <[EMAIL PROTECTED]>
12/01/2005 10:13 PM
Please respond to user
To: user@geronimo.apache.org
cc:
Subject: Re: Geronimo works with MySQL / XA
the plan could be found
For now I am okay. My build.xml makes a new copy of geronimo first, then overwrites the config.xml.
Although I must say this makes Geronimo's installation much more rigid than Tomcat's, or even WebLogic.
David Jencks <[EMAIL PROTECTED]>
11/30/2005 03:29 PM
Please respond to user
I have thought some more about this issue and I want to propose something.
The distribution has the following main directories, size shown in kilobytes:
bin 32
config-store 30124
doc 224
doc/plan 220
lib 3544
lib/endorsed 1084
lib/ext 4
repository 43596
schema 624
var 2896
var/catalina 1
We don't have a policy yet for contributing patches to open-source projects, unfortunately.
I have sent an email to an executive asking for permission to contribute it. I am afraid until he says
otherwise everything I type on company time or even on company equipment is work for hire.
Right now I
You can get a reference to the transaction manager by using a GBean and referencing it.
See earlier thread about XA resources.
"Siraj Mohamed" <[EMAIL PROTECTED]>
11/30/2005 02:59 AM
Please respond to user
To:
cc:
Subject: Transactio
Do you mean the plan for deploying the resource adapter?
Bruce Snyder <[EMAIL PROTECTED]>
11/29/2005 10:15 PM
Please respond to user
To: user@geronimo.apache.org
cc:
Subject: Re: Geronimo works with MySQL / XA
On 11/29/05, [EMAIL PRO
I just want to report that I now have an instance of Geronimo that's doing
2-phase commits with a MySQL 5.0.x database, using a recent nightly build of
the connector/j driver.
Thanks everyone for the great support.
*
<<>>
In compli
I did the following:
1. Unzipped one of the xa- derby rars from tranql
2. Edited META-INF/ra.xml and changed the name of the MCF class (I wrote my own)
3. Wrote MysqlMCF which extends AbstractXADataSourceMCF, instantiates MysqlXADataSource (from alpha version of driver,
with my own fixes) and i
From your derby-specific rars it looks like I would have to do this:
1) Unzip one of the derby-specific rar and delete the derby-specific jar which is inside.
2) Write an MCF (as you said) which instantiates com.mysql.jdbc.jdbc2.optional.MysqlXADataSource.
3) Edit the ra.xml file to name the ne
I just remembered that the latest release of mysql connector/j does not support xa.
I am using an alpha version, which at first was coded incorrectly (and I believe never tested)
but it was a small bug and I was able to fix it.
So you'd be supporting an alpha driver. That's probably the reason wh
A driver-based connector cannot support XA?
I don't know know enough about the issue to understand what you mean. I presume that you are
stating that in the context of JCA, but that if I create the xa data source myself then it does (I did, it does.)
Jeremy Boynes <[EMAIL PROTECTED]>
11/28
I think the problem was the Driver property missing from the plan. My bad.
Matt Hogstrom <[EMAIL PROTECTED]>
11/28/2005 05:43 PM
Please respond to user
To: user@geronimo.apache.org
cc:
Subject: Re: TranQL resource adapter crapping out
NPE.
Is the source code for this available? (JDBCDriverMF.java, line 79)
I am trying to set up an XA data source using the alpha version of connector/j (driver)
for mysql (with some modifications, since it wasn't doing the right thing.)
java.lang.NullPointerException
at org.tra
I wrote a GBean and I have a webapp which is its child.
My parent gbean tries to get a reference to a data source, but since the name is wrong
(I must have the wrong name or type) the kernel just delays the start of my gbean!
It does not, however, delay the start of its child, which results in di
I just want to add that the escape sequences show up under tail -f (I use less with shift-f), but
typing "cat " just prints "x% done" (only one of them) - not sure why.
[EMAIL PROTECTED]
11/25/2005 09:39 AM
Please respond to user
To: user@geronimo.apache.org
What would work just as well for me would be to be able to check in a skeleton
and then deploy the plans the first time I build and deploy the application. I am even willing
to copy all the files over, as long as I am not checking them in.
If I can help it I will not check in things which can be
Can somebody please send me the xml text I can use to get a reference to the transaction manager
in my gbean? I tried TransactionManager but it didn't work.
Thanks
Guglielmo
*
<<>>
In compliance with applicable rules and regulation
I guess it's just that cat repeats all the characters to the terminal and the terminal re-interprets
the escape sequences.
This would actually be a convenient way to test terminal behavior - you can type escape sequences
into a file and go "cat " to see what it will do ...
It looks like it works now. I didn't change anything. It's possible that yesterday the output that was whizzing by
was coming from the server's jvm, not the deployer's which would explain why it couldn't be redirected.
BTW, the startup sequence is cute, meaning 10%/20%/30%... etc. but when redire
I am having extreme difficulty capturing stderr and stdout to redirect to the file when I do this:
java -jar bin/deployer.jar deploy 1>dump 2>&1
I have even tried putting it in a shell script and even putting { } around it (which should have made no difference anyway).
As a result it is imposs
IMHO the fact that the names come out long should not stop you. First, we are talking about something
which will only be used when J2EE comes up short. And furthermore if the issue has been thought
through then it should be documented so that when people ask "can you shorten the names" you can
se
It's a singleton. It's not in JNDI.
I understand how you are using JNDI. I am glad you stick to the spec.
As far as providing a proxy through JNDI I can't imagine that it would be too hard:
new InitialContext().lookup("geronimo:/gbeans/");
What am I missing here?
David Jencks <[EMAIL PR
I would like to do this:
1) Unpack the geronimo distribution under /usr/local/geronimo (say) and make it read-only.
2) Create many small _instances_ of geronimo running on all different (sets of) ports, on the same machine.
I would like the _code_ to be in one place, but the configurations of th
>I was going to mention that :-). You still haven't told me how your
>(presumably j2ee) application finds the part of the RM to talk to.
>This could be an important part of the picture :-).
Applications invoke our own user-transaction-like class, which keeps
track of the change set. So when
The XAResource in question is a XA-capable write-back cache. So the connection metaphor
is not such a good fit - that's why I am asking the question.
I would prefer to just grab a reference to the transaction manager gbean, which implements
javax.transaction.TransactionManager
and call
getTran
I think I am going to try solution 1. It sounds promising and it's easy
for other people to understand.
Regarding this:
> There is probably no guarantee that a user call to an ejb will be delayed until after your gbean is started
I think you are saying that deploying is not an atomic operation
We have a whole list of classes whose static initialization needs to happen in
a specific order. If a thread tries to use any one of them before the class initialization
is completed, it can cause deadlocks, which will stop the application from starting.
I don't code like this myself, but I inher
Can I use dependencies to control deployment order, perhaps?
Aaron Mulder <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
11/23/2005 11:57 AM
Please respond to user
To: user@geronimo.apache.org
cc:
Subject: Re: Start-up classes
You ca
I have a home-grown resource manager (XAResource implementation) which I would like enlist in a transaction.
I see two ways of doing this:
1) Write a JCA resource adapter, since the app server has to enlist the xa resource for the connection.
2) Create a geronimo "configuration" which has a refe
I am migrating an application from WebLogic to Geronimo. It consists of EJBs but it also has a "startup" class,
meaning a class whose main() method has to be invoked before the ejbs are deployed. Unfortunately this class
performs a huge initialization procedure during class initialization, and it
From this page
http://mail-archives.apache.org/mod_mbox/geronimo-user/
It doesn't look like you can search the mailing list archive. Is there such a search page,
and if not, then is it easy to add?
*
<<>>
In compliance with appli
37 matches
Mail list logo