Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12810

LinkageError when starting spring process application on WAS 8.5

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.14.2, 7.15.0-alpha2, 7.15.0
    • None
    • engine
    • None

    Description

      Cannot start spring process application on WebSphere 8.5 with the following exception:

      [11/25/20 10:24:40:854 CET] 00000060 BusinessExcep E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "start" on bean "BeanId(paEngine1#paEngine1.war#DefaultEjbProcessApplication, null)". Exception data: java.lang.BootstrapMethodError: java.lang.LinkageError: loading constraint violation when overriding method "org/springframework/transaction/support/TransactionCallback.doInTransaction(Lorg/springframework/transaction/TransactionStatus;)Ljava/lang/Object;" during creation of class "org/camunda/bpm/engine/spring/SpringTransactionInterceptor$$Lambda$89/0000000098B35980": loader "java/lang/InternalAnonymousClassLoader@3c3a7a5d" of class "org/camunda/bpm/engine/spring/SpringTransactionInterceptor$$Lambda$89/0000000098B35980" and loader "com/ibm/ws/classloader/CompoundClassLoader@e1ec8cf8" of class "org/springframework/transaction/support/TransactionCallback" have different types for the method signature
      	at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:68)
      	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
      	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
      	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
      	at org.camunda.bpm.engine.impl.ProcessEngineImpl.executeSchemaOperations(ProcessEngineImpl.java:148)
      	at org.camunda.bpm.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:111)
      	at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:973)
      	at org.camunda.bpm.engine.spring.SpringTransactionsProcessEngineConfiguration.buildProcessEngine(SpringTransactionsProcessEngineConfiguration.java:67)
      	at org.camunda.bpm.container.impl.jmx.services.JmxManagedProcessEngineController.start(JmxManagedProcessEngineController.java:38)
      	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.startService(MBeanServiceContainer.java:77)
      	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.startService(MBeanServiceContainer.java:63)
      	at org.camunda.bpm.container.impl.deployment.StartProcessEngineStep.performOperationStep(StartProcessEngineStep.java:119)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:120)
      	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:160)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:216)
      	at org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl.deployProcessApplication(RuntimeContainerDelegateImpl.java:102)
      	at org.camunda.bpm.application.AbstractProcessApplication.deploy(AbstractProcessApplication.java:66)
      	at org.camunda.bpm.application.impl.ejb.DefaultEjbProcessApplication.start(DefaultEjbProcessApplication.java:49)
      	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.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:232)
      	at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:560)
      	at org.apache.webbeans.ejb.common.interceptor.OpenWebBeansEjbInterceptor.lifecycleCommon(OpenWebBeansEjbInterceptor.java:256)
      	at org.apache.webbeans.ejb.common.interceptor.OpenWebBeansEjbInterceptor.afterConstruct(OpenWebBeansEjbInterceptor.java:323)
      	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.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227)
      	at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:549)
      	at org.apache.webbeans.ejb.WSEJBInterceptor.postConstruct(WSEJBInterceptor.java:65)
      	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.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227)
      	at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:549)
      	at com.ibm.ejs.container.interceptors.InvocationContextImpl.doLifeCycle(InvocationContextImpl.java:274)
      	at com.ibm.ejs.container.SingletonBeanO.callTransactionalLifecycleInterceptors(SingletonBeanO.java:273)
      	at com.ibm.ejs.container.SingletonBeanO.initialize(SingletonBeanO.java:404)
      	at com.ibm.ejs.container.BeanOFactory.create(BeanOFactory.java:130)
      	at com.ibm.ejs.container.EJSHome.createNewBeanO(EJSHome.java:871)
      	at com.ibm.ejs.container.EJSHome.createSingletonBeanO(EJSHome.java:3998)
      	at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1217)
      	at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1373)
      	at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:89)
      	at com.ibm.ejs.container.activator.Activator.preInvokeActivateBean(Activator.java:324)
      	at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3733)
      	at com.ibm.ejs.container.EJSContainer.EjbPreInvoke(EJSContainer.java:3047)
      	at org.camunda.bpm.application.EJSLocal0SGDefaultEjbProcessApplication_594351e4.getProperties(EJSLocal0SGDefaultEjbProcessApplication_594351e4.java)
      	at org.camunda.bpm.application.impl.web.ProcessArchiveServletContextListener.contextInitialized(ProcessArchiveServletContextListener.java:44)
      	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1734)
      	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:415)
      	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
      	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:171)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:901)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
      	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
      	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1390)
      	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:979)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1413)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2273)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
      	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:654)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5464)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5680)
      	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:668)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:612)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1303)
      	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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83)
      	at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      	at java.lang.reflect.Method.invoke(Method.java:508)
      	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)
      	at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1263)
      	at java.security.AccessController.doPrivileged(AccessController.java:664)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:91)
      	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1257)
      	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1096)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:831)
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:813)
      	at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1350)
      	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      	at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1243)
      	at com.ibm.ws.management.application.AppManagementImpl._startApplication(AppManagementImpl.java:1482)
      	at com.ibm.ws.management.application.AppManagementImpl.startApplication(AppManagementImpl.java:1371)
      	at com.ibm.ws.management.application.AppManagementImpl.startApplication(AppManagementImpl.java:1320)
      	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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83)
      	at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      	at java.lang.reflect.Method.invoke(Method.java:508)
      	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)
      	at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1263)
      	at java.security.AccessController.doPrivileged(AccessController.java:664)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:91)
      	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1257)
      	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1096)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:831)
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:813)
      	at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1350)
      	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      	at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1243)
      	at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)
      	at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      	at java.lang.reflect.Method.invoke(Method.java:508)
      	at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:488)
      	at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:324)
      	at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:65)
      	at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:733)
      	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:522)
      	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
      Caused by: java.lang.LinkageError: loading constraint violation when overriding method "org/springframework/transaction/support/TransactionCallback.doInTransaction(Lorg/springframework/transaction/TransactionStatus;)Ljava/lang/Object;" during creation of class "org/camunda/bpm/engine/spring/SpringTransactionInterceptor$$Lambda$89/0000000098B35980": loader "java/lang/InternalAnonymousClassLoader@3c3a7a5d" of class "org/camunda/bpm/engine/spring/SpringTransactionInterceptor$$Lambda$89/0000000098B35980" and loader "com/ibm/ws/classloader/CompoundClassLoader@e1ec8cf8" of class "org/springframework/transaction/support/TransactionCallback" have different types for the method signature
      	at sun.misc.Unsafe.defineAnonymousClass(Native Method)
      	at java.lang.invoke.InnerClassLambdaMetafactory.spinInnerClass(InnerClassLambdaMetafactory.java:339)
      	at java.lang.invoke.InnerClassLambdaMetafactory.buildCallSite(InnerClassLambdaMetafactory.java:206)
      	at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:315)
      	at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:841)
      	... 130 more
      
      

      Failing jobs that have the server log files:

      Hints:
      In CAM-12524 we introduced lambda for execution TransactionTemplate in SpringTransactionInterceptor where the classes cannot be resolved correctly in was 8.5.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                yana.vasileva Yana Vasileva
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce