{"action":"closed","issue":{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/127","labels_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/127/comments","events_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/127/events","html_url":"https://github.com/ilgrosso/oldSyncopeIdM/issues/127","id":61080840,"number":127,"title":"Use JNDI Datasource (when available) in ContentLoader","user":{"login":"ilgrosso","id":1064664,"avatar_url":"https://avatars.githubusercontent.com/u/1064664?v=3","gravatar_id":"","url":"https://api.github.com/users/ilgrosso","html_url":"https://github.com/ilgrosso","followers_url":"https://api.github.com/users/ilgrosso/followers","following_url":"https://api.github.com/users/ilgrosso/following{/other_user}","gists_url":"https://api.github.com/users/ilgrosso/gists{/gist_id}","starred_url":"https://api.github.com/users/ilgrosso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilgrosso/subscriptions","organizations_url":"https://api.github.com/users/ilgrosso/orgs","repos_url":"https://api.github.com/users/ilgrosso/repos","events_url":"https://api.github.com/users/ilgrosso/events{/privacy}","received_events_url":"https://api.github.com/users/ilgrosso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/1%20star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Component-Logic","name":"Component-Logic","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Milestone-Release-201107","name":"Milestone-Release-201107","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Source-branch-0_5_X","name":"Source-branch-0_5_X","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Source-trunk","name":"Source-trunk","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-13T14:46:27Z","updated_at":"2015-03-13T14:46:40Z","closed_at":"2015-03-13T14:46:40Z","body":"_From [chicchiricco](https://code.google.com/u/chicchiricco/) on June 08, 2011 08:57:11_\n\nFrom syncope-users ML (Ernst Vorstveld):\r\n\r\nI think that in the class org.syncope.core.init.ContentLoader the Autowired declaration of private DataSource localDataSource; field should have been annotated with @Qualifier(\"dataSoource\") or should have had the name dataSource.\r\n\r\nIf you want to run Syncope, using a jndi DataSource, this class still runs with the local DataSource named localDatasource from the persisnteceContext.xml. So If you do not want to use the properties file persistence.properties, this class will crash, because it cannot login to the correct database.\n\n_Original issue: http://code.google.com/p/syncope/issues/detail?id=124_"}}