Legacy Knowledge Base
Published Jun. 30, 2025

Cannot publish from Staging to Live from non-master nodes

Written By

Jamilly Macedo

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When performing a Staging publication from a cluster node that is not the master, the publish operation is not executed and an exception is written to the log file:
2022-08-11 22:15:28.704 ERROR [[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'][TransactionCommitCallbackUtil:46] Unable to execute transaction commit callback
java.lang.reflect.UndeclaredThrowableException
    at com.sun.proxy.$Proxy602.triggerBackgroundTask(Unknown Source)
    at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl$3.call(BackgroundTaskLocalServiceImpl.java:691)
    at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl$3.call(BackgroundTaskLocalServiceImpl.java:687)
    at com.liferay.portal.kernel.transaction.TransactionCommitCallbackUtil$1.doCommitted(TransactionCommitCallbackUtil.java:43)
    at com.liferay.portal.kernel.transaction.NewTransactionLifecycleListener.committed(NewTransactionLifecycleListener.java:29)
(...)
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:206)
    at com.liferay.portal.kernel.concurrent.NoticeableFutureConverter.get(NoticeableFutureConverter.java:73)
    at com.liferay.portal.kernel.cluster.ClusterableInvokerUtil.invokeOnMaster(ClusterableInvokerUtil.java:100)
    at com.liferay.portal.internal.cluster.ClusterableAdvice.before(ClusterableAdvice.java:75)
    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:44)
    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)
    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
    ... 206 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor690.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:61)
    at com.liferay.portal.cluster.multiple.internal.ClusterExecutorImpl.executeClusterRequest(ClusterExecutorImpl.java:327)
    at com.liferay.portal.cluster.multiple.internal.ClusterExecutorImpl.handleReceivedClusterRequest(ClusterExecutorImpl.java:494)
    at com.liferay.portal.cluster.multiple.internal.ClusterRequestReceiver.doReceive(ClusterRequestReceiver.java:92)
    at com.liferay.portal.cluster.multiple.internal.BaseClusterReceiver$ReceiveRunnable.run(BaseClusterReceiver.java:242)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor691.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:61)
    at com.liferay.portal.kernel.cluster.ClusterableInvokerUtil._invoke(ClusterableInvokerUtil.java:122)
    ... 11 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServiceUtil
    at com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServiceInvokerUtil._invoke(IdentifiableOSGiServiceInvokerUtil.java:52)
    ... 16 more

Environment

  • DXP 7.0 Fix Pack 102+. 

Resolution

 

Did this article resolve your issue ?

Legacy Knowledge Base