IBM Support

CWSIS1524E: Data source, jdbc/<datasource name> not found

Troubleshooting


Problem

While starting the Messaging Engine in a standalone server or during the failover of the Messaging Engine in a WebSphere Application Server (WAS) cluster you see this generic error: CWSIS1524E

Symptom

In the SystemOut.log you see this error message:

SibMessage E CWSIS0002E: The messaging engine encountered an exception while starting. Exception: com.ibm.ws.sib.msgstore.MessageStoreRuntimeException: CWSIS1524E: Data
source, <data source> not found.

Cause

All WebSphere Application Server Service Integration Bus (WAS SIB) Message Store error messages start with CWSIS. These error messages indicate a problem with a data store, data source, database or file store. This error message: CWSIS1524E indicates that the message store can not find the data source name that it has been provided within the JNDI name space.

Diagnosing The Problem

This is a very generic exception.

1) First of all make sure the Data Source is defined and configured properly.

In the WAS Admin Console navigate to:

Resources > JDBC > Data sources > YOUR_DATA_SOURCE

Inside the data source configuration you will see a "Name", which is just the administrative name for this object, and the "JNDI name", which is the name it is stored under in JNDI. Make a note of the JNDI name.

Now go to the message store configuration for the messaging engine:

Service Integration > Buses > YOUR_BUS > Messaging Engines > YOUR_MESSAGING_ENGINE > Message Store

Here you should see the "JNDI data source name". This should match the "JNDI name" in the data source configuration you looked at above. If it does not then this would explain the error you are getting. Make sure the JNDI names match and make sure you are using the correct data source.

2) You might have defined and configured the data source correctly but still the ME complained that it is not found. In the case of clusters, the most common cause for this problem is that the data source for the message store is not defined at a scope visible to the JVM where messaging engine is running.

For example, if the messaging engine is in cellX/nodeY/server1, the data source might be defined in either server1 or nodeY or cellX to be visible for use by the data store.

Within a highly available environment, there are additional factors to consider when you create data sources, as you might have a messaging engine that can run on more than one server. For example, if you have a single messaging engine which can fail over between two servers: cellX/nodeY/server1 and cellX/nodeY/server2, you need to define the data source at a scope visible to both servers. In this case, a suitable scope could be either node2 or cellX. A common mistake is to create the data source with a scope of server1. Initially, the configuration will appear to work, when the messaging engine starts on server1. However, when the messaging engine fails-over to server2, server2 will not be able to locate the appropriate data source.

Resolving The Problem

Make sure that you defined and configured the data source properly. In addition to this ensure that the definition of the data source is in a scope that is visible to the messaging engine (or engines) that are configured to use it.

In the case of a clustering environment, ensure that the data source and JDBC provider are defined at the Cluster or Cell scope so that each member of the cluster has access to that Data source.

If you would like to know more about Service Integration Bus and how to configure please refer to the links below.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Service Integration Technology","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.5.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Service Integration Technologies \/SIB","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSQH9M","label":"WebSphere Process Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSWLGF","label":"WebSphere Service Registry and Repository"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS7J6S","label":"WebSphere Enterprise Service Bus"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSDKKW","label":"WebSphere Partner Gateway Advanced Edition"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

WebSphere Application Server WAS SIB SIBUS SI BUS

Document Information

Modified date:
15 June 2018

UID

swg21624732