Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-3903

Unable to set cache config property: NumberFormatException for caches.backupCount

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Cloud 43
    • Component/s: Cloud Deploy
    • Labels:
      None
    • Environment:
      Cloud (Alfresco Cloud v5.1.0 (Cloud r100581-b1123) schema 9003) rel40rc3 on Dp

      Description

      alfresco.log contains a lot of errors during Alfresco starting.
      The following environemnt has been created:
      Cloud (Alfresco Cloud v5.1.0 (Cloud r100581-b1123) schema 9003) rel40rc3 on Dp;

      alfresco.log contains:

      2015-03-31 13:28:03,484 ERROR [org.alfresco.enterprise.repo.cluster.cache.ClusterAwareCacheFactory] Unable to set cache config property: cache name=cache.tenantEntitySharedCache, property=backup-count, value=${caches.backupCount}
      java.lang.NumberFormatException: For input string: "${caches.backupCount}"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
              at java.lang.Integer.parseInt(Integer.java:481)
              at java.lang.Integer.valueOf(Integer.java:582)
              at org.alfresco.enterprise.repo.cluster.cache.ClusterAwareCacheFactory.applyPropertyConfig(ClusterAwareCacheFactory.java:231)
              at org.alfresco.enterprise.repo.cluster.cache.ClusterAwareCacheFactory.createClusteredCache(ClusterAwareCacheFactory.java:167)
              at org.alfresco.enterprise.repo.cluster.cache.ClusterAwareCacheFactory.createDistributedCache(ClusterAwareCacheFactory.java:86)
              at org.alfresco.enterprise.repo.cluster.cache.ClusterAwareCacheFactory.createCache(ClusterAwareCacheFactory.java:66)
              at org.alfresco.enterprise.repo.cluster.core.ClusteredObjectProxyFactory$CacheProxyInvoker.createNewObject(ClusteredObjectProxyFactory.java:220)
              at org.alfresco.enterprise.repo.cluster.core.ClusteredObjectProxyFactory$CacheProxyInvoker.createNewObject(ClusteredObjectProxyFactory.java:200)
              at org.alfresco.enterprise.repo.cluster.core.ClusteredObjectProxyFactory$AbstractClusteredObjectProxyInvoker.upgradeBackingObject(ClusteredObjectProxyFactory.java:318)
              at org.alfresco.enterprise.repo.cluster.core.ClusteredObjectProxyFactory$CacheProxyInvoker.upgradeBackingObject(ClusteredObjectProxyFactory.java:200)
              at org.alfresco.enterprise.repo.cluster.core.ClusteredObjectProxyFactory.upgradeCaches(ClusteredObjectProxyFactory.java:104)
              at org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap.upgradeClusterObjects(ClusteringBootstrap.java:132)
              at org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap.bootstrapWork(ClusteringBootstrap.java:123)
              at org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap$1.execute(ClusteringBootstrap.java:65)
              at org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap$1.execute(ClusteringBootstrap.java:61)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
              at org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap$2.doWork(ClusteringBootstrap.java:74)
              at org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap$2.doWork(ClusteringBootstrap.java:71)
              at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
              at org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap.onBootstrap(ClusteringBootstrap.java:70)
              at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
              at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
              at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
              at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
              at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)
              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
              at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
              at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
              at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
              at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      
      

      it's not reproduced for myalfrescoHEAD-5.0-1093

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                dyukhnovets Dmitry Yukhnovets [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 5 hours
                  2d 5h

                    Structure Helper Panel