IBM Support

PH24868: EDITING CONFIGURATION ON AGENT RESOURCES FROM A NON-ADMIN ACCOUNT FAILS WITH THE ERROR 'TX IS NOT ACTIVE'

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Editing configuration on agent resource from a non-admin account
    fails the following exception:
    	java.lang.RuntimeException: TX is not active
    	at
    com.urbancode.persistence.hibernate.TxManager.getSession(TxManag
    er.java:605)
    	at
    com.urbancode.persistence.hibernate.TxManagerReference.getSessio
    n(TxManagerReference.java:54)
    	at
    com.urbancode.ds.persistence.database.UDSessionLookup.getSession
    (UDSessionLookup.java:30)
    	at
    com.urbancode.security.persistence.BaseFactory.getSession(BaseFa
    ctory.java:25)
    	at
    com.urbancode.security.persistence.ResourceTypeFactory.getResour
    ceTypeById(ResourceTypeFactory.java:107)
    	at
    com.urbancode.ds.security.SecuritySchemaHelper.getResourceTypeFo
    rSecuredClass(SecuritySchemaHelper.java:275)
    	at
    com.urbancode.ds.security.SecuritySchemaHelper.getResourceTypeFo
    rSecuredObject(SecuritySchemaHelper.java:235)
    	at
    com.urbancode.ds.security.SecuredHelper.getResourceType(SecuredH
    elper.java:52)
    	at
    com.urbancode.ds.security.SecuredHelper.hasAction(SecuredHelper.
    java:113)
    	at
    com.urbancode.ds.security.SecuredAbstractEntity.hasAction(Secure
    dAbstractEntity.java:90)
    	at
    com.urbancode.ds.security.SecuredHelper.assertAction(SecuredHelp
    er.java:242)
    	at
    com.urbancode.ds.security.SecuredAbstractEntity.assertAction(Sec
    uredAbstractEntity.java:102)
    	at
    com.urbancode.ds.subsys.resource.domain.Resource.assertAction(Re
    source.java:1973)
    	at
    com.urbancode.ds.subsys.deploy.agent.discovery.DiscoveryExecutio
    nService.runAutoDiscoverySteps0(DiscoveryExecutionService.java:9
    6)
    	at
    com.urbancode.ds.subsys.deploy.agent.discovery.DiscoveryExecutio
    nService.lambda$runAutoDiscoverySteps$0(DiscoveryExecutionServic
    e.java:92)
    	at
    com.urbancode.ds.subsys.deploy.agent.discovery.DiscoveryExecutio
    nService$$Lambda$238.00000000840E7280.run(Unknown Source)
    	at
    com.urbancode.persistence.hibernate.TxManager$TxState.doPostComm
    itWork(TxManager.java:282)
    	at
    com.urbancode.persistence.hibernate.TxManager.commitAndBegin(TxM
    anager.java:651)
    	at
    com.urbancode.ds.persistence.database.UDTxManager.commitAndBegin
    (UDTxManager.java:113)
    	at
    com.urbancode.ds.web.rest.TxInterceptionService$CommitAndBeginIn
    terceptor.invoke(TxInterceptionService.java:220)
    	at
    org.jvnet.hk2.internal.MethodInterceptorHandler.invoke(MethodInt
    erceptorHandler.java:97)
    	at
    com.urbancode.ds.web.rest.resource.ResourceResource_$$_jvstcbe_a
    1.saveResource(ResourceResource_$$_jvstcbe_a1.java)
    	at sun.reflect.NativeMethodAccessor
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All end users on all supported browsers.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Editing configuration on agent resource from a non-admin     *
    * account                                                      *
    * fails the following exception:                               *
    * 	java.lang.RuntimeException: TX is not active                *
    * 	at                                                          *
    * com.urbancode.persistence.hibernate.TxManager.getSession(TxM *
    * anag                                                         *
    * er.java:605)                                                 *
    * 	at                                                          *
    * com.urbancode.persistence.hibernate.TxManagerReference.getSe *
    * ssio                                                         *
    * n(TxManagerReference.java:54)                                *
    * 	at                                                          *
    * com.urbancode.ds.persistence.database.UDSessionLookup.getSes *
    * sion                                                         *
    * (UDSessionLookup.java:30)                                    *
    * 	at                                                          *
    * com.urbancode.security.persistence.BaseFactory.getSession(Ba *
    * seFa                                                         *
    * ctory.java:25)                                               *
    * 	at                                                          *
    * com.urbancode.security.persistence.ResourceTypeFactory.getRe *
    * sour                                                         *
    * ceTypeById(ResourceTypeFactory.java:107)                     *
    * 	at                                                          *
    * com.urbancode.ds.security.SecuritySchemaHelper.getResourceTy *
    * peFo                                                         *
    * rSecuredClass(SecuritySchemaHelper.java:275)                 *
    * 	at                                                          *
    * com.urbancode.ds.security.SecuritySchemaHelper.getResourceTy *
    * peFo                                                         *
    * rSecuredObject(SecuritySchemaHelper.java:235)                *
    * 	at                                                          *
    * com.urbancode.ds.security.SecuredHelper.getResourceType(Secu *
    * redH                                                         *
    * elper.java:52)                                               *
    * 	at                                                          *
    * com.urbancode.ds.security.SecuredHelper.hasAction(SecuredHel *
    * per.                                                         *
    * java:113)                                                    *
    * 	at                                                          *
    * com.urbancode.ds.security.SecuredAbstractEntity.hasAction(Se *
    * cure                                                         *
    * dAbstractEntity.java:90)                                     *
    * 	at                                                          *
    * com.urbancode.ds.security.SecuredHelper.assertAction(Secured *
    * Help                                                         *
    * er.java:242)                                                 *
    * 	at                                                          *
    * com.urbancode.ds.security.SecuredAbstractEntity.assertAction *
    * (Sec                                                         *
    * uredAbstractEntity.java:102)                                 *
    * 	at                                                          *
    * com.urbancode.ds.subsys.resource.domain.Resource.assertActio *
    * n(Re                                                         *
    * source.java:1973)                                            *
    * 	at                                                          *
    * com.urbancode.ds.subsys.deploy.agent.discovery.DiscoveryExec *
    * utio                                                         *
    * nService.runAutoDiscoverySteps0(DiscoveryExecutionService.ja *
    * va:9                                                         *
    * 6)                                                           *
    * 	at                                                          *
    * com.urbancode.ds.subsys.deploy.agent.discovery.DiscoveryExec *
    * utio                                                         *
    * nService.lambda$runAutoDiscoverySteps$0(DiscoveryExecutionSe *
    * rvic                                                         *
    * e.java:92)                                                   *
    * 	at                                                          *
    * com.urbancode.ds.subsys.deploy.agent.discovery.DiscoveryExec *
    * utio                                                         *
    * nService$$Lambda$238.00000000840E7280.run(Unknown Source)    *
    * 	at                                                          *
    * com.urbancode.persistence.hibernate.TxManager$TxState.doPost *
    * Comm                                                         *
    * itWork(TxManager.java:282)                                   *
    * 	at                                                          *
    * com.urbancode.persistence.hibernate.TxManager.commitAndBegin *
    * (TxM                                                         *
    * anager.java:651)                                             *
    * 	at                                                          *
    * com.urbancode.ds.persistence.database.UDTxManager.commitAndB *
    * egin                                                         *
    * (UDTxManager.java:113)                                       *
    * 	at                                                          *
    * com.urbancode.ds.web.rest.TxInterceptionService$CommitAndBeg *
    * inIn                                                         *
    * terceptor.invoke(TxInterceptionService.java:220)             *
    * 	at                                                          *
    * org.jvnet.hk2.internal.MethodInterceptorHandler.invoke(Metho *
    * dInt                                                         *
    * erceptorHandler.java:97)                                     *
    * 	at                                                          *
    * com.urbancode.ds.web.rest.resource.ResourceResource_$$_jvstc *
    * be_a                                                         *
    * 1.saveResource(ResourceResource_$$_jvstcbe_a1.java)          *
    * 	at sun.reflect.NativeMethodAccessor                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Fixed in version 7.1.0.0                                     *
    ****************************************************************
    

Problem conclusion

  • Fix is provided in IBM UrbanCode Deploy 7.1.0.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH24868

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    705

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-04-28

  • Closed date

    2020-07-22

  • Last modified date

    2020-07-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"705","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
23 July 2020