This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[SJN-69] Does not load DataSource correctly when the name comes from the filename of the .properties/.xml file.
Created: Thu, 15 Sep 2005 07:48:16 -0700 (PDT)  Updated: Wed, 28 Sep 2005 20:46:16 -0700 (PDT)

Status:Closed
Project:Simple-JNDI
Component/s:
Affects Version/s:0.11
Fix Version/s:0.11.1

Type:BugPriority: Major
Reporter:Mike HillAssignee:Henri Yandell
Resolution:Fixed 
Environment:j2se 5


 Description   
When my DataSource was configured in file called JFit.properties, trying to retrieve the DataSource from JNDI returned null which led to NullPointerException when getting the connection. Had to rename the file to jdbc.properties and have the name of the DataSource as a prefix inside each line of jdbc.properties.
Comment by bayard [ Wed, 28 Sep 2005 20:46:16 -0700 (PDT) ]
Test created to prove it fails, and now fixed. Took a surprising chunk of work to get solved.