{"id":9003,"date":"2016-10-25T07:00:56","date_gmt":"2016-10-25T05:00:56","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/"},"modified":"2016-10-25T07:00:56","modified_gmt":"2016-10-25T05:00:56","slug":"documentum-story-thumbnail-server-not-starting-if-docbases-are-down","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/","title":{"rendered":"Documentum story &#8211; Thumbnail Server not starting if docbases are down"},"content":{"rendered":"<p>In this blog, I will talk about the Thumbnail Server. It&#8217;s a component of Documentum that you can install on the Content Server to generate&#8230; thumbnails! Basically what it does is that it will work in correlation with the ADTS\/CTS in order to generate different kinds of previews of your document. For example jpeg_lres (low resolution) or jpeg_story (StoryBoard). You can define how many previews you want per document (1 preview per page, only the first page, aso&#8230;) and of which type. Then D2 can use these previews in a widget for the end-users to see what the document looks like. Apparently with D2 4.6, the Thumbnail Server and ADTS\/CTS aren&#8217;t needed anymore to generate thumbnails but it was the case for D2 4.5 and previous versions.<\/p>\n<p>&nbsp;<\/p>\n<p>That&#8217;s my first blog related to the Thumbnail Server because that&#8217;s actually a (the?) component of Documentum that is working pretty well without much issue so I absolutely wanted to explain the issue I faced and what has been done to solve that.<\/p>\n<p>&nbsp;<\/p>\n<p>So let&#8217;s start with some background: I was working on a project where the TEST and PROD environments contain only one docbase (DOCBASE1) in addition to the Global Registry. In the DEV environment, there were three docbases for development purposes but the additional two (DOCBASE2 and DOCBASE3) were stopped for a few days because we were running a lot of Performance Tests with EMC and we wanted the results to reflect the TEST\/PROD environments. At this point, the Thumbnail Server was working properly, previews were generated successfully, aso&#8230; Then to apply a change related to the Performance Tests, we had to restart the whole Content Server, including the Thumbnail Server since it has been installed on all Content Servers (HA environment). The change wasn&#8217;t related to the Thumbnail Server at all but we discovered a small bug because of this: after the restart, the Thumbnail Server wasn&#8217;t working anymore. Just like the JMS\/ACS, there is a way to very quickly know if the Thumbnail Server is up &amp; running or not and that can be checked by entering the following URL in a web browser: http(s):\/\/content_server_01:port\/thumbsrv\/getThumbnail?<\/p>\n<p>&nbsp;<\/p>\n<p>In our case, this URL wasn&#8217;t working anymore after the restart while it was working properly before and therefore I had to look at the Thumbnail log file. One important thing to note here is that the Thumbnail Server is bundled with Tomcat. For those of you who are used to work with Tomcat, your first reaction might be to open the file $TOMCAT_HOME\/logs\/catalina.out. For the Thumbnail, this would be the file: $DM_HOME\/thumbsrv\/container\/logs\/catalina.out. That&#8217;s what I did&#8230; But there were absolutely no useful information because only the Tomcat initialization is displayed in this file by default. The actual useful information for the Thumbnail Server are stored in the localhost log file&#8230; That&#8217;s the file I&#8217;m usually completely ignoring because there is less inside it than in the catalina.out file but apparently EMC took a difference approach!<\/p>\n<p>&nbsp;<\/p>\n<p>So let&#8217;s take a look at what the log file is providing:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1; highlight: [34,47,51,68,126]\">May 04, 2016 2:07:08 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_T_INIT_RESOURCES] Initialized resource strings\nMay 04, 2016 2:07:08 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Loaded Manifest entries from $DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/WEB-INF\/lib\/thumbsrv.jar\nMay 04, 2016 2:07:08 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail:\n        Initializing Documentum Thumbnail Server 7.2.0000 , build: 0154\n        Created on\n        debug             = false\n        ticket_timeout    = 300\n        application path  = $DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/\nMay 04, 2016 2:07:08 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Read path to configuration file: $DOCUMENTUM\/product\/7.2\/thumbsrv\/conf\/user.dat\nMay 04, 2016 2:07:08 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Initializing Storage Area Manager...\nMay 04, 2016 2:07:17 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Initializing Connection Manager...\nMay 04, 2016 2:07:17 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_T_INIT_STORAGE_AREA_MGR] Initialized storage area manager\nMay 04, 2016 2:07:17 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Initializing crypto classes, key file at $DOCUMENTUM\/dba\/secure\/aek.key\nMay 04, 2016 2:07:17 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE2\nMay 04, 2016 2:07:23 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE2\nMay 04, 2016 2:07:30 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE2\n  ...\nMay 04, 2016 2:10:05 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE2\nMay 04, 2016 2:10:11 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE2\nMay 04, 2016 2:10:17 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: initDefaultThumbnailsFromRepository: DOCBASE2 - 0.0\nMay 04, 2016 2:10:18 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE3\nMay 04, 2016 2:10:24 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE3\nMay 04, 2016 2:10:30 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE3\n  ...\nMay 04, 2016 2:13:06 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE3\nMay 04, 2016 2:13:12 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [WARN] getRepositoryVersion cannot find the repository - DOCBASE3\nMay 04, 2016 2:13:18 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: initDefaultThumbnailsFromRepository: DOCBASE3 - 0.0\nMay 04, 2016 2:13:19 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: getRepositoryVersion: DOCBASE1 - 1666666 - 7.2.0050.0214  Linux64.Oracle\nMay 04, 2016 2:13:19 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: initDefaultThumbnailsFromRepository: DOCBASE1 - 7.2\nMay 04, 2016 2:13:20 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: createDefaultThumnailsInRespoitory: repo=\/System\/ThumbnailServer\/thumbnails, local=$DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/thumbnails\nMay 04, 2016 2:13:22 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: createDefaultThumnailsInRespoitory: repo=\/System\/ThumbnailServer\/thumbnails\/formats, local=$DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/thumbnails\/formats\nMay 04, 2016 2:13:22 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: createDefaultThumnailsInRespoitory: repo=\/System\/ThumbnailServer\/thumbnails\/types, local=$DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/thumbnails\/types\nMay 04, 2016 2:13:26 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: checkRuleVersion: the default thumbnail rule version - 6.0.0.101\nMay 04, 2016 2:13:26 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: initRepositoryRules: repoitory=DOCBASE1, id=1666666\nMay 04, 2016 2:13:34 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_T_INIT_DEF_THUMB_MGR] Initialized default thumbnails manager\nMay 04, 2016 2:13:34 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Failed to get a session for DOCBASE2: DfNoServersException:: THREAD: pool-2-thread-1; MSG: [DM_DOCBROKER_E_NO_SERVERS_FOR_DOCBASE]error:  \"The DocBroker running on host (content_server_01:1489) does not know of a server for the specified docbase (DOCBASE2)\"; ERRORCODE: 100; NEXT: null\nMay 04, 2016 2:13:34 PM org.apache.catalina.core.ApplicationContext log\nSEVERE: getThumbnail: [DM_TS_E_INIT_FORMATS_MGR] Falied to initialize formats.\nDfNoServersException:: THREAD: pool-2-thread-1; MSG: [DM_DOCBROKER_E_NO_SERVERS_FOR_DOCBASE]error:  \"The DocBroker running on host (content_server_01:1489) does not know of a server for the specified docbase (DOCBASE2)\"; ERRORCODE: 100; NEXT: null\n        at com.documentum.fc.client.impl.docbroker.ServerMapBuilder.__AW_getDataFromDocbroker(ServerMapBuilder.java:171)\n        at com.documentum.fc.client.impl.docbroker.ServerMapBuilder.getDataFromDocbroker(ServerMapBuilder.java)\n        at com.documentum.fc.client.impl.docbroker.ServerMapBuilder.__AW_getMap(ServerMapBuilder.java:60)\n        at com.documentum.fc.client.impl.docbroker.ServerMapBuilder.getMap(ServerMapBuilder.java)\n        at com.documentum.fc.client.impl.docbroker.DocbrokerClient.getServerMap(DocbrokerClient.java:152)\n        at com.documentum.fc.client.impl.connection.docbase.ServerChoiceManager.__AW_updateServerChoices(ServerChoiceManager.java:159)\n        at com.documentum.fc.client.impl.connection.docbase.ServerChoiceManager.updateServerChoices(ServerChoiceManager.java)\n        at com.documentum.fc.client.impl.connection.docbase.ServerChoiceManager.updateServerChoicesIfNecessary(ServerChoiceManager.java:148)\n        at com.documentum.fc.client.impl.connection.docbase.ServerChoiceManager.getServerChoices(ServerChoiceManager.java:47)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.getServerChoices(DocbaseConnection.java:273)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.__AW_establishNewRpcClient(DocbaseConnection.java:227)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.establishNewRpcClient(DocbaseConnection.java)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.__AW_open(DocbaseConnection.java:126)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.open(DocbaseConnection.java)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.&lt;init&gt;(DocbaseConnection.java:100)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.&lt;init&gt;(DocbaseConnection.java:60)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionFactory.newDocbaseConnection(DocbaseConnectionFactory.java:26)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionManager.createNewConnection(DocbaseConnectionManager.java:180)\n        at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionManager.getDocbaseConnection(DocbaseConnectionManager.java:110)\n        at com.documentum.fc.client.impl.session.SessionFactory.newSession(SessionFactory.java:23)\n        at com.documentum.fc.client.impl.session.PrincipalAwareSessionFactory.newSession(PrincipalAwareSessionFactory.java:44)\n        at com.documentum.fc.client.impl.session.PooledSessionFactory.__AW_newSession(PooledSessionFactory.java:49)\n        at com.documentum.fc.client.impl.session.PooledSessionFactory.newSession(PooledSessionFactory.java)\n        at com.documentum.fc.client.impl.session.SessionManager.getSessionFromFactory(SessionManager.java:134)\n        at com.documentum.fc.client.impl.session.SessionManager.newSession(SessionManager.java:72)\n        at com.documentum.fc.client.impl.session.SessionManager.getSession(SessionManager.java:191)\n        at com.documentum.thumbsrv.docbase.DocbaseConnectionMgr.getSessionForSection(DocbaseConnectionMgr.java:197)\n        at com.documentum.thumbsrv.docbase.FormatMapperMgr.__AW_loadFormatsFromRepositories(FormatMapperMgr.java:95)\n        at com.documentum.thumbsrv.docbase.FormatMapperMgr.loadFormatsFromRepositories(FormatMapperMgr.java)\n        at com.documentum.thumbsrv.docbase.FormatMapperMgr.&lt;init&gt;(FormatMapperMgr.java:62)\n        at com.documentum.thumbsrv.getThumbnail.__AW_init(getThumbnail.java:214)\n        at com.documentum.thumbsrv.getThumbnail.init(getThumbnail.java)\n        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)\n        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)\n        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)\n        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)\n        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)\n        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)\n        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)\n        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)\n        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)\n        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)\n        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n        at java.util.concurrent.FutureTask.__AW_run(FutureTask.java:262)\n        at java.util.concurrent.FutureTask.run(FutureTask.java)\n        at java.util.concurrent.ThreadPoolExecutor.__AW_runWorker(ThreadPoolExecutor.java:1145)\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java)\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n        at java.lang.Thread.run(Thread.java:745)\n \nMay 04, 2016 2:13:34 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_E_INIT_FAILED] Failed to initialize Documentum Thumbnail Server\nMay 04, 2016 2:13:34 PM org.apache.catalina.core.ApplicationContext log\nINFO: Marking servlet getThumbnail as unavailable\nMay 04, 2016 2:13:34 PM org.apache.catalina.core.StandardContext loadOnStartup\nSEVERE: Servlet \/thumbsrv threw load() exception\njavax.servlet.UnavailableException: [DM_TS_E_INIT_FAILED] Failed to initialize Documentum Thumbnail Server\n        at com.documentum.thumbsrv.getThumbnail.__AW_init(getThumbnail.java:221)\n        at com.documentum.thumbsrv.getThumbnail.init(getThumbnail.java)\n        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)\n        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)\n        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)\n        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)\n        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)\n        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)\n        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)\n        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)\n        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)\n        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)\n        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n        at java.util.concurrent.FutureTask.__AW_run(FutureTask.java:262)\n        at java.util.concurrent.FutureTask.run(FutureTask.java)\n        at java.util.concurrent.ThreadPoolExecutor.__AW_runWorker(ThreadPoolExecutor.java:1145)\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java)\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n        at java.lang.Thread.run(Thread.java:745)\n \n\nMay 04, 2016 2:17:16 PM org.apache.catalina.core.StandardWrapperValve invoke\nINFO: Servlet getThumbnail is currently unavailable\nMay 04, 2016 2:22:16 PM org.apache.catalina.core.StandardWrapperValve invoke\nINFO: Servlet getThumbnail is currently unavailable\nMay 04, 2016 2:27:16 PM org.apache.catalina.core.StandardWrapperValve invoke\nINFO: Servlet getThumbnail is currently unavailable\nMay 04, 2016 2:32:16 PM org.apache.catalina.core.StandardWrapperValve invoke\nINFO: Servlet getThumbnail is currently unavailable\nMay 04, 2016 2:37:16 PM org.apache.catalina.core.StandardWrapperValve invoke\nINFO: Servlet getThumbnail is currently unavailable\nMay 04, 2016 2:42:16 PM org.apache.catalina.core.StandardWrapperValve invoke\nINFO: Servlet getThumbnail is currently unavailable\nMay 04, 2016 2:47:16 PM org.apache.catalina.core.StandardWrapperValve invoke\nINFO: Servlet getThumbnail is currently unavailable<\/pre>\n<p>&nbsp;<\/p>\n<p>Ok that&#8217;s quite a long trace and I already cut some parts because it was really too long. As you can see above, the very beginning of the startup is going on properly and then the Thumbnail Server is trying to contact the DOCBASE2. Hum why exactly is it trying to contact the DOCBASE2 while this docbase isn&#8217;t running? That&#8217;s a first strange thing. Then I cut a lot of lines but you can see that it is actually trying to do that for 3 minutes and it is not doing anything else during that time. Once the three minutes are over, it is trying to contact the DOCBASE3 for 3 minutes too (and failed again) and finally it contacted the DOCBASE1 which was the only docbase running at that time. This last one succeeded so the Thumbnail Server should have started properly&#8230; But actually it couldn&#8217;t because the first docbase that it tried fail (DOCBASE2) and that&#8217;s the docbase that will be used by the Thumbnail Server to open a session to retrieve some information.<\/p>\n<p>&nbsp;<\/p>\n<p>So I did more tests to try to understand where the issue was and what could be done to solve that. First of all, the important thing to understand here is that the Thumbnail Server isn&#8217;t trying to contact all docbases ever installed on this Content Server. It will only try to contact the docbases that have been configured for it. To be more precise, the configuration of a docbase for the Thumbnail Server will update the file user.dat ($DM_HOME\/thumbsrv\/conf\/user.dat) and add inside it the configuration for this specific docbase. When the Thumbnail Server will start, it will parse this file and see which docbases should be contacted during the startup.<\/p>\n<p>&nbsp;<\/p>\n<p>Therefore my first test was to simply comment all lines related to DOCBASE2 and DOCBASE3 and then restart the Thumbnail Server. This is what I got:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1; highlight: [39]\">May 04, 2016 3:23:32 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_T_INIT_RESOURCES] Initialized resource strings\nMay 04, 2016 3:23:32 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Loaded Manifest entries from $DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/WEB-INF\/lib\/thumbsrv.jar\nMay 04, 2016 3:23:32 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail:\n        Initializing Documentum Thumbnail Server 7.2.0000 , build: 0154\n        Created on\n        debug             = false\n        ticket_timeout    = 300\n        application path  = $DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/\nMay 04, 2016 3:23:32 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Read path to configuration file: $DOCUMENTUM\/product\/7.2\/thumbsrv\/conf\/user.dat\nMay 04, 2016 3:23:32 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Initializing Storage Area Manager...\nMay 04, 2016 3:23:40 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Initializing Connection Manager...\nMay 04, 2016 3:23:40 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_T_INIT_STORAGE_AREA_MGR] Initialized storage area manager\nMay 04, 2016 3:23:40 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: Initializing crypto classes, key file at $DOCUMENTUM\/dba\/secure\/aek.key\nMay 04, 2016 3:23:40 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: getRepositoryVersion: DOCBASE1 - 1666666 - 7.2.0050.0214  Linux64.Oracle\nMay 04, 2016 3:23:40 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: initDefaultThumbnailsFromRepository: DOCBASE1 - 7.2\nMay 04, 2016 3:23:41 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: createDefaultThumnailsInRespoitory: repo=\/System\/ThumbnailServer\/thumbnails, local=$DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/thumbnails\nMay 04, 2016 3:23:43 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: createDefaultThumnailsInRespoitory: repo=\/System\/ThumbnailServer\/thumbnails\/formats, local=$DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/thumbnails\/formats\nMay 04, 2016 3:23:43 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: createDefaultThumnailsInRespoitory: repo=\/System\/ThumbnailServer\/thumbnails\/types, local=$DOCUMENTUM\/product\/7.2\/thumbsrv\/container\/webapps\/thumbsrv\/thumbnails\/types\nMay 04, 2016 3:23:47 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: checkRuleVersion: the default thumbnail rule version - 6.0.0.101\nMay 04, 2016 3:23:47 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: initRepositoryRules: repoitory=DOCBASE1, id=1666666\nMay 04, 2016 3:23:54 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_T_INIT_DEF_THUMB_MGR] Initialized default thumbnails manager\nMay 04, 2016 3:23:54 PM org.apache.catalina.core.ApplicationContext log\nINFO: getThumbnail: [DM_TS_T_INIT_COMPLETE] Documentum Thumbnail Server initialization complete!<\/pre>\n<p>&nbsp;<\/p>\n<p>As you can see, the content is exactly the same except that the Thumbnail Server is now only contacting the DOCBASE1 (successfully again) but this time, the Thumbnail Server is up &amp; running properly. Therefore commenting the lines in the file user.dat solved this issue&#8230; But that&#8217;s not enough. For me, this was clearly a bug and therefore I did more tests.<\/p>\n<p>&nbsp;<\/p>\n<p>For the next test, I restored the lines related to DOCBASE2 and DOCBASE3 in the file user.dat and I tried to change the order of the lines inside this file&#8230; Because DOCBASE1 was the first docbase in this file, DOCBASE2 the second and DOCBASE3 the last one. So I thought that maybe the second docbase was the first to be initialized? And if the first docbase to be initialized (2nd in the file?) is responding, will the Thumbnail Server work?<\/p>\n<p>&nbsp;<\/p>\n<p>Therefore I changed the order:<\/p>\n<ul>\n<li>Switching DOCBASE1 in second position, DOCBASE2 in first position, DOCBASE3 still in last =&gt; Not working, same issue, DOCBASE2 is the first to be initialised<\/li>\n<li>Switching DOCBASE1 in second position, DOCBASE2 in last position, DOCBASE3 in first position =&gt; Not working, same issue, DOCBASE3 is the first to be initialised<\/li>\n<li>&#8230;<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>This test wasn&#8217;t successful because there is absolutely no logic behind which docbase will be initialized first&#8230; Therefore I restored the initial values (1 in first, 2 in second, 3 in last) and I performed a last test: stopping the DOCBASE1 and starting the DOCBASE2 so that there is still one docbase to be running which would be the first to be initialized. After doing that, I restarted a last time the Thumbnail Server and the first docbase to be initialized was indeed the DOCBASE2, which was running. Then it tried to initialise the DOCBASE1 and DOCBASE3 which weren&#8217;t running and therefore it failed. BUT in the end, the Thumbnail Server was able to start properly, even if it took 6 minutes + ~20 seconds instead of 20 seconds to start.<\/p>\n<p>&nbsp;<\/p>\n<p>With all these results, I opened a Service Request on the EMC website and they were able to find the root cause for both issues (why it is looping for 3 minutes on nothing and why it is sometimes not able to start when one docbase is properly responding). In the end, they provided us a hotfix that has been incorporated in newer versions of the software normally and this hotfix fixed both issues properly.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, I will talk about the Thumbnail Server. It&#8217;s a component of Documentum that you can install on the Content Server to generate&#8230; thumbnails! Basically what it does is that it will work in correlation with the ADTS\/CTS in order to generate different kinds of previews of your document. For example jpeg_lres (low [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[525],"tags":[129,583,945],"type_dbi":[],"class_list":["post-9003","post","type-post","status-publish","format-standard","hentry","category-enterprise-content-management","tag-documentum","tag-thumbnail","tag-thumbnail-server"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Documentum story - Thumbnail Server not starting if docbases are down - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Documentum story - Thumbnail Server not starting if docbases are down\" \/>\n<meta property=\"og:description\" content=\"In this blog, I will talk about the Thumbnail Server. It&#8217;s a component of Documentum that you can install on the Content Server to generate&#8230; thumbnails! Basically what it does is that it will work in correlation with the ADTS\/CTS in order to generate different kinds of previews of your document. For example jpeg_lres (low [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-25T05:00:56+00:00\" \/>\n<meta name=\"author\" content=\"Morgan Patou\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MorganPatou\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Morgan Patou\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/\"},\"author\":{\"name\":\"Morgan Patou\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"headline\":\"Documentum story &#8211; Thumbnail Server not starting if docbases are down\",\"datePublished\":\"2016-10-25T05:00:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/\"},\"wordCount\":1283,\"commentCount\":0,\"keywords\":[\"Documentum\",\"Thumbnail\",\"Thumbnail Server\"],\"articleSection\":[\"Enterprise content management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/\",\"name\":\"Documentum story - Thumbnail Server not starting if docbases are down - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2016-10-25T05:00:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentum story &#8211; Thumbnail Server not starting if docbases are down\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\",\"name\":\"Morgan Patou\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"caption\":\"Morgan Patou\"},\"description\":\"Morgan Patou has over 12 years of experience in Enterprise Content Management (ECM) systems, with a strong focus in recent years on platforms such as Alfresco, Documentum, and M-Files. He specializes in the architecture, setup, customization, and maintenance of ECM infrastructures in complex &amp; critical environments. Morgan is well-versed in both engineering and operations aspects, including high availability design, system integration, and lifecycle management. He also has a solid foundation in open-source and proprietary technologies - ranging from Apache, OpenLDAP or Kerberos to enterprise-grade systems like WebLogic. Morgan Patou holds an Engineering Degree in Computer Science from ENSISA (\u00c9cole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse, France. He is Alfresco Content Services Certified Administrator (ACSCA), Alfresco Content Services Certified Engineer (ACSCE) as well as OpenText Documentum Certified Administrator. His industry experience spans the Public Sector, IT Services, Financial Services\/Banking, and the Pharmaceutical industry.\",\"sameAs\":[\"https:\/\/blog.dbi-services.com\/author\/morgan-patou\/\",\"https:\/\/x.com\/MorganPatou\"],\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/morgan-patou\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Documentum story - Thumbnail Server not starting if docbases are down - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/","og_locale":"en_US","og_type":"article","og_title":"Documentum story - Thumbnail Server not starting if docbases are down","og_description":"In this blog, I will talk about the Thumbnail Server. It&#8217;s a component of Documentum that you can install on the Content Server to generate&#8230; thumbnails! Basically what it does is that it will work in correlation with the ADTS\/CTS in order to generate different kinds of previews of your document. For example jpeg_lres (low [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/","og_site_name":"dbi Blog","article_published_time":"2016-10-25T05:00:56+00:00","author":"Morgan Patou","twitter_card":"summary_large_image","twitter_creator":"@MorganPatou","twitter_misc":{"Written by":"Morgan Patou","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/"},"author":{"name":"Morgan Patou","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"headline":"Documentum story &#8211; Thumbnail Server not starting if docbases are down","datePublished":"2016-10-25T05:00:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/"},"wordCount":1283,"commentCount":0,"keywords":["Documentum","Thumbnail","Thumbnail Server"],"articleSection":["Enterprise content management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/","url":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/","name":"Documentum story - Thumbnail Server not starting if docbases are down - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2016-10-25T05:00:56+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-thumbnail-server-not-starting-if-docbases-are-down\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Documentum story &#8211; Thumbnail Server not starting if docbases are down"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8","name":"Morgan Patou","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","caption":"Morgan Patou"},"description":"Morgan Patou has over 12 years of experience in Enterprise Content Management (ECM) systems, with a strong focus in recent years on platforms such as Alfresco, Documentum, and M-Files. He specializes in the architecture, setup, customization, and maintenance of ECM infrastructures in complex &amp; critical environments. Morgan is well-versed in both engineering and operations aspects, including high availability design, system integration, and lifecycle management. He also has a solid foundation in open-source and proprietary technologies - ranging from Apache, OpenLDAP or Kerberos to enterprise-grade systems like WebLogic. Morgan Patou holds an Engineering Degree in Computer Science from ENSISA (\u00c9cole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse, France. He is Alfresco Content Services Certified Administrator (ACSCA), Alfresco Content Services Certified Engineer (ACSCE) as well as OpenText Documentum Certified Administrator. His industry experience spans the Public Sector, IT Services, Financial Services\/Banking, and the Pharmaceutical industry.","sameAs":["https:\/\/blog.dbi-services.com\/author\/morgan-patou\/","https:\/\/x.com\/MorganPatou"],"url":"https:\/\/www.dbi-services.com\/blog\/author\/morgan-patou\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9003"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9003\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9003"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=9003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}