WSVR0017E due to a data source configuration with the relationalResourceAdapter tag missing
 Technote (troubleshooting)
 
Problem(Abstract)
WSVR0017E indicates a configuration error as the relationalResourceAdapter tag of a configured resource is missing or is null. The exception that is logged is this:

com.ibm.ws.runtime.component.binder.ResourceBindingException: invalid configuration passed to resource binding logic. REASON: Invalid Configuration! The DataSource: wmmdbDS has a null RelationalResourceAdapter property.
 
Cause
This error can be caused by a wsadmin command that does not contain the tag relationalResourceAdapter, but is used to create the data source. So, if a wsadmin command has a relationalResourceAdapter tag set to a value that is null, the resulting entry in the resources.xml for the data source will have either no relationalResourceAdapter tag or an empty tag.

The relationalResourceAdapter is a required parameter for an IBM® WebSphere® Application Server DataSource Connection Factory:


<factories xmi:type="resources.jdbc:DataSource" xmi:id="DataSource_1175200479637" name="Cloudscape JDBC Driver XA DataSource" jndiName="jdbc/Cloudscape JDBC Driver XA DataSource" description="New JDBC Datasource" providerType="Cloudscape JDBC Provider (XA)" authMechanismPreference="BASIC_PASSWORD" authDataAlias="pmckennat42pNode03/testAlias" relationalResourceAdapter="" statementCacheSize="10" datasourceHelperClassname="com.ibm.websphere.rsadapter.CloudscapeDataStoreHelper">

 
Resolving the problem
Either correct the connection factory in the resources.xml file, or delete the data source with a wsadmin command and recreate it with the relationalResourceAdapter properly set.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > DB Connections/Connection Pooling
Operating system(s): i5/OS
Software version: 6.0.2
Software edition:
Reference #: 1317655
IBM Group: Software Group
Modified date: Sep 3, 2008