Hi all, When my CMP EJB communicates with MS SQL Server 2000, they seem to use the default datasource which is configured for HSQLDB instead of the MS SQL datasource.
On the other hand, when my sessions beans communicates with this datasource, Everything works fine.... I m working with : | JBOSS 3.2.3 | J2SE 1.4.2-04 | MS SQL SERVER 2000 | JDBC DRIVER: Microsoft SQL Server 2000 Driver for JDBC SP2 Version 2.2.0037 ( August 2003 ) | | "My mssql.xml" wrote : | | | | <local-tx-datasource> | | <jndi-name>DirectoryDS</jndi-name> | | <connection-url>jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=directory</connection-url> | | <driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class> | | <user-name>sa</user-name> | | | | </local-tx-datasource> | | | | "My jbosscmp-jdbc.xml " wrote : <jbosscmp-jdbc> | | | | java:/DirectoryDS | | <datasource-mapping>MS SQLSERVER2000</datasource-mapping> | | | | | | <enterprise-beans> | | | | <!-- | | To add beans that you have deployment descriptor info for, add | | a file to your XDoclet merge directory called jbosscmp-jdbc-beans.xml | | that contains the markup for those beans. | | --> | | [...] | | | | Thanks for helping | | Alexandre Touret | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838332#3838332 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838332 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user