cancel
Showing results for 
Search instead for 
Did you mean: 

Turn your Session into FlushMode

nixdorf
Champ in-the-making
Champ in-the-making
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
4 REPLIES 4

nixdorf
Champ in-the-making
Champ in-the-making
Hallo,

hat da keiner dieses Problem schon einmal gehabt?

Gruß NIxdorf

jpfi_4454
Champ in-the-making
Champ in-the-making
Hallo,
nein, ich kenne das prob nicht. Außerdem passen deine beiden Logs nicht zusammen.
Dort wo dein Fehler auftaucht, müssen drumherum noch ein paar mehr Infos/Meldungen stehen.
VG, Jan

jpfi_4454
Champ in-the-making
Champ in-the-making
Hi,
kann es sein das du eine Enterprise Trail verwendest und die Trail Lizenz (30 tage) abgelaufen ist, dann wird das Repo in Read-only-Mode versetzt?
Vg, jan

bwerner
Champ in-the-making
Champ in-the-making
Hi,

hast folgendes Vorgehen schon ein mal probiert:

-Alfresco stoppen
-das Verzeichnis ../alf_data löschen oder umbenennen
-Alfresco neu starten

immer vorausgesetzt Du hast noch keine Daten im System.

VG,
Bernhard