aspose file tools*
The moose likes Other Java Products and Servers and the fly likes JNDI ref resin2.1.0 Vs resin2.1.16 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "JNDI ref resin2.1.0 Vs resin2.1.16" Watch "JNDI ref resin2.1.0 Vs resin2.1.16" New topic
Author

JNDI ref resin2.1.0 Vs resin2.1.16

Vivek Q. Singh
Greenhorn

Joined: Oct 18, 2002
Posts: 3
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?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

"viv",

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.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vivek Q. Singh
Greenhorn

Joined: Oct 18, 2002
Posts: 3
OK.It's done!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

Thank you.
 
jQuery in Action, 2nd edition
 
subject: JNDI ref resin2.1.0 Vs resin2.1.16