Hi, 
My problem is solved. I followed the steps mentioned below 
Thanks for your help 

1.Replace jboss-4.0.0/server/standard/deploy/hsqldb-ds.xml by a file named 
mysql-ds.xml with the following content: 
   
       <local-tx-datasource>
           <jndi-name>DefaultDS</jndi-name>
           <connection-url>jdbc:mysql://localhost/test</connection-url>
           <driver-class>com.mysql.jdbc.Driver</driver-class>
           <user-name>jboss</user-name>
           <security-domain>MySqlDbRealm</security-domain>
       </local-tx-datasource>
   
2.Edit jboss-4.0.0/server/standard/conf/standardjaws.xml with the following 
parameters: 
    java:/DefaultDS
    <type-mapping>mySQL</type-mapping>
          
3.Edit jboss-4.0.0/server/standard/conf/standardjbosscmp-jdbc.xml with the 
following parameters: 
    <datasource-mapping>mySQL</datasource-mapping>
           ...
    <fk-constraint>true</fk-constraint>
          
4.Replace file jboss-4.0.0/server/standard/deploy/jms/hsql-jdbc2-service.xml by 
file jboss-4.0.0/docs/examples/jms/mysql-jdbc2-service.xml and change MySqlDs 
to DefaultDS (line 47) in that file. 


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to