A fix is available
APAR status
Closed as program error.
Error description
Failures during deployment package import/install cause in-memory corruption & failures on repeat attempts User will see an error in the Process Center/Process Server logs: CWLLG2229E: An exception occurred in an EJB call. Error: Could not get branch from VersioningContext com.lombardisoftware.expimp.ExportImportException: Could not get branch from VersioningContext Followed by: Caused by: com.lombardisoftware.client.delegate.BusinessDelegateException: Could not get branch from VersioningContext at com.lombardisoftware.client.delegate.BusinessDelegateException.a sBusinessDelegateException(BusinessDelegateException.java:41) at com.lombardisoftware.client.delegate.PersistenceServicesDelegate Default.save(PersistenceServicesDelegateDefault.java:333) at com.lombardisoftware.client.persistence.common.factorydelegate.V ersionedFactoryDelegate.save(VersionedFactoryDelegate.java:218) at com.lombardisoftware.client.persistence.common.AbstractVersioned POFactory.doSave(AbstractVersionedPOFactory.java:248) at com.lombardisoftware.client.persistence.AbstractLibraryPOFactory .save(AbstractLibraryPOFactory.java:38) at com.lombardisoftware.client.persistence.ProjectDefaultsFactory.s ave(ProjectDefaultsFactory.java:89) at com.lombardisoftware.expimp.handler.ProjectDefaultsHandler.creat e(ProjectDefaultsHandler.java:57) ... 103 more Caused by: java.lang.RuntimeException: Could not get branch from VersioningContext at com.lombardisoftware.client.persistence.common.versioning.Versio ningUtils.getBranch(VersioningUtils.java:43) at com.lombardisoftware.client.persistence.common.versioning.Versio ningUtils.getProject(VersioningUtils.java:55) at com.lombardisoftware.client.persistence.ProjectDefaults.getPrope rtyValue(ProjectDefaults.java:37) at com.lombardisoftware.client.persistence.common.TWModelObjectImpl .validate(TWModelObjectImpl.java:338) at com.lombardisoftware.client.persistence.autogen.ProjectDefaultsA utoGen.validate(ProjectDefaultsAutoGen.java:136) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore.assertNoFatalValidationErrors(PersistenceServicesCore.java:2 60) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore.saveInternal(PersistenceServicesCore.java:301) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore.access$100(PersistenceServicesCore.java:55) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore$6.call(PersistenceServicesCore.java:283) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore$6.call(PersistenceServicesCore.java:277) at com.lombardisoftware.server.ejb.persistence.versioning.BranchMan ager.writeAccess(BranchManager.java:325) at com.lombardisoftware.server.ejb.persistence.versioning.BranchMan ager.writeAccess(BranchManager.java:209) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore.save(PersistenceServicesCore.java:277) at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRef lection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.inv okeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.pro ceed(ReflectiveMethodInvocation.java:149) at com.lombardisoftware.utility.spring.TransactionInterceptor$1.cal l(TransactionInterceptor.java:52) at com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo rt.executeInExistingTransaction(ProgrammaticTransactionSupport.j ava:452) at com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo rt.execute(ProgrammaticTransactionSupport.java:172) at com.lombardisoftware.utility.spring.TransactionInterceptor.invok e(TransactionInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.pro ceed(ReflectiveMethodInvocation.java:171) at com.lombardisoftware.utility.spring.CoreEntryInterceptor.invoke( CoreEntryInterceptor.java:44) at com.lombardisoftware.utility.spring.PSCoreEntryInterceptor.invok e(PSCoreEntryInterceptor.java:14) at org.springframework.aop.framework.ReflectiveMethodInvocation.pro ceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkD ynamicAopProxy.java:204) at $Proxy29.save(Unknown Source) at com.lombardisoftware.client.delegate.PersistenceServicesDelegate Default.save(PersistenceServicesDelegateDefault.java:309) ... 108 more Caused by: com.lombardisoftware.client.delegate.BusinessDelegateException: Branch with ID Branch.f4fce65f-1d88-44c3-a680-62cf3134d41a not found. at com.lombardisoftware.client.delegate.BusinessDelegateException.a sBusinessDelegateException(BusinessDelegateException.java:41) at com.lombardisoftware.client.delegate.PersistenceServicesDelegate Default.findByPrimaryKey(PersistenceServicesDelegateDefault.java :178) at com.lombardisoftware.client.persistence.common.factorydelegate.U nversionedFactoryDelegate.findByPrimaryKey(UnversionedFactoryDel egate.java:42) at com.lombardisoftware.client.persistence.common.AbstractUnversion edPOFactory.findByPrimaryKey(AbstractUnversionedPOFactory.java:1 23) at com.lombardisoftware.client.persistence.common.versioning.Versio ningUtils.getBranch(VersioningUtils.java:41) ... 137 more Caused by: com.lombardisoftware.core.TeamWorksException: Branch with ID Branch.f4fce65f-1d88-44c3-a680-62cf3134d41a not found. at com.lombardisoftware.server.ejb.persistence.CommonDAO.assertNotN ull(CommonDAO.java:70) at com.lombardisoftware.server.ejb.persistence.CommonDAO.assertMapN otNull(CommonDAO.java:50) at com.lombardisoftware.server.ejb.persistence.dao.UnversionedPODAO .findByPrimaryKey(UnversionedPODAO.java:426) at com.lombardisoftware.server.ejb.persistence.DefaultHandler.findB yPrimaryKey(DefaultHandler.java:118) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore$2.call(PersistenceServicesCore.java:116) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore$2.call(PersistenceServicesCore.java) at com.lombardisoftware.server.ejb.persistence.versioning.BranchMan ager.readAccess(BranchManager.java:143) at com.lombardisoftware.server.ejb.persistence.PersistenceServicesC ore.findByPrimaryKey(PersistenceServicesCore.java:114) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRef lection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.inv okeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.pro ceed(ReflectiveMethodInvocation.java:149) at com.lombardisoftware.utility.spring.TransactionInterceptor$1.cal l(TransactionInterceptor.java:52) at com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo rt.executeInExistingTransaction(ProgrammaticTransactionSupport.j ava:452) at com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo rt.execute(ProgrammaticTransactionSupport.java:172) at com.lombardisoftware.utility.spring.TransactionInterceptor.invok e(TransactionInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.pro ceed(ReflectiveMethodInvocation.java:171) at com.lombardisoftware.utility.spring.CoreEntryInterceptor.invoke( CoreEntryInterceptor.java:44) at com.lombardisoftware.utility.spring.PSCoreEntryInterceptor.invok e(PSCoreEntryInterceptor.java:14) at org.springframework.aop.framework.ReflectiveMethodInvocation.pro ceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkD ynamicAopProxy.java:204) at $Proxy29.findByPrimaryKey(Unknown Source) at com.lombardisoftware.client.delegate.PersistenceServicesDelegate Default.findByPrimaryKey(PersistenceServicesDelegateDefault.java :154) ... 140 more
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of BPM Express, BPM Standard and BPM * * Advanced. * **************************************************************** * PROBLEM DESCRIPTION: Deploying a Process Application to * * Process Server will fail with errors. * * Subsequent attempts (until a server * * restart) will also fail. * **************************************************************** * RECOMMENDATION: * **************************************************************** User will see an error in the logs: CWLLG2229E: An exception occurred in an EJB call. Error: Could not get branch from VersioningContext com.lombardisoftware.expimp.ExportImportException: Could not get branch from VersioningContext
Problem conclusion
APAR JR41917 fixes project lookup to get the branch ID properly and also fixes deploy/install to clear the caching after a failed install. The fix is available on fix central. The 7.5.0.1 fix is available as a standalone fix on fix central. The 7.5.1 fix is a part of the JR42012 ifix package http://www-01.ibm.com/support/docview.wss?uid=swg1JR42012 and needs to be installed as follows: - Install JR42012 on both Process Designer and Process Center/Server using IM - On Process Center/Server run bpmprofileUpgrade as outlined in http://www-01.ibm.com/support/docview.wss?uid=swg27022245#recove rFailure
Temporary fix
Comments
APAR Information
APAR number
JR41917
Reported component name
BPM ADVANCED
Reported component ID
5725C9400
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-02-14
Closed date
2012-03-07
Last modified date
2012-04-30
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
BPM ADVANCED
Fixed component ID
5725C9400
Applicable component levels
R750 PSY
UP
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5"}]
Document Information
Modified date:
07 October 2021