B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  An issue ocurred during SBI upgrading from 6.0.3.0 to 6.1.0.0

    Posted Thu November 19, 2020 01:52 PM
    Hi!

    during the upgrade from 6.0.3.0 to 6.1.0.0 I am having this issue:

    Caused by: /productos/fgateway/B2B/install/properties/entityDeployer.xml:171: taskdef class com.sterlingcommerce.woodstock.install.PLTSaneSQLExec cannot be found

    It seems like alibray is missing. Do you know if I can copy it from another node from the cluster in order to proceed with the upgrade adtivity?



    --- Nested Exception ---
    java.lang.ClassNotFoundException: com.sterlingcommerce.woodstock.install.PLTSaneSQLExec
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:403)
    at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:583)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    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.Target.execute(Target.java:357)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
    at com.sterlingcommerce.woodstock.install.deployer.AntDeployer.executeScript(AntDeployer.java:265)
    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.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    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.gatherEntities(ProcessEntities.java:89)
    at com.sterlingcommerce.woodstock.install.utils.ProcessEntities.processEntities(ProcessEntities.java:53)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallDriver.doIt(ServiceInstallDriver.java:274)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallDriver.main(ServiceInstallDriver.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallBootstrapper.doIt(ServiceInstallBootstrapper.java:98)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallBootstrapper.main(ServiceInstallBootstrapper.java:44)
    com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallException: Failed processing entities.
    at com.sterlingcommerce.woodstock.install.EntityWrapper.processEntities(EntityWrapper.java:74)
    at com.sterlingcommerce.woodstock.install.utils.ProcessEntities.gatherEntities(ProcessEntities.java:89)
    at com.sterlingcommerce.woodstock.install.utils.ProcessEntities.processEntities(ProcessEntities.java:53)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallDriver.doIt(ServiceInstallDriver.java:274)
    at com.sterlingcommerce.woodstock.install.module_loader.ServiceInstallDriver.main(ServiceInstallDriver.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    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: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.sterlingcommerce.woodstock.install.InstallSIBootstrapper.instanciateAndRun(InstallSIBootstrapper.java:376)
    at com.sterlingcommerce.woodstock.install.EntityWrapper.processEntities(EntityWrapper.java:71)
    ... 10 more
    Caused by: /productos/fgateway/B2B/install/properties/entityDeployer.xml:171: taskdef class com.sterlingcommerce.woodstock.install.PLTSaneSQLExec cannot be found
    at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:609)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    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.Target.execute(Target.java:357)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
    at com.sterlingcommerce.woodstock.install.deployer.AntDeployer.executeScript(AntDeployer.java:265)
    at com.sterlingcommerce.woodstock.install.deployer.AntDeployer.deploy(AntDeployer.java:217)
    at com.sterlingcommerce.woodstock.install.deployer.AntDeployer.execute(AntDeployer.java:213)
    ... 16 more
    Caused by: java.lang.ClassNotFoundException: com.sterlingcommerce.woodstock.install.PLTSaneSQLExec
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:403)
    at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:583)
    ... 29 more
    Error '255' installing service files.
    Exception in thread "main" java.io.IOException: Running command failed, for command: /productos/fgateway/B2B/install/bin/InstallService.sh
    at com.ibm.sterling.afc.install.process.BackendInstaller.runCommand(BackendInstaller.java:497)
    at com.ibm.sterling.afc.install.process.BackendInstaller.patchEnv(BackendInstaller.java:199)
    at com.ibm.sterling.afc.install.process.BackendInstaller.main(BackendInstaller.java:79)

    ------------------------------
    Alejandro Rodriguez
    ------------------------------

    #B2BIntegration
    #SupplyChain


  • 2.  RE: An issue ocurred during SBI upgrading from 6.0.3.0 to 6.1.0.0

    Posted Tue November 24, 2020 05:00 AM
    Hi Alejandro,

    Its hard to say, copying the library may work, you can try it out, however, I would suggest to raise PMR for the same.


    ------------------------------
    Shreekant Prasad
    ------------------------------



  • 3.  RE: An issue ocurred during SBI upgrading from 6.0.3.0 to 6.1.0.0

    Posted Tue November 24, 2020 10:48 AM
    Yeah,...

    well the "solution" was to mmm... re-install the same node ... using the xml response file and for example node2 with 6.0.3.0 was "re-installed" with node2 6.1.0.0 ... it worked!!! :)

    ------------------------------
    Alejandro Rodriguez
    ------------------------------