IT Process Automation

  • 1.  PAM 4.3 SP1 HF01 - possible bug

    Posted Apr 17, 2017 01:19 PM

    The PAM 4.3 SP1 installation contained an error that did not connect via ssh with Z / Linux with cipher protocol;
    PAM 4.3 SP01 HF01 has resolved this problem, but the resource connector has stopped working. It is as if the resource had no available quantity, which is not true.

     

     

     

     

    Tested System: Windows 2012 R2 Server 64
    Java version: 1.7.0_80

    4.3 SP01 (without HF01)
    Test component Features: OK
    Test Z: ERROR: Unable to connect to the remote SSH host. Class java.io.IOException The socket is EOF


    4.3 SP01 with HF01:
    Java version "1.7.0_80"
    Component Testing ERROR: component waits indefinitely for the resource as if it was not available.
    Z test: OK

    I made the tests with two streams, one for resources and the other for ssh connection with Z, without some changes, only one without HF01 and another with the hotfix.



  • 2.  Re: PAM 4.3 SP1 HF01 - possible bug

    Posted Apr 17, 2017 02:52 PM

    017-04-17 15:49:35,444 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] [llocationThread] Could not synchronize database state with session
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
        at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:61)
        at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46)
        at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:24)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2399)
        at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2303)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2603)
        at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
        at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
        at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
        at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
        at com.optinuity.c2o.persistence.DatabaseManager.retrieveObjectID(DatabaseManager.java:5680)
        at com.optinuity.c2o.persistence.DatabaseManager.loadDocumentByPath(DatabaseManager.java:9133)
        at com.optinuity.c2o.resources.C2OResourceManager.updateResourceDocument(C2OResourceManager.java:230)
        at com.optinuity.c2o.resources.C2OResourceManager.updateDocumentsAfterExecution(C2OResourceManager.java:1188)
        at com.optinuity.c2o.resources.C2OResourceManager.allocateResources(C2OResourceManager.java:783)
        at com.optinuity.c2o.resources.C2OResourceManager.access$400(C2OResourceManager.java:81)
        at com.optinuity.c2o.resources.C2OResourceManager$4.run(C2OResourceManager.java:1847)
        at java.lang.Thread.run(Thread.java:745)
    2017-04-17 15:49:35,444 ERROR [com.optinuity.c2o.resources.C2OResourceManager] [llocationThread] Error while allocating resources
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
        at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:61)
        at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46)
        at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:24)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2399)
        at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2303)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2603)
        at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
        at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
        at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
        at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
        at com.optinuity.c2o.persistence.DatabaseManager.retrieveObjectID(DatabaseManager.java:5680)
        at com.optinuity.c2o.persistence.DatabaseManager.loadDocumentByPath(DatabaseManager.java:9133)
        at com.optinuity.c2o.resources.C2OResourceManager.updateResourceDocument(C2OResourceManager.java:230)
        at com.optinuity.c2o.resources.C2OResourceManager.updateDocumentsAfterExecution(C2OResourceManager.java:1188)
        at com.optinuity.c2o.resources.C2OResourceManager.allocateResources(C2OResourceManager.java:783)
        at com.optinuity.c2o.resources.C2OResourceManager.access$400(C2OResourceManager.java:81)
        at com.optinuity.c2o.resources.C2OResourceManager$4.run(C2OResourceManager.java:1847)
        at java.lang.Thread.run(Thread.java:745)



  • 3.  Re: PAM 4.3 SP1 HF01 - possible bug
    Best Answer

    Broadcom Employee
    Posted Apr 17, 2017 03:08 PM

    Everton - is this informational or are you in need of a fix for this?

     

     

    If you need a fix, please open a support case and we can investigate and get our engineering team to address this.



  • 4.  Re: PAM 4.3 SP1 HF01 - possible bug

    Posted Apr 19, 2017 12:37 PM

    i gonna open a case.

    PAM 4.3 SP01 HF01, Build: 4.3.110 SP01 work ssh cipher but dont work resource component