IBM Support

IFIX install fails with the error com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710

Troubleshooting


Problem

IBM Sterling B2B Integrator(SBI) 5.2.6.3_10 ifix install fails with the below error in the InstallService.log
[saneSqlExec] Executing resource: /sfg/SI5263/install/repository/scripts/EFrame_TableChanges.sql
[saneSqlExec] Failed to execute:  CREATE TABLE YFS_USER ( .... )
/sfg/SI5263/install/properties/entityDeployer.xml:823: The following error occurred while executing this line:
/sfg/SI5263/install/properties/entityDeployer.xml:803: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710, SQLERRMC=SFGDEV.YFS_USER;TABLE, DRIVER=4.19.66
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)

Symptom

InstallService.log shows the below stack trace
  
[saneSqlExec] Failed to execute:  CREATE TABLE YFS_USER ( ... )
/sfg/SI5263/install/properties/entityDeployer.xml:823: The following error occurred while executing this line:
/sfg/SI5263/install/properties/entityDeployer.xml:803: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710, SQLERRMC=SFGDEV.YFS_USER;TABLE, DRIVER=4.19.66
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at com.sterlingcommerce.woodstock.install.deployer.AntDeployer.executeScript(AntDeployer.java:273)
    at com.sterlingcommerce.woodstock.install.deployer.AntDeployer.deploy(AntDeployer.java:217)
    at com.sterlingcommerce.woodstock.install.deployer.AntDeployer.execute(AntDeployer.java:213)
    at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at com.sterlingcommerce.woodstock.install.InstallSIBootstrapper.instanciateAndRun(InstallSIBootstrapper.java:376)
    at com.sterlingcommerce.woodstock.install.EntityWrapper.processEntities(EntityWrapper.java:71)
    at com.sterlingcommerce.woodstock.install.utils.ProcessEntities.process(ProcessEntities.java:194)
    at com.sterlingcommerce.woodstock.install.utils.ProcessEntities.gatherEntities(ProcessEntities.java:96)
    at com.sterlingcommerce.woodstock.install.utils.ProcessEntities.processEntities(ProcessEntities.java:49)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallDriver.doIt(ServiceInstallDriver.java:258)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallDriver.main(ServiceInstallDriver.java:52)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallBootstrapper.doIt(ServiceInstallBootstrapper.java:98)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallBootstrapper.main(ServiceInstallBootstrapper.java:44)
Caused by: /sfg/SI5263/install/properties/entityDeployer.xml:803: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710, SQLERRMC=SFGDEV.YFS_USER;TABLE, DRIVER=4.19.66
    at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:463)
    at com.sterlingcommerce.woodstock.install.SaneSQLExec.execute(SaneSQLExec.java:119)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 29 more

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"5.2.6.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 November 2019

UID

ibm10960119