4 Replies Latest reply on Aug 6, 2009 9:45 AM by jaikiran pai

    Configuring JNDI Datasource (MySQL-5.1.36) in JBOSS 5.1.0GA

    Jesper & Lybeth Nyqvist Newbie

      I am running eclipse 3.4 with the above MYSQL and JBoss. Now i need to configure JNDI datasource to get all this to work. The problem i have with this is that it is all very new to me so i wonder if there is anybody who can give me some help with this, where to start and how to make this in an easy way for a beginner like my self.

      I have read that i need to do this but i need help with this.
      1. Copy JDBC Driver to $JBOSS_HOME$/server/default/lib/-where is find this?

      2. i copied the sample from $JBOSS_HOME$/docs/examples/jca/mysql-ds.xml
      to $JBOSS_HOME$/server/default/deploy-is this all i need to do?

      So if i get it right i only need to write one xml-file for this or am i wrong? Please help me somebody with this who know this better then i do. Or guide me in the right way where i can read and solve this by my self.