AnsweredAssumed Answered

FirstJCRClient

Question asked by king on Oct 9, 2006
I tried running SDKFirstJCRClient using Eclipse and I get the following error:


11:52:01,111 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "C:\DOCUME~1\Me\IMPOST~1\Temp\Alfresco\ImageMagickContentTransformer_init_source_9868.gif"  "C:\DOCUME~1\Me\IMPOST~1\Temp\Alfresco\ImageMagickContentTransformer_init_target_9869.png"
11:52:08,192 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/upgrade/1.4/${db.script.dialect}/AlfrescoSchemaUpdate-1.4-1.sql
11:52:10,204 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/upgrade/1.4/${db.script.dialect}/AlfrescoSchemaUpdate-1.4-2.sql
11:52:12,127 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: C:\DOCUME~1\Me\IMPOST~1\Temp\Alfresco\AlfrescoSchemaUpdate9870.sql
11:52:48,650 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
11:52:53,737 ERROR [org.alfresco.repo.admin.patch.PatchServiceImpl] java.lang.RuntimeException: Error during execution of transaction.
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:208)
   at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:108)
   at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:337)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServiceImpl.java:211)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependencies(PatchServiceImpl.java:166)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatches(PatchServiceImpl.java:111)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy26.applyOutstandingPatches(Unknown Source)
   at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(PatchExecuter.java:64)
   at org.alfresco.repo.admin.patch.PatchExecuter.onApplicationEvent(PatchExecuter.java:112)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:87)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:72)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:63)
   at org.alfresco.sample.SampleClient.main(SampleClient.java:55)
Caused by: java.io.FileNotFoundException: class path resource [alfresco/templates/rss_templates.acp] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/D:/PO/ALFRESCO/AlfrescoSDKforEclipse/lib/server/config.jar!/alfresco/templates/rss_templates.acp
   at org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:173)
   at org.springframework.core.io.ClassPathResource.getFile(ClassPathResource.java:169)
   at org.alfresco.repo.admin.patch.impl.RSSTemplatesFolderPatch.importContent(RSSTemplatesFolderPatch.java:302)
   at org.alfresco.repo.admin.patch.impl.RSSTemplatesFolderPatch.applyInternal(RSSTemplatesFolderPatch.java:234)
   at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:332)
   at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:335)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:168)
   … 25 more

11:52:53,897 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.guestPersonPermission2
RESULT:
Updated Guest Person permission to visible by all users as 'Consumer'.
=====================================
11:52:53,897 ERROR [org.alfresco.repo.admin.patch.PatchExecuter]
=== Failed to apply patch         ===
ID: patch.rssFolder
RESULT:
java.lang.RuntimeException: Error during execution of transaction.
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:208)
   at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:108)
   at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:337)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServiceImpl.java:211)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependencies(PatchServiceImpl.java:166)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatches(PatchServiceImpl.java:111)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRef…
=====================================
11:52:53,917 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.schemaUpdateScript-V1.4-1
RESULT:
Script completed
=====================================
11:52:53,917 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.schemaUpdateScript-V1.4-2
RESULT:
Script completed
=====================================
11:52:53,917 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.systemWorkflowFolderPatch
RESULT:
Created system workflow container workspace://SpacesStore/ee8ccc2c-577b-11db-a569-516e423064fb.
=====================================
11:52:53,917 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.uniqueChildName
RESULT:
Checked 39 associations and fixed 0 duplicates.  See file .\UniqueChildNamePatch.log for details.
=====================================
11:53:04,673 WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes for store 'user://alfrescoUserStore' are not synchronized with the database.
11:53:04,713 WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes for store 'workspace://lightWeightVersionStore' are not synchronized with the database.
11:53:04,763 WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes for store 'archive://SpacesStore' are not synchronized with the database.
12:22:46,425 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "C:\DOCUME~1\Me\IMPOST~1\Temp\Alfresco\ImageMagickContentTransformer_init_source_18425.gif"  "C:\DOCUME~1\Me\IMPOST~1\Temp\Alfresco\ImageMagickContentTransformer_init_target_18426.png"
12:22:53,084 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/upgrade/1.4/${db.script.dialect}/AlfrescoSchemaUpdate-1.4-1.sql
12:22:55,087 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/upgrade/1.4/${db.script.dialect}/AlfrescoSchemaUpdate-1.4-2.sql
12:22:57,020 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: C:\DOCUME~1\Me\IMPOST~1\Temp\Alfresco\AlfrescoSchemaUpdate18427.sql
12:23:33,202 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
12:23:38,820 ERROR [org.alfresco.repo.admin.patch.PatchServiceImpl] java.lang.RuntimeException: Error during execution of transaction.
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:208)
   at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:108)
   at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:337)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServiceImpl.java:211)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependencies(PatchServiceImpl.java:166)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatches(PatchServiceImpl.java:111)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy26.applyOutstandingPatches(Unknown Source)
   at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(PatchExecuter.java:64)
   at org.alfresco.repo.admin.patch.PatchExecuter.onApplicationEvent(PatchExecuter.java:112)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:87)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:72)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:63)
   at org.alfresco.sample.SampleClient.main(SampleClient.java:55)
Caused by: java.io.FileNotFoundException: class path resource [alfresco/templates/rss_templates.acp] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/D:/PO/ALFRESCO/AlfrescoSDKforEclipse/lib/server/config.jar!/alfresco/templates/rss_templates.acp
   at org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:173)
   at org.springframework.core.io.ClassPathResource.getFile(ClassPathResource.java:169)
   at org.alfresco.repo.admin.patch.impl.RSSTemplatesFolderPatch.importContent(RSSTemplatesFolderPatch.java:302)
   at org.alfresco.repo.admin.patch.impl.RSSTemplatesFolderPatch.applyInternal(RSSTemplatesFolderPatch.java:234)
   at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:332)
   at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:335)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:168)
   … 25 more

Outcomes