Legacy Knowledge Base
公開されました Jul. 2, 2025

アダプティブメディアの問題のトラブルシューティング

Written By

Justin Choi

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

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

この記事は、Adaptive Media の問題のトラブルシューティングに役立つように設計されています。 Adaptive Media は訪問者のデバイス能力を検出し、保存されたメディアの適切なスケーリングと最適化されたバージョンを自動的に配信します。

Q1. "適応メディア処理が行き詰ったらどうなる?"
通常はシームレスに処理が行われ、実行にかかる時間は画像の数に依存します。 プロセスが動かなくなる原因は、画像が破損しているからです。

アダプティブ・メディア・イシュー01.png

コンソールで見ることができるかもしれません。

2018-11-23 22:35:03.583 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:166] Unable to execute background task
java.io.IOException: Unsupported image type
	at com.liferay.adaptive.media.image.internal.util.RenderedImageUtil.readImage(RenderedImageUtil.java:82)
	at com.liferay.adaptive.media.image.internal.processor.util.TiffOrientationTransformer._transform(TiffOrientationTransformer.java:96)
	at com.liferay.adaptive.media.image.internal.processor.util.TiffOrientationTransformer.transform(TiffOrientationTransformer.java:52)
	at com.liferay.adaptive.media.image.internal.scaler.AMDefaultImageScaler.scaleImage(AMDefaultImageScaler.java:54)
	at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:123)

決議

  1. 破損したファイルを識別するのに役立つデバッグパッチを作成し、展開します。 いつでも ヘルプセンター のチケットを開くことができます。
  2. デバッグパッチはコンソールにこのように表示されるはずです。

    2018-12-04 22:37:39.196 DEBUG [liferay/background_task-1][DLAMImageOptimizer:183] DLFileEntry : Uui=[125ebb69-e71c-1240-8fef-6e982a035832] FileEntryId=[8632600] GroupI=[20143] CompanyId=[20116] UserId=[2661137] UserName=[xxx yyyy] RepositoryId=[20143] TreePath=[/] Name=[11333] FileName=[dnn.JPG] Extension=[jpg] MimeType=[image/jpeg] Title=[dnn.JPG] Descriptio=[] Version=[1.0] Size=[4056523]


    この例では、破損したファイルは dnn.jpgであることが示されています。

  3. パッチで破損したファイルを特定したら、ドキュメントとメディアのリポジトリから破損したファイルを削除します。
  4. ファイルを修復または置換してから、ドキュメントとメディアのリポジトリに再度アップロードします。
  5. コントロールパネル → 設定 → アダプティブメディアに移動します。
  6. 3ドットアイコンをクリック → 残りのを適応 .

この時点で、処理は新しい画像を変換し、解像度のルールに従ってレンダリングします。

Did this article resolve your issue ?

Legacy Knowledge Base