span7152 [https://community.jboss.org/people/span7152] created the discussion
"Re: How to configure JBoss to connect to 2 databases?" To view the discussion, visit: https://community.jboss.org/message/736894#736894 -------------------------------------------------------------- Mr. Wold-Dieter, Can we write oracleds-persistence-service.xml as follows? (Not sure???) <!-- Persistence Manager MBean configuration ======================================== --> <mbean code=+"org.jboss.messaging.core.jmx.JDBCPersistenceManagerService"+ name=+"jboss.messaging:service=PersistenceManager"+ xmbean-dd=+"xmdesc/JDBCPersistenceManager-xmbean.xml"+> <depends>jboss.jca:service=DataSourceBinding,name=jdbc/OracleDS1</depends> <depends>jboss.jca:service=DataSourceBinding,name=jdbc/OracleDS2</depends> <depends optional-attribute-name=+"TransactionManager"+>jboss:service=TransactionManager</depends> <!-- The datasource to use for the persistence manager --> <attribute name=+"DataSource"+>java:jdbc/OracleDS1</attribute> <attribute name=+"DataSource"+>java:jdbc/OracleDS2</attribute> ........... </mbean> Thanks, -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/736894#736894] Start a new discussion in Datasource Configuration at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
