AnsweredAssumed Answered

Turn your Session into FlushMode

Question asked by nixdorf on Jun 27, 2009
Latest reply on Jul 1, 2009 by bwerner
Hallo,

ich bin jetzt schon etwas weiter gekommen mit meiner Alfresco - Installation. Wenn ich aber versuche   zu starten bekomme ich:

Alfresco       System Error    
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.


Im Log steht:
16:30:16,546 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation: 
Execution result:
   os:         Linux
   command:    [/usr/local/bin/convert, /opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_9066468776646525434.gif, /opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_8728435533473580070.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/local/bin/convert": java.io.IOException: error=2, No such file or directory
16:30:18,110 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
16:30:21,293 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformer] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [/opt/Alfresco/bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/opt/Alfresco/bin/pdf2swf": java.io.IOException: error=2, No such file or directory
16:30:26,567 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
16:30:27,058 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
16:30:27,875 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [/opt/Alfresco/program/soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:////opt/Alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program "/opt/Alfresco/program/soffice": java.io.IOException: error=2, No such file or directory
16:30:28,599 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/Alfresco/alf_data
16:30:28,627 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
16:30:28,852 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
16:30:28,855 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
16:30:29,330 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
16:30:29,375 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_13-b03; maximum heap size 455,125MB
16:30:29,375 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455,125MB is less than recommended 512MB
16:30:29,376 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
16:30:43,454 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework


Was muß ich da noch machen?


Gruß Nixdorf

Outcomes