legacy-knowledge-base
公開されました Sep. 10, 2025

ネストされたアプリケーションのポートレットがWeblogicでcom.liferay.portal.kernel.servlet.NonSerializableObjectHandlerを引き起こす

written-by

Gustavo Vasconcelos

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

問題

  • Nested Applicationsをページに追加すると、ログにcom.liferay.portal.kernel.servlet.NonSerializableObjectHandlerのエラーが表示されます。
  • ネストされたアプリケーションにポートレットを追加することはできない

環境

  • Liferay DXP 7.1
  • Weblogic R2 (12.2.1)

解決策

  • ポータルのWEB-INF/weblogic.xmlから、 <optimistic-serialization>true</optimistic-serialization> という行を削除します;
  • portal-ext.properties ファイルに weblogic.request.wrap.non.serializable=false の行を追加します。
  • Weblogicを再起動します。
did-this-article-resolve-your-issue

legacy-knowledge-base