legacy-knowledge-base
公開されました Jun. 30, 2025

マスター以外のノードからStagingからLiveへパブリッシュできない

written-by

Jamilly Macedo

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

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

legacy-article

learn-legacy-article-disclaimer-text

問題

  • マスターでないクラスタノードからStagingパブリッシュを実行すると、 パブリッシュ操作が実行されず、ログファイルに例外が書き込まれる:
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+です。

解決策

  • この問題は、 LPS-79477によって引き起こされます。
  • LPS-142472でHotfixをリクエストしてください。

did-this-article-resolve-your-issue

legacy-knowledge-base