We use the Java content delivery API on Tridion 2013SP1 with ObjectCache enabled. When running as a Java web application on Tomcat 7, we notice the Tomcat server will hang on shutdown when we have the RemoteSynchronization section in the configuration.

Removing the RemoteSynchronization from the configuration, or setting ObjectCache/@Enabled to false, will allow Tomcat to shutdown normally. The application calls StorageManagerFactory.closeStorageManagerFactory() prior to servlet container shutdown, but without effect. Tomcat will not shutdown other than if we kill the process. Has anyone overcome experienced this issue, and solved it?

Attached is my config file fragment (cd_storage_conf) :

<ObjectCache Enabled="true">
  <Policy Type="LRU" Class="com.tridion.cache.LRUPolicy">
    <Param Name="MemSize" Value="32mb"/>

    <Feature Type="DependencyTracker" Class="com.tridion.cache.DependencyTracker"/>

  <RemoteSynchronization Queuesize="2000" ServiceMonitorInterval="10000"
    <Connector Class="com.tridion.cache.JMSCacheChannelConnector" Topic="Tridion">
        <Property Name="java.naming.factory.initial"
        <Property Name="java.naming.provider.url"
        <Property Name="topic.Tridion" Value="${jms.topic}"/>
        <Property Name="userName" Value="${jms.user}"/>
        <Property Name="password" Value="${jms.password}"/>
  • Hi Kees.. Welcome to Tridion stack exchange, and thanks for asking a good question. I've edited it a bit - among other things to make the XML easier to read. I had to add a closing tag to your Features element, so perhaps you should just check that the XML in your storage conf is well-formed/valid, and if not, fix it and re-test. – Dominic Cronin May 26 '16 at 7:21
  • Hi Dominic, thank you. My XML is well defined, and all works well except shutting down the application server. – Kees van den Hoek May 27 '16 at 8:00
  • Good - it was worth checking, though. – Dominic Cronin May 27 '16 at 8:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.