Oops, I forgot:
The jboss end of all the xa transaction stuff is implemented (although not
very well tested): using it depends on having an xa capable resource
manager [database]. For instance, we theoretically should be able to come
up with a config for the Oracle xa driver, using the xa rar wrapper.
However... this may be a bad example, I suspect due to Oracle's own ideas
about how to flaunt the spec (such as with their xid implementation) we
will have to write its very own rar wrapper.
david jencks
On 2001.09.20 13:01:22 -0400 Ignacio Coloma wrote:
> Thanks, David.
>
> I still feel more or less lost in the Resource Adapter docs (a little
> more
> of clarity in the dark, though). Could you please add any kind of UML
> diagram to help understanding the architecture?
>
> I enclose the service.xml file I have put together for mysql. Some of the
> params are (more or less) guessed, but it works. I'll start another one
> for
> postgres this afternoon (GMT), and post it As Soon As It Works(tm).
>
> I'm not sure, but sniffing the code it seems that XA Transactions are
> supported in JBoss but not yet implemented as XADataSources (if I'm wrong
> correct me). The file that I'm enclosing use Local Transactions.
>
> Regards,
>
> Ignacio Coloma.
> P.S.: Yes, I knew the diff between Enhydra and Hypersonic, but my post
> almost coincided with the Lutris crisis and made my mind a mess while
> writing it. Thanks for the point anyway :))
> P.S2.: How do I contribute these files to the docs?
>
> > -----Mensaje original-----
> > De: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]En nombre de
> David
> > Jencks
> > Enviado el: mi�rcoles, 19 de septiembre de 2001 19:44
> > Para: [EMAIL PROTECTED]
> > Asunto: Re: [JBoss-dev] Anyone has tried to make a non-hypersonic
> > connection pool?
> >
> >
> > The (new) manual chapter explains the config parameters pretty well I
> > think, please let me know if it is unclear.
> >
> > http://www.jboss.org/documentation/HTML/ch03.html
> >
> > Please show what you have so far and contribute it to the manual when
> it
> > works.
> >
> > Thanks
> > david jencks
> >
> > btw hypersonic != enhydra
> >
> > On 2001.09.19 13:28:37 -0400 Ignacio Coloma wrote:
> > > Anyone has the xxx-service.xml for a database that is not enhydra?
> > >
> > > I have coded one, but doesn't work. It could be a bug but since I'm
> not
> > > 100%
> > > sure of the config parameters I don't dare to post it as a bug yet.
> > >
>
> <?xml version="1.0" encoding="UTF-8"?>
>
>
> <!-- =====================================================================
> -->
> <!--
> -->
> <!-- foo App DataSource
> -->
> <!--
> -->
> <!-- =====================================================================
> -->
>
> <!-- $Id: foo-mysql-service.xml,v 1.0 2001/09/19 02:48:05 icoloma Exp $
> -->
>
>
> <server>
>
> <depends>JBOSS-SYSTEM:service=Naming</depends>
> <depends>JBOSS-SYSTEM:service=TransactionManager</depends>
>
> <classpath archives="
> mm.mysql-2.0.4-bin.jar,
> jbosscx.sar"/>
>
> <!-- ====================================================================
> -->
> <!-- JDBC - Initialize the databases
> -->
> <!-- to ConnectionFactoryLoader
> -->
> <!-- ====================================================================
> -->
>
> <mbean code="org.jboss.resource.ConnectionFactoryLoader"
> name="DefaultDomain:service=ConnectionFactoryLoader,name=fooDS">
> <attribute
>name="ManagedConnectionFactoryProperties">ConnectionURL=jdbc:mysql://localhost/foo
> DriverClass=org.gjt.mm.mysql.Driver
> UserName=</attribute>
> <attribute name="JndiName">fooDS</attribute>
> <attribute name="TransactionManagerName">java:/TransactionManager</attribute>
> <attribute name="ResourceAdapterName">Minerva JDBC LocalTransaction
> ResourceAdapter</attribute>
> <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
> <attribute
>name="ConnectionManagerFactoryName">MinervaSharedLocalCMFactory</attribute>
>
> <attribute name="ConnectionManagerProperties">#
> #Wed Aug 15 16:17:29 EDT 2001
> InvalidateOnError=false
> BlockingTimeoutMillis=500000
> IdleTimeoutMillis=1800000
> MaxSize=10
> TimestampUsed=false
> IdleTimeoutEnabled=false
> CleanupIntervalMillis=120000
> MinSize=0
> GCMinIdleMillis=1200000
> GCEnabled=false
> MaxIdleTimeoutPercent=1.0
> </attribute>
> <attribute name="PrincipalMappingClass">
> org.jboss.resource.security.ManyToOnePrincipalMapping
> </attribute>
> <attribute name="PrincipalMappingProperties">UserName=</attribute>
> </mbean>
>
> </server>
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development