Symptom
Got a grey screen after user loggin to Hybris Backoffice on two app nodes and below error thrown in console:
INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | Caused by: de.hybris.platform.media.exceptions.MediaNotFoundException: Media not found (requested media location: hff/h8c/8798760501278.xml) INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at de.hybris.platform.media.storage.impl.LocalFileMediaStorageStrategy.getAsStream(LocalFileMediaStorageStrategy.java:216) ~[coreserver.jar:?] INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at de.hybris.platform.jalo.media.MediaManager$1.getStream(MediaManager.java:155) ~[coreserver.jar:?] INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at de.hybris.platform.jalo.media.MediaManager.getMediaAsStream(MediaManager.java:371) ~[coreserver.jar:?] INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at de.hybris.platform.jalo.media.MediaManager.getMediaAsStream(MediaManager.java:387) ~[coreserver.jar:?] INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at de.hybris.platform.servicelayer.media.impl.DefaultMediaService.getStreamFromMedia(DefaultMediaService.java:267) ~[coreserver.jar:?] INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | ... 121 more INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | Caused by: java.io.FileNotFoundException: D:\hybris\data\media\sys_master\hff\h8c\8798760501278.xml (The system cannot find the path specified) INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_131] INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at java.io.FileInputStream.open(FileInputStream.java:195) ~[?:1.8.0_131] INFO | jvm 1 | srvmain | 2017/08/22 16:54:18.521 | at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:1.8.0_131] |
Meanwhile below configurations are set in local.properties file for all 3 application nodes:
#\\\\app0604\\HybrisDevelopment\\data\\media is FS media Directory which contains all media data from 3 app nodes; D:\\hybris\\data\\media is local media directory for each node.
media.replication.dirs=\\\\app0604\\HybrisDevelopment\\data\\media;D:\\hybris\\data\\media media.replication.dirs=D:\\hybris\\data\\media;\\\\app0604\\HybrisDevelopment\\data\\media |
Read more...
Environment
Hybris Commerce Suite 6.3
Product
Keywords
media, FileNotFoundException, MediaNotFoundException, local media storage strategy, media.replication.dirs, Backoffice , KBA , CEC-SCC-PLA-PL , Platform , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.