Ok, I may have found a hint but it's not a solution. Thanks to people from Orbeon, I realized that as my database was bound under java:comp/env, I might need to declare it as a resource-ref in web.xml. So I added the following element to web.xml :
| <resource-ref> | <description>DataSource</description> | <res-ref-name>jdbc/MySqlDS</res-ref-name> | <res-type>javax.sql.DataSource</res-type> | <res-auth>Container</res-auth> | </resource-ref> | But then when my application is deployed, I get a loooooon exception with the following original cause : | Caused by: javax.naming.NamingException: resource-ref: jdbc/MySqlDS has no valid | JNDI binding. Check the jboss-web/resource-ref. | Pleaaase help ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869240#3869240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869240 ------------------------------------------------------- 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
