I installed successfully JBOSS and am trying to set up datasource to connect to mysql. 
 this is my mysql-ds.xml sitting in /jboss/server/default/deploy

-------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>

   <local-tx-datasource>
      <jndi-name>jdbc/MySQLDS</jndi-name>
      <connection-url>jdbc:mysql://localhost/projecteriadb</connection-url>
      <driver-class>com.mysql.jdbc.Driver</driver-class>
      <user-name>tester</user-name>
      testing
      <min-pool-size>5</min-pool-size>
      <max-pool-size>20</max-pool-size>
      <idle-timeout-minutes>0</idle-timeout-minutes>
      <track-statements>true</track-statements>
      <security-domain>MySqlDBRealm</security-domain>
   </local-tx-datasource>

-------------------------------------------------------------------------------------

when i use "jdbc/MySQLDS" for testing, it says "Error: 
javax.naming.NameNotFoundException: jdbc not bound " 


so i am just wondering if there is anything else that i have to set up... 

please help...

thanks in advance... 

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

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


-------------------------------------------------------
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

Reply via email to