Avoiding errors when creating a messaging engine with a file store or a data store by using wsadmin
Use different combinations of parameters can create a file store or a data store according the requirements. The outcome varies in server and cluster scopes.
For a detailed list of wsadmin command script attributes and examples for file store or data store of a messaging engine, refer to createSIBEngine.
Server scope
When you add a server as a new bus member by using admin commands (by specifying createSIBEngine -server) take note of the following:
- If you do not specify the type of message store, then a file store is created by default. If you specify -createDefaultDatasource or -dataSourceJndiName, then a data store is created.
- If you choose to use a file store (by specifying -filestore), then only file store attributes can be specified.
- If you choose to use a data store (by specifying -datastore):
- Only data store attributes can be specified.
- If you set -createDefaultDatasource to False then specify -dataSourceJndiName.
Cluster scope
When you add a cluster as a new bus member by using admin commands (by specifying createSIBEngine -cluster) take note of the following:
- If you choose to use a file store (by specifying -filestore):
- You must not use the default log file, permanent store file and temporary store file directories because they are not suitable for cluster engines.
- Specify -logDirectory, -permanentStoreDirectory and -temporaryStoreDirectory to be at locations that all members of the cluster can access on the file system.
- If you choose to use a data store (by specifying -datastore):
- You must not specify -createDefaultDatasource because the default data source is not suitable for cluster engines.
- Specify -dataSourceJndiName, giving the name of an existing data source.
Last updated Dec 15, 2010 8:14:22 PM CST