Thumbnail is not visible in Hybris side after Asset Assignment

Hello Expert,

After doing asset assignement I am not ale to see the thumbnail in Hybris side and also if I copy the URL and paste it in browser to check the asset it won't retrieve anything.

Find the screen shot of both the issues. 

Waiting for all your valuable feedback,

Thanks,

Hillin

Comments

  • Hi Hillin,

    Do you know if this certain image has a CMYK colorspace? Java does not support this and throws an exception while trying to render the thumbnails in the Dialog.

    Best,
    James

  • The MediaServlet reported an internal error. To find out more about this error, we need to look at ImConvServlet.log.

     

     

    From: eLink Entry: Discuss Digital Asset Management for SAP Solutions [mailto:damforsap@elinkkc.opentext.com]
    Sent: Dienstag, 1. November 2016 03:45
    To: eLink Recipient
    Subject: Thumbnail is not visible in Hybris side after Asset Assignment

     

    Thumbnail is not visible in Hybris side after Asset Assignment

     

    Posted by Glittus, Hillin On 10/31/2016 10:43 PM

     

     

    Hello Expert,

    After doing asset assignement I am not ale to see the thumbnail in Hybris side and also if I copy the URL and paste it in browser to check the asset it won't retrieve anything.

    Find the screen shot of both the issues. 

    Waiting for all your valuable feedback,

    Thanks,

    Hillin

     


    Attachment Links:

    URL_Hybris_DAM.png (59 KB)

    Thumbnail_Hybris.png (31 KB)


    [To post a comment, use the normal reply function]

    Forum:

    Discuss Digital Asset Management for SAP Solutions

    Content Server:

    Knowledge Center CS16

     

  • Hi James & Michael,

    Thanks for replying.
    @James: so how to check whether the assets are getting rendered properly in Hybris. And I am not able to see the rendition url in browser as well. I am attaching log files and also snap of the rendition error in browser.

    @Michael: I a attaching Imconvserv.log along with this.
    Please assist me with the same

    Also, Wanted to know: The assets in DAM will be having metadata when we do rendering in Hybris will the metadata also goes inside Hybris or only the assets ? 

    Thanks,

    Hillin

  • The ImConvServlet.log is full of error messages that dlls cannot be loaded.

    All dlls are to be found in C:\Workspace\hybris57\bin\platform\tomcat/webapps/ImConvServlet/WEB-INF/lib.

    A few of these are loaded at the beginning, but then most others fail to load:

    2016-11-02 14:43:01,018 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_jp2_.dll

    2016-11-02 14:43:01,023 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_webp_.dll

    2016-11-02 14:43:01,027 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_libxml_.dll

    2016-11-02 14:43:01,029 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_bzlib_.dll

    2016-11-02 14:43:01,032 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_lcms_.dll

    2016-11-02 14:43:01,035 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_jpeg_.dll

    2016-11-02 14:43:01,040 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_openjpeg_.dll

    2016-11-02 14:43:01,043 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_zlib_.dll

    2016-11-02 14:43:01,047 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_ttf_.dll

    2016-11-02 14:43:01,057 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_glib_.dll

    2016-11-02 14:43:01,060 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_lqr_.dll

    2016-11-02 14:43:01,063 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_png_.dll

    2016-11-02 14:43:01,073 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_exr_.dll

    2016-11-02 14:43:01,076 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_tiff_.dll

    2016-11-02 14:43:01,080 INFO localhost-startStop-1 Converter.<clinit>()-loaded CORE_RL_cairo_.dll

    2016-11-02 14:43:01,083 INFO localhost-startStop-1 Converter.<clinit>()-could not load CORE_RL_magick_.dll

    2016-11-02 14:43:01,085 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_cals_.dll

    2016-11-02 14:43:01,088 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_pcl_.dll

    2016-11-02 14:43:01,091 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_cmyk_.dll

    2016-11-02 14:43:01,094 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_dcm_.dll

    2016-11-02 14:43:01,097 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_fits_.dll

    2016-11-02 14:43:01,100 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_dib_.dll

    2016-11-02 14:43:01,103 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_pix_.dll

    2016-11-02 14:43:01,106 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_uil_.dll

    2016-11-02 14:43:01,109 INFO localhost-startStop-1 Converter.<clinit>()-could not load IM_MOD_RL_url_.dll

    This is hard to diagnose, unfortunately, because windows does not tell us the exact cause of the problem.

    First, you should make sure that the dlls are all there.

    The VC10 redistributable should be installed, but I believe that this was done correctly, because the first successfully loaded libraries

    use it already (msvr100.dll).

     

    The next thing that can be done is to call the dependency walker depends.exe on imconv.dll.

    The dependency walker can be downloaded fromhttp://www.dependencywalker.com .

    Unfortunately, the output is difficult to interpret. It reports several errors that can be ignored.

    But it probably reports also the cause of the problem, among garbage errors.

     

    Last, the utility procmon from sysinternals can be tried. The output is again difficult to interpret,

    but sometimes procmon is the only way.

     

    All of this can perhaps be circumvented, at least temporily, if the servlet does not call the ImageMagick convert via JNI,

    using all these dlls, but if it calls convert.exe from IM as a normal program. First you should make sure that ImageMagick

    is installed and works, by calling e.g. “convert some.jpg some.png”. The imconv.dll should be moved out of the way in the WEB-INF/lib,

    e.g. by renaming imconv.dll to imconv.dll.notused. If the imconv.dll is not found,  convert.exe is called instead.  

    For this to succeed, convert.exe must be in the PATH of the hybris system.

    The PATH (as logged by ImConvServlet.log) is currently

    C:\Workspace\hybris57\bin\platform\apache-ant-1.9.1\bin;

    C:\ProgramData\Oracle\Java\javapath;

    C:\Program Files (x86)\Intel\iCLS Client\;

    C:\Program Files\Intel\iCLS Client\;

    C:\Windows\system32;

    C:\Windows;

    C:\Windows\System32\Wbem;

    C:\Windows\System32\WindowsPowerShell\v1.0\;

    C:\Program Files\Intel\WiFi\bin\;

    C:\Program Files\Common Files\Intel\WirelessCommon\;

    C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;

    C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;

    C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;

    C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;

    C:\Program Files (x86)\Google\Google Apps Sync\;

    C:\Program Files (x86)\Google\Google Apps Migration\;

    C:\Program Files (x86)\Skype\Phone\

     

    So you must probably enhance the PATH by the directory in which convert.exe is installed,

    or copy convert.exe into one of the directories, e.g. C:\Workspace\hybris57\bin\platform\apache-ant-1.9.1\bin.

     

    Last, you may try to run the servlet in a tomcat of its own. This is not difficult.

     

    Can it be that you have some security mechanisms applied that prohibit the loading of the DLLs?

    Is there a problem with the memory, because the first few dlls load, but then no more?

     

     

     

     

    From: eLink Entry: Discuss Digital Asset Management for SAP Solutions [mailto:damforsap@elinkkc.opentext.com]
    Sent: Donnerstag, 3. November 2016 05:32
    To: eLink Recipient
    Subject: RE Thumbnail is not visible in Hybris side after Asset Assignment

     

    [Attachments exceeded pre-set size limits. Use the links provided to access]

    RE Thumbnail is not visible in Hybris side after Asset Assignment

     

    Posted by Glittus, Hillin On 11/03/2016 12:27 AM

     

     

    Hi James & Michael,

    Thanks for replying.
    @James: so how to check whether the assets are getting rendered properly in Hybris. And I am not able to see the rendition url in browser as well. I am attaching log files and also snap of the rendition error in browser.

    @Michael: I a attaching Imconvserv.log along with this.
    Please assist me with the same

    Also, Wanted to know: The assets in DAM will be having metadata when we do rendering in Hybris will the metadata also goes inside Hybris or only the assets ? 

    Thanks,

    Hillin

     


    Attachment Links:

    Rendition_Browser.PNG (35 KB)

    ImConvServlet.log (4 MB)


    [To post a comment, use the normal reply function]

    Topic:

    Thumbnail is not visible in Hybris side after Asset Assignment

    Forum:

    Discuss Digital Asset Management for SAP Solutions

    Content Server:

    Knowledge Center CS16

     

  • Dear Michael,

    I'll go through each and every step as you have mentioned and will update the result,

    Really appreciate 

    Thanks,

    Vishwas

  • Hi James & Michael,

    I was able to get through the thumbnail issue but Now i am not able to see asset assignment for WCMS. I am attaching appserver log which has few fatal errors after I ran update on import CMS cockpit. 
    Please let me kow if I have missed anything ? 

    Thanks,

    Hilin

  • What did you do?

    The attached logfile is empty.

    Gruß, Michael

     

    From: eLink Entry: Discuss Digital Asset Management for SAP Solutions [mailto:damforsap@elinkkc.opentext.com]
    Sent: Montag, 7. November 2016 10:27
    To: eLink Recipient
    Subject: RE RE Thumbnail is not visible in Hybris side after Asset Assignment

     

    RE RE Thumbnail is not visible in Hybris side after Asset Assignment

     

    Posted by Glittus, Hillin On 11/07/2016 04:21 AM

     

     

    Hi James & Michael,

    I was able to get through the thumbnail issue but Now i am not able to see asset assignment for WCMS. I am attaching appserver log which has few fatal errors after I ran update on import CMS cockpit. 
    Please let me kow if I have missed anything ? 

    Thanks,

    Hilin

     


    Attachment Links:

    ImConvServlet.log (0 KB)


    [To post a comment, use the normal reply function]

    Topic:

    Thumbnail is not visible in Hybris side after Asset Assignment

    Forum:

    Discuss Digital Asset Management for SAP Solutions

    Content Server:

    Knowledge Center CS16

     

  • Hi Michael,

    I just added these two lines in index.zul file and i imported using Impex Web UI. And did reset personalized settings. 

    And then i edited a web page in CMS cockpit and clicked on [...] I am not able to see asset assignment window. Instead I see "Create/add item - search" dialog box. Also no logs are getting genereated in imconvserv.log files but console logs are getting genereated. 

    Thanks a lot Michael,

    Hilin

  • Last week you sent a ImConvServlet.log that contained many error messages that modules could not be loaded.

    I made some suggestions.

    Today you say that “you were able to get through the thumbnail issue”, and attached an empty ImConvServlet.log.

    I asked you what you did, and I meant the dll load issue. Are the many “cannot load ….dll”-messages now gone?

    You  “answered” by bringing up a completely different issue.

    You say you added “these two lines” to index.zul. Which two lines?

    And what do you mean with “no logs are getting generated in imconvservlet.log”? Is the servlet started at all?

    Can you perhaps just send a non-empty logfile?

     

    I can only help with media servlet (ImConvServlet) issues, but I will forward other topics to colleagues.

    Unfortunately, some of them are currently ill or on holidays or just to lunch. Will respond later on CMS Cockpit issue.

     

    Gruß, Michael

     

     

  • Regarding your CMS cockpit problem: My colleague Andreas sent the following excerpt from the hybris extensions installation guide:

     

     

    Chapter „2.3 Installing DAMLink hybris extensions” step 12:


    image

    Similar to step 1 of chapter “2.7 Testing the integration”:

     

    image


    image

     

     

    Andreas Siglreithmayr
    Senior System Engineer |  R&D SAP Solutions

    Open Text Software GmbH
    Werner-von-Siemens-Ring 20
    85630 Grasbrunn/München

    Phone:

    +49 (0) 89 4629 - 1173

    Website:

    www.opentext.com

     

    http://mimage.opentext.com/alt_content/binary/images/emailsupport-logo-opentext.gif

    Place of Incorporation / Sitz der Gesellschaft:Open Text Software GmbH, Werner-von-Siemens-Ring 20, 85630 Grasbrunn, Germany | Phone: +49 (0) 89 4629 0 | Fax: +49 (0) 89 4629 1199 |Register Court / Registergericht: München, Germany | Trade Register Number / HRB: 179298 |VAT ID Number /USt-ID: DE 118 656 356 | Managing Director / Geschäftsführer: Gordon Davies, John Doolittle, Roger Illing

    This email message is confidential, may be privileged, and is intended for the exclusive use of the addressee. Any other person is strictly prohibited from disclosing or reproducing it. If the addressee cannot be reached or is unknown to you, please inform the sender by return email and delete this email message and all copies immediately.

     

     

     

    From: eLink Entry: Discuss Digital Asset Management for SAP Solutions [mailto:damforsap@elinkkc.opentext.com]
    Sent: Montag, 7. November 2016 11:32
    To: eLink Recipient
    Subject: RE RE RE RE Thumbnail is not visible in Hybris side after Asset Assignment

     

    RE RE RE RE Thumbnail is not visible in Hybris side after Asset Assignment

     

    Posted by Uhlenberg, Michael On 11/07/2016 05:32 AM

     

     

    Last week you sent a ImConvServlet.log that contained many error messages that modules could not be loaded.

    I made some suggestions.

    Today you say that “you were able to get through the thumbnail issue”, and attached an empty ImConvServlet.log.

    I asked you what you did, and I meant the dll load issue. Are the many “cannot load ….dll”-messages now gone?

    You  “answered” by bringing up a completely different issue.

    You say you added “these two lines” to index.zul. Which two lines?

    And what do you mean with “no logs are getting generated in imconvservlet.log”? Is the servlet started at all?

    Can you perhaps just send a non-empty logfile?

     

    I can only help with media servlet (ImConvServlet) issues, but I will forward other topics to colleagues.

    Unfortunately, some of them are currently ill or on holidays or just to lunch. Will respond later on CMS Cockpit issue.

     

    Gruß, Michael

     

     


    [To post a comment, use the normal reply function]

    Topic:

    Thumbnail is not visible in Hybris side after Asset Assignment

    Forum:

    Discuss Digital Asset Management for SAP Solutions

    Content Server:

    Knowledge Center CS16

     

  • Hi Michael,

    I misunderstood your question completely, Let me clear things:

    1. Yes last time when I had sent ImconvServlet.log had many error messages which as you mentioned stated failed to deploy .dll files. So as you suggested i re deployed the media servelt and after that all the .dll files where loaded succesfully and the thumbnail issue was solved. 

    2. Ok after the thumbnail issue was solved I configured WCMS that's when I realised log files where not getting generated so I cleared the ImConvServelt.log file and re ran the steps again for WCMS but log files where not getting updated. That's how that file was empty.

    3. Yes as already said in step 1 I re deployed media servelt and .dll issue was solved 

    4. As mentioned in guide page number 67 I added these two lines namely:

    "<?script src="/../otmmaddonui/js/opentextotmmaddon.js?v=16.0.0"?>
    <style src="/../otmmaddonui/css/opentextotmmaddon.css?v=16.0.0"/>" for WCMS in Index.zul file.

    Now we are good and even I am able to see asset assignment for WCMS. 

    Really appreciate all your help. 

    Thanks,

    Hillin