[JBoss-user] Postgres, JBoss 3

2002-07-31 Thread Jarecsni Jnos

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=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/
attribute
  attribute name=PoolNameOurDBName/attribute
  attribute
name=URLjdbc:postgresql://hostname/dbName/attribute
  attribute name=JDBCUseruser/attribute
attribute name=Passwordpw/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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Postgres, JBoss 3

2002-07-31 Thread David Jencks

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 Jnos 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=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/
 attribute
   attribute name=PoolNameOurDBName/attribute
   attribute
 name=URLjdbc:postgresql://hostname/dbName/attribute
   attribute name=JDBCUseruser/attribute
   attribute name=Passwordpw/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
 [EMAIL PROTECTED]
 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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user