IBM Support

Messaging Engine fails to start

Troubleshooting


Problem

Messaging Engine failed to start with the following error messages in the logs: CWSIS0002E: The messaging engine encountered an exception while starting. Exception: com.ibm.ws.sib.msgstore.PersistenceException: CWSIS1501E: The data source has produced an unexpected exception: com.ibm.db2.jcc.b.SqlException: DB2 SQL error: SQLCODE: -552, SQLSTATE: 42502, SQLERRMC: WPSADMIN;CREATE SCHEMA... CWSID0035E: Messaging engine XYZ cannot be started; detected error reported during com.ibm.ws.sib.msgstore.impl.MessageStoreImpl start() 00000028 SibMessage CWSID0027E: Messaging engine XYZ cannot be restarted because a serious error has been reported.

Cause

The messaging engine will not start because it is being asked to create its schema and tables in the database and is being refused due to a permission violation by the database.

Resolving The Problem

The schema in the database is needed by the messaging engines to store persistent messages and state information. It is created when the messaging engine is created. A messaging engine gets created when an application server or cluster is added to the bus.

If you want the messaging engine to create its own schema and tables you must grant the permission described on the following page:
Database privileges

You can also manually create the schema and tables if you like. Use the below instructions to manually create the schema and tables:
Creating the database, schema and user ID for a messaging engine

If your policy is to limit privileges, you will need to use a manual process to get the messaging engine data stores set up correctly.

For details of how to use the sibDDLGenerator:
sibDDLGenerator command

[{"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":"PF012","label":"IBM i"},{"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":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 June 2018

UID

swg21407516