cancel
Showing results for 
Search instead for 
Did you mean: 

Open Office läuft nicht

alfrescogeek
Champ in-the-making
Champ in-the-making
Hi @all,

ich hab auf meiner CentOS 5.0 Maschine ein Alfresco 3.0 Installiert. Es läuft soweit alles, bis auf das OpenOffice:

17:19:26,826 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
17:19:41,358 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
17:19:42,186 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
17:19:43,454 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///./alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:       
   err:        java.io.IOException: soffice: not found
17:19:45,437 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
17:19:45,437 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
17:19:45,725 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
17:19:46,127 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
17:19:46,132 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
17:19:46,452 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
17:19:46,493 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_16-b02; maximum heap size 506.313MB
17:19:46,752 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise): Current version 3.0.1 (303) schema 501 - Installed version 3.0.1 (303) schema 501
17:19:48,529 WARN  [org.alfresco.heartbeat.HeartBeat] java.net.SocketTimeoutException: connect timed out
17:20:06,984 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

Ich wollte OpenOffice im Servermodus starten, aber dies klappt leider nicht, ich bekomme folgende Meldung:
/opt/openoffice.org3/program/soffice -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -nologo -headless -display :1 &
javaldx: Could not find a Java Runtime Environment!

Ich hab schon etwas gegoogelt, aber eine Wirkliche lösung habe ich nicht gefunden Smiley Sad Kann mir vielleicht jemand weiter helfen?

THX im voraus.
5 REPLIES 5

jpfi_4454
Champ in-the-making
Champ in-the-making
Hi,
deine erste Meldung besagt, dass er soffice nicht findet. Du kannst in der custom-repository.properties  (in tomcat/shared/classes/alfresco/extension) den soffice-Pfad konfigurieren.
In deinem Fall wohl:
ooo.exe=/opt/openoffice.org3/program/soffice
VG, Jan

alfrescogeek
Champ in-the-making
Champ in-the-making
Hallo Jan,

danke für deine Antwort. Ich hab´s mal damit getestet, aber leider wird nach dem restart von Alfresco kein "soffice" Prozess gestartet Smiley Sad Im Log bekomme ich folgende Meldung
21:02:15,855 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
21:02:19,799 DEBUG [org.alfresco.util.OpenOfficeConnectionTester] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@9f8ac1, name=log4j:logger=org.alfresco.util.OpenOfficeConnectionTester
21:02:46,805 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
21:02:47,869 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
21:02:59,694 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
21:02:59,696 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
21:02:59,785 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
21:03:01,044 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
21:03:01,049 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
21:03:03,150 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
21:03:03,693 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_16-b02; maximum heap size 506.313MB
21:03:04,458 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise): Current version 3.0.1 (303) schema 501 - Installed version 3.0.1 (303) schema 501
21:03:05,173 WARN  [org.alfresco.heartbeat.HeartBeat] java.net.SocketTimeoutException: connect timed out
21:03:30,821 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

jpfi_4454
Champ in-the-making
Champ in-the-making
Hi,
naja, zumindest bist du schonmal einen Schritt weiter, aber ich bin kein Linux-Experte…
in der tomcat/shared/classes/alfresco/extension/bootstrap/open-office-startup-context.xml kannst du noch einige Argumente konfigurieren.
Hierbei hilft dir vielleicht http://wiki.alfresco.com/wiki/Running_OpenOffice_From_Terminal
Hat vielleicht etwas mit berechtigungen etc. zu tun…
VG, jan

lotharm
Champ on-the-rise
Champ on-the-rise
Hi,

die Meldung aus dem log
21:02:59,694 WARN [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder.
21:02:59,696 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data

Versuche doch mal einen absoluten Pfad  für dir.root zu setzen. Auf meiner Workstation wird dir.root beim Start von OO in die Parameter eingebaut, lookilook:

lothar    8594     1  0 14:35 pts/0    00:00:04 /usr/lib/openoffice/program/soffice.bin -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:////home/lothar/devenv/lib/alfresco/3.0.1EE/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore -splash-pipe=5

HTH,
  lothar

alfrescogeek
Champ in-the-making
Champ in-the-making
@LotharM,
super Tipp! Nach dem ich den Pfad gesetzt habe, funktioniert das OpenOffice und ich kann endlich PDFs erstellen Smiley Very Happy