Troubleshooting thumbnail generation

The thumbnail generation tool generates extensive log messages. If an error or exception occurs during thumbnail generation, you can examine the trace.log that the generateFromSeedList script generates to determine possible causes.

trace.log location

You can find trace.log in the following location: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/Cluster1_server1/trace.log

Troubleshooting

If you cannot see thumbnails for files that have been processed, take the following steps to check if thumbnails exist:
  • Look in trace.log. The log should contain IDs of all files processed by the thumbnail generation script. It should also indicate whether an event was successfully created for each file or not.

    Example:

    
    [10/15/14 14:59:23:959 EDT] 0000006a CrawlerImpl 2 Generating crawler event for media D6386A8E-2960-4B3A-AF1C-2834E231F08A
    [10/15/14 14:59:23:959 EDT] 0000006a DocsCrawlerEv 2 storageRoot = /nfs/viewer_data/ccm_preview
    [10/15/14 14:59:23:962 EDT] 0000006a DocsCrawlerEv 1 directory = /nfs/viewer_data/ccm_preview/62/177/idd_D6386A8E-2960-4B3A-AF1C-2834E231F08A@ICObjectStore
    [10/15/14 14:59:23:962 EDT] 0000006a DocsCrawlerEv I CLFWY0853I: DocsCrawlerEventVetoListener is  allowing event on [fileId=D6386A8E-2960-4B3A-AF1C-2834E231F08A ,  
    fileTitle=black-belle-ringlets.jpg, libraryId=EBA06B79-46F2-4879-AE76-353D61D31ED1] because directory /nfs/viewer_data/ccm_preview/62/177/
    idd_D6386A8E-2960-4B3A-AF1C-2834E231F08A@ICObjectStore does not exist
    [10/15/14 14:59:23:985 EDT] 0000006a DefaultEvent > com.ibm.lconn.events.internal.object.DefaultEvent DefaultEvent ENTRY  
    EXTERNAL UPDATE PRIVATE ecm_files.add.file.ecm.file.added.to.teamspace
    [10/15/14 14:59:23:986 EDT] 0000006a DocsAsyncCraw 1 Created uploadEvent:ID is: 4e2c89a9-908e-4381-b3ba-c1420d7de1ac
    File name: ecm_files.add.file.ecm.file.added.to.teamspace D6386A8E-2960-4B3A-AF1C-2834E231F08A black-belle-ringlets.jpg
    [10/15/14 14:59:23:986 EDT] 0000006a Events > com.ibm.lconn.events.internal.impl.Events invokeAsync ENTRY 
    com.ibm.lconn.events.internal.object.DefaultEvent@3a2d9c19 false
    [10/15/14 14:59:23:986 EDT] 0000006a AsyncEventInv > com.ibm.lconn.events.internal.invoke.async.AsyncEventInvokerFactory getInvoker ENTRY
    [10/15/14 14:59:23:986 EDT] 0000006a AsyncEventInv < com.ibm.lconn.events.internal.invoke.async.AsyncEventInvokerFactory getInvoker RETURN 
    com.ibm.lconn.events.internal.publish.impl.EJBBasedJMSPublisher@927ac410
    [10/15/14 14:59:23:987 EDT] 0000006a JMSPublisherB > com.ibm.lconn.events.internal.publish.impl.JMSPublisherBean publishEvent ENTRY
    com.ibm.lconn.events.internal.object.DefaultEvent@3a2d9c19 true
    [10/15/14 14:59:23:987 EDT] 0000006a JMSPublisher > com.ibm.lconn.events.internal.publish.impl.JMSPublisher publishEvent ENTRY
    com.ibm.lconn.events.internal.object.DefaultEvent@3a2d9c19 true
    [10/15/14 14:59:23:987 EDT] 0000006a JMSPublisher > com.ibm.lconn.events.internal.publish.impl.JMSPublisher buildTopicName ENTRY
    com.ibm.lconn.events.internal.object.DefaultEvent@3a2d9c19
    [10/15/14 14:59:23:987 EDT] 0000006a ConfigHelper > com.ibm.lconn.events.internal.utils.ConfigHelper useMQ ENTRY
    [10/15/14 14:59:23:987 EDT] 0000006a ConfigHelper < com.ibm.lconn.events.internal.utils.ConfigHelper useMQ RETURN false
    [10/15/14 14:59:23:987 EDT] 0000006a JMSPublisher < com.ibm.lconn.events.internal.publish.impl.JMSPublisher buildTopicName RETURN
    EXTERNAL/UPDATE/ecm_files.add.file.ecm.file.added.to.teamspace
    [10/15/14 14:59:23:987 EDT] 0000006a EventMapUtils > com.ibm.lconn.events.internal.utils.EventMapUtils createMapFromEvent ENTRY
    com.ibm.lconn.events.internal.object.DefaultEvent@3a2d9c19
    [10/15/14 14:59:23:988 EDT] 0000006a EventMapUtils < com.ibm.lconn.events.internal.utils.EventMapUtils createMapFromEvent RETURN 
    Event map for event: 4e2c89a9-908e-4381-b3ba-c1420d7de1ac, ecm_files.add.file.ecm.file.added.to.teamspace
    [10/15/14 14:59:23:988 EDT] 0000006a JMSPublisher 3 com.ibm.lconn.events.internal.publish.impl.JMSPublisher publishEvent
  • If you have events for Connections Content Manager (CCM) enabled, you should see the event logged by the event metrics.

    Example:

    
    ***************Event data***************
    _er_id:
    4e2c89a9-908e-4381-b3ba-c1420d7de1ac
    _er_time: 1413399563985
    _er_original_published_time: null
    _er_source: EXTERNAL
    _er_type: UPDATE
    _er_name: ecm_files.add.file.ecm.file.added.to.teamspace
    _er_scope: PRIVATE
    _er_related_community: null
    _er_actor: null
    _er_actor_name: null
    _er_actor_email: null
    _er_impersonator_extid: null
    _er_properties: {"isMinorUpdate":"true"}