Unable to create a datasource using wsadmin which returns error message: WASX7015E and ADMF0006E Exceptionsption

Client enters the following in wsadmin interactive session:
wsadmin>sqlprovider_id = AdminConfig.getid(‘/Cell:
IPRODWASCELL01/JDBCProvider:Microsoft SQL Server JDBC Driver (XA)/’)

wsadmin>print sqlprovider_id
“Microsoft SQL Server JDBC Driver (XA)(cells/IPRODWASCELL01|resources.
xml#JDBCProvider_1371111783303)”

wsadmin>AdminTask.createDatasource(sqlprovider_id, ‘[-name
SBC_CPLTrigger_PROD -jndiName jdbc/momdbSQL -dataStoreHelperClassName
com.ibm.websphere.rsadapter.MicrosoftSQLServerDataStoreHelper –
containerManagedPersistence true -componentManagedAuthenticationAlias
IPRODCellManager01/CPL_NP_NPS_SQL -xaRecoveryAuthAlias
IPRODCellManager01/CPL_NP_NPS_SQL -configureResourceProperties
[[databaseName java.lang.String SBC_CPLTrigger] [portNumber java.lang.
Integer 1433] [serverName java.lang.String CPLVirtual]]]’)

The following error is returned:
WASX7015E: Exception running command: “AdminTask.createDatasource
(sqlprovider_id, ‘[-name SBC_CPLTrigger_PROD -jndiName jdbc/momdbSQL –
dataStoreHelperClassName
com.ibm.websphere.rsadapter.MicrosoftSQLServerDataStoreHelper –
containerManagedPersistence true -componentManagedAuthenticationAlias
IPRODCellManager01/CPL_NP_N
PS_SQL -xaRecoveryAuthAlias IPRODCellManager01/CPL_NP_NPS_SQL –
configureResourceProperties [[databaseName java.lang.String
SBC_CPLTrigger] [portNumber java.lang
.Integer 1433] [serverName java.lang.String CPLVirtual]]]’)”; exception
information: com.ibm.ws.scripting.ScriptingException: com.ibm.websphere.
management.cmdframework.CommandNotFoundException: ADMF0006E: Step
configureResourceProperties of command createDatasource is not found.

wsadmin>

Related:

Leave a Reply