My application runs fine with resin2.1.16 if I leave resource reference<res-ref-name>jdbc/test</res-ref-name> in resin.conf but it fails if I remove it.With resin2.1.0 it works with or without resource reference.Just wondering if there's any significant difference between both the versions in the way they use JNDI tree.Why do I have to leave this reference in the resin.conf when my app is not using it directly. <resource-ref> <res-ref-name>jdbc/test</res-ref-name> <res-type>javax.sql.DataSource</res-type> <init-param driver-name="com.caucho.jdbc.mysql.Driver"/> <init-param url="jdbc:mysql_caucho://localhost:3306/test"/> <init-param user=""/> <init-param password=""/> <init-param max-connections="20"/> <init-param max-idle-time="30"/> </resource-ref> Any clues?
There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.