Have to use exact JNDI name in db-data-config.xml, as unmanaged threads in Websphere do not have access to java:comp/env namespace.
Resource name can not be mapped to websphere jdbc datasource name via reference definition in web.xml. Now using jndiName="jdbc/testdb" instead of jndiName="java:comp/env/jdbc/testdb" and also defining websphere JDBC datasource as "jdbc/testdb" -- View this message in context: http://lucene.472066.n3.nabble.com/JNDI-in-db-data-config-xml-websphere-tp3884787p3896869.html Sent from the Solr - User mailing list archive at Nabble.com.