[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    Re: [JBoss-user] Postgres, JBoss 3
From:       David Jencks <davidjencks () directvinternet ! com>
Date:       2002-07-31 12:42:25
[Download RAW message or body]

No, postgres does not support xa transactions.  I recommend you use jboss
3.1 (cvs head) and the simplified -ds.xml files.  There should be a binary
3.1 release soon.

david jencks

On 2002.07.31 08:04:15 -0400 Jarecsni János wrote:
> Hi,
> 
> I'm trying to migrate from 2.4.x to 3.x. First of all I'd like to
> configure Jboss to use the Postgres db.
> I checked the configuration of JB2.4 and I've found the following mbean
> configuration:
> 
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=IStoreDB">
> 	<attribute
> name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</
> attribute>
>       <attribute name="PoolName">OurDBName</attribute>
>       <attribute
> name="URL">jdbc:postgresql://hostname/dbName</attribute>
>       <attribute name="JDBCUser">user</attribute>
> 	<attribute name="Password">pw</attribute>
> </mbean>
> 
> However, the template for configuring Postgres with JB3x (found in the
> docs/examples/jca directory) has the following:
> 
>   <mbean
> code="org.jboss.resource.connectionmanager.LocalTxConnectionManager"
> name="jboss.jca:service=LocalTxCM,name=PostgresDS">
> 
> My question is: can't I use
> org.jboss.resource.connectionmanager.XaTxConnectionManager as the
> manager with Posgres? (we use Pg.7.2 I think)
> 
> Cheers
> Janos
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> JBoss-user mailing list
> JBoss-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic