The remaing issue is in your jboss-web.xml file you are binding the reference as


  | 
  | <jboss-web> 
  | <resource-ref> 
  | <res-ref-name>jdbc/MySqlDS</res-ref-name> 
  | <res-type>javax.sql.DataSource</res-type> 
  | <jndi-name>java:/MySqlDS</jndi-name> 
  | </resource-ref> 
  | </jboss-web> 
  | 
  | 


Yet, your datasource is bound as 


  | <jndi-name>jdbc/MySqlDS</jndi-name> 
  | 
  |   | 
  |   | I would suggest chaning the JNDI name in the *-ds.xml file to be just
  |   | 
  |   | 
  |   |   | <jndi-name>MySqlDS</jndi-name> 
  |   |   | 
  |   | 
  |   | The 'java:' prefix is appended automatically. Changing this, your 
lookup should work.
  |   | 
  |   | 
  |   | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961887
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to