Solving the OpenOffice no language error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2008 12:20 PM
OpenOffice.org (OOo) was already installed on my computer, so I chose to use the already installed copy. While starting the Alfresco server, OOo refused to start and complained that
I found the following file:
C:\Alfresco\tomcat\shared\classes\alfresco\extension\bootstrap\openoffice-startup-context.xml
The file contains the following line:
The application cannot be started. The user interface language cannot be determined.
I found the following file:
C:\Alfresco\tomcat\shared\classes\alfresco\extension\bootstrap\openoffice-startup-context.xml
The file contains the following line:
<value><![CDATA["C:/Program Files/OpenOffice.org 3/program/soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:///Crogram Files/OpenOffice.org 3/program/soffice" -nologo -headless -nofirststartwizard -nocrashrep -norestore]]></value>[/quote]
This runs the program "C:/Program Files/OpenOffice.org 3/program/soffice", which is the primary OOo executable.
The next portion tells OOo to listen on port 8100 so that it can be controlled (it will only accept connections from localhost as started, by the way).
The arguments tell OOo (-nologo) do not display the OOo logo, (-headless) do not display a user interface (-nofirststartwizard) do not display a user configuration wizard even if this is the first time that OOo has run, (-nocrashrep) do not generate a crash report for Sun if there is an error, and (-norestore) do not attempt to recover files if OOo crashed last time it was used.
This leaves the final argument (-env:UserInstallation), which instructs OOo which user configuration files to use. This allows for multiple users to run at the same time without interfering with each other. I expected OOo to create a user directory at the specified location, not that it makes sense to add user files in the Program Files directory, but it is what I expected to happen. My assumption is that it did not have the proper permissions to do this. To solve this problem, I created a directory C:\Alfresco\OOo, and then pointed to this directory.<value><![CDATA["C:/Program Files/OpenOffice.org 3/program/soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:///C:/alfresco/OOo" -nologo -headless -nofirststartwizard -nocrashrep -norestore]]></value>[/quote]
This works with no problems. A user directory was automatically created by OOo on startup, and life is good (at least from the OOo standpoint).
If this does not solve your problem, check to make certain that you have the proper permissions (so that OOo can read, write, and create things in the specified directories).
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 05:27 PM
sweet! thanks for the well written answer!
beren
beren
