Hi All,
While creating build using wcbd tool in WCS v7.0 , I am facing the following problem:
The build.properties says that for DB2 vendor should be specified as
DB2UDB_V95#-------------------------------------------------------------------------------
# ejbdeploy.dbvendor
#
# The database vendor type used by the WAS ejbdeploy tool. The following values
# should be used (the version should match that of the target database):
#
# Derby/DB2: DB2UDB_V95
# Oracle: ORACLE_V11G
# DB2 for i: DB2UDBISERIES_V54
#
# Refer to the WebSphere Application Server V7 Information Center for more
# information.
#-------------------------------------------------------------------------------
ejbdeploy.dbvendor=DB2UDB_V95
But when I migrated the WebSphereCommerceServerExtensionsData
DB2UDBNT_V82_1 folder in /WebSphereCommerceServerExtensionsData/ejbModule/META-INF/backends directory. So, following exception was coming while deploying this project:
[wsejbdeploy] EJB Deploy configuration directory:
y:\deploytool\itp\configuration/[wsejbdeploy] framework search path: y:\deploytool\itp\plugins[wsejbdeploy] build: RAD751-I20081125_0202[wsejbdeploy][wsejbdeploy]
[*Error] An unexpected exception was thrown. Halting execution.[wsejbdeploy] Error executing deployment: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
$1DiagnosticWrappedException. Error is org.eclipse.emf.ecore.xmi.FeatureNotFoundException:
Feature 'CharacterStringDataType' not found.
(platform:/resource/WebSphereCommerceServer
ExtensionsData.input/ejbModule/META-INF/
backends/DB2UDBNT_V82_1/ARCWC.dbm, 44, 125).[wsejbdeploy] org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.FeatureNotFoundException:
Feature 'CharacterStringDataType' not found.
(platform:/resource/WebSphereCommerceServer
ExtensionsData.input/ejbModule/META-INF/
backends/DB2UDBNT_V82_1/ARCWC.dbm, 44, 125)I tried to create the mapping again in RAD 7 using EJB to RDB Mapping > Generate Map and selecting v9.5 when it asked for db2 version. This created a new folder with the name
DB2UDBNT_V95_1.
The script still doesn't work. It throws following exception[wsejbdeploy] framework search path: u:\deploytool\itp\plugins[wsejbdeploy] build: RAD755-I20091202_2257[wsejbdeploy] 18-Feb-2011 11:53:51 EJBDeployOperation createTopDownMapping[wsejbdeploy] SEVERE: Error creating top-down schema & map: null.[wsejbdeploy] Throwable occurred: java.lang.NullPointerException[wsejbdeploy] at com.ibm.etools.ejbdeploy.core.utils.DataToolsHelper.getVendorID
(DataToolsHelper.java:194)[wsejbdeploy] at com.ibm.etools.ejbdeploy.plugin.EJBDeploy
Operation.needTop
DownMapping(EJBDeployOperation.java:411)[wsejbdeploy] at com.ibm.etools.ejbdeploy.plugin.EJBDeploy
Operation.create
TopDownMapping(EJBDeployOperation.java:265)[wsejbdeploy] at com.ibm.etools.ejbdeploy.plugin.
EJBDeployOperation.doRun
(EJBDeployOperation.java:1583)It appears script expects DB2UDB_V95 folder in backends directory.
Any help would be really appreciated.
Thanks