Alfresco
  1. Alfresco
  2. ALF-9981

Impossible to start an schedule action

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4.d Community
    • Fix Version/s: 4.0 Enterprise
    • Component/s: Rules and Actions
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      RHEL 5.6/ Mysql bundle

      Description

      Hello,

      I can't start scheduled actions...

      2011-08-22 09:30:00,171 ERROR [org.quartz.core.JobRunShell] Job jobGroup.jobD threw an unhandled Exception:
      org.alfresco.error.AlfrescoRuntimeException: 07220001 Invalid store ref: Does not contain :// //SpacesStore', 'lucene', 'PATH:"/app:company_home/app:dictionary/app:scripts
      at org.alfresco.service.cmr.repository.StoreRef.<init>(StoreRef.java:75)
      at org.alfresco.service.cmr.repository.NodeRef.<init>(NodeRef.java:91)
      at org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter$17.convert(DefaultTypeConverter.java:248)
      at org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter$17.convert(DefaultTypeConverter.java:245)
      at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:114)
      at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:68)
      at org.alfresco.repo.action.scheduled.SimpleTemplateActionDefinition.getAction(SimpleTemplateActionDefinition.java:200)
      at org.alfresco.repo.action.scheduled.CronScheduledQueryBasedTemplateActionDefinition.getAction(CronScheduledQueryBasedTemplateActionDefinition.java:262)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1$2.execute(AbstractScheduledAction.java:564)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:381)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1.runTransactionalAction(AbstractScheduledAction.java:558)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1.doWork(AbstractScheduledAction.java:426)
      at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition.execute(AbstractScheduledAction.java:392)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      2011-08-22 09:30:00,173 ERROR [org.quartz.core.ErrorLogger] Job (jobGroup.jobD threw an exception.
      org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 07220001 Invalid store ref: Does not contain :// //SpacesStore', 'lucene', 'PATH:"/app:company_home/app:dictionary/app:scripts]
      at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      Caused by: org.alfresco.error.AlfrescoRuntimeException: 07220001 Invalid store ref: Does not contain :// //SpacesStore', 'lucene', 'PATH:"/app:company_home/app:dictionary/app:scripts
      at org.alfresco.service.cmr.repository.StoreRef.<init>(StoreRef.java:75)
      at org.alfresco.service.cmr.repository.NodeRef.<init>(NodeRef.java:91)
      at org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter$17.convert(DefaultTypeConverter.java:248)
      at org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter$17.convert(DefaultTypeConverter.java:245)
      at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:114)
      at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:68)
      at org.alfresco.repo.action.scheduled.SimpleTemplateActionDefinition.getAction(SimpleTemplateActionDefinition.java:200)
      at org.alfresco.repo.action.scheduled.CronScheduledQueryBasedTemplateActionDefinition.getAction(CronScheduledQueryBasedTemplateActionDefinition.java:262)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1$2.execute(AbstractScheduledAction.java:564)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:381)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1.runTransactionalAction(AbstractScheduledAction.java:558)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1.doWork(AbstractScheduledAction.java:426)
      at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
      at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition.execute(AbstractScheduledAction.java:392)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
      ... 1 more

      http://forums.alfresco.com/fr/viewtopic.php?f=25&t=5122#p23582
      http://forums.alfresco.com/en/viewtopic.php?f=27&t=40082#p117960

        Issue Links

          Activity

          Hide
          Ravi Manthena added a comment -

          Assigning to Alfresco QA Team for testing
          please use build-00733 or later

          Show
          Ravi Manthena added a comment - Assigning to Alfresco QA Team for testing please use build-00733 or later
          Hide
          Alfresco QA Team added a comment -

          Isn't reproduced on Test - v4.0.0 (c 733), Win7 + Tomcat + PosgreSql .
          New issue was raised - ALF-12125

          Show
          Alfresco QA Team added a comment - Isn't reproduced on Test - v4.0.0 (c 733), Win7 + Tomcat + PosgreSql . New issue was raised - ALF-12125
          Hide
          Tahir Malik added a comment -

          This isn't fixed in Alfresco Enterprise 3.4.6

          Show
          Tahir Malik added a comment - This isn't fixed in Alfresco Enterprise 3.4.6
          Hide
          dward added a comment -

          I have cloned ALF-12132. We will investigate.

          Show
          dward added a comment - I have cloned ALF-12132 . We will investigate.
          Hide
          Charles Le Seac'h added a comment -

          Maybe a trick to test :
          <value>#{"$

          {"}selectSingleNode('workspace://SpacesStore', 'lucene', 'PATH:"/app:company_home/app:dictionary/app:scripts/cm:chapter6_publish_effective_content.js"' )#{"}

          "}</value>

          I didn't verify that script is correctly launched, but the expression injected to SimpleTemplateActionDefinition looks good.

          Show
          Charles Le Seac'h added a comment - Maybe a trick to test : <value>#{"$ {"}selectSingleNode('workspace://SpacesStore', 'lucene', 'PATH:"/app:company_home/app:dictionary/app:scripts/cm:chapter6_publish_effective_content.js"' )#{"} "}</value> I didn't verify that script is correctly launched, but the expression injected to SimpleTemplateActionDefinition looks good.

            People

            • Assignee:
              Closed Issues
              Reporter:
              xsudan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: