[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: cannot get XA connection using PostgreSQL on JBoss4.0.5

cgholdenjr do-not-reply at jboss.com
Thu Mar 6 10:38:39 EST 2008


the postgresql datasource doesn't have the setURL method.  you have to put the host, port, and db name in the mbean.  

        <xa-datasource-property name="ServerName">hostname</xa-datasource-property>
        <xa-datasource-property name="PortNumber">5432</xa-datasource-property>
        <xa-datasource-property name="DatabaseName">dbname</xa-datasource-property>

chip

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134607#4134607

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134607



More information about the jboss-user mailing list