"[EMAIL PROTECTED]" wrote : You have created an XA connection manager for the xa datasource, | but you are referencing a non-existent local connection manager in you | oracle-jdbc2-service.xml | | Change LocalTxCM to XATxCM | | You don't need an XADataSource for JMS persistence (there is only ever one | branch in the transaction). | | Regards, | Adrian
Thanks for your reply. I try to change LocalTxCM to XaTxCM, it still come out the same error message when Jboss start up. As below are my setting files Jboss on Windows 2000(localhost) DB:Oracle 9.2.0.4 on RedHat AS2.1(172.30.1.6) JBOSS_HOME = D:\jboss-3.2.3 Java_Home = C:\j2sdk1.4.1_02 I did copy the class12.zip, ojdbc14.jar to my JBOSS_HOME\server\default\lib and make change of some xmls files "jboss-service.xml", "login-config.xml", "standardjbosscmp-jdbc.xml", "standardjaws.xml" in the JBOSS_HOME\server\default\conf directory ************************************************************* ------------------jobss-service.xml----------------------------- <!-- ==================================================================== --> <!-- Transactions --> <!-- ==================================================================== --> <!-- The configurable Xid factory. For use with Oracle, set pad to true --> <mbeancode="org.jboss.tm.XidFactory"name="jboss:service=XidFactory">true ------------------jobss-service.xml----------------------------- ************************************************************* ------------------login-config.xml------------------------------- <application-policy name = "OracleDbRealm"> <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required"> <module-option name = "principal">nhweb</module-option> <module-option name = "userName">nhweb</module-option> <module-option name = "password">29178022</module-option> <module-option name="managedConnectionFactoryName">jboss.jca:service=XaTxCM,name=OracleDS</module-option> </login-module> </application-policy> ------------------login-config.xml------------------------------- ************************************************************ ------------------standardjbosscmp-jdbc.xml------------------ <!-- ===================================================================== --> <!-- --> <!-- Standard JBossCMP-JDBC Configuration --> <!-- --> <!-- ===================================================================== --> <!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.34 2003/11/25 01:48:16 ejort Exp $ --> <jbosscmp-jdbc> java:/OracleDS <datasource-mapping>Oracle</datasource-mapping> </jbosscmp-jdbc> ------------------standardjbosscmp-jdbc.xml------------------ ************************************************************ ------------------standardjaws.xml------------------------------- <!-- ===================================================================== --> <!-- --> <!-- Standard Jaws Configuration --> <!-- --> <!-- ===================================================================== --> <!-- $Id: standardjaws.xml,v 1.30 2002/06/27 19:26:28 dsundstrom Exp $ --> java:/OracleDS <type-mapping>Oracle</type-mapping> ------------------standardjaws.xml------------------------------------ ************************************************************ make change of some xmls files "oracle-xa-ds.xml" in the JBOSS_HOME\server\default\deploy folder ************************************************************ ------------------oracle-xa-ds.xml------------------------------- <xa-datasource> <jndi-name>OracleDS</jndi-name> <track-connection-by-tx>true</track-connection-by-tx> <isSameRM-override-value>false</isSameRM-override-value> <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class> <xa-datasource-property name="URL">jdbc:oracle:thin:@172.30.1.6:1521:geo3pl</xa-datasource-property> <xa-datasource-property name="User">nhweb</xa-datasource-property> <xa-datasource-property name="Password">29178022</xa-datasource-property> <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager ------------------oracle-xa-ds.xml------------------------------------ ************************************************************ make change of "oracle-jdbc2-service.xml" in the JBOSS_HOME\server\default\deploy\jms folder ------------------oracle-jdbc2-service.xml------------------------------- <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"name="jboss.mq:service=PersistenceManager"> <depends optional-attribute name="ConnectionManager">jboss.jca:service=XaTxCM,name=OracleDS ------------------oracle-jdbc2-service.xml------------------------------- ************************************************************ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830502#3830502 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830502 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user