On Thu, Jun 28, 2012 at 6:38 PM, Arioch <[email protected]> wrote: > from xwiki properties > > #-# If the openoffice server should be started / connected upon XE start. > #-# Default value is false > # openoffice.autoStart=false >
> Am i right that the choice is between never running OOo, until admin runs it > explicitly, or always-running OOo ? First of all, you should read http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application if you haven't done it yet. Then, in xwiki.properties there is also a configuration about the office server type. In order for the office import to work you need: * the office server to be started and * XWiki to be connected to the office server If the server type is internal, then XWiki starts the office server before attempting to connect. Otherwise it just tries to connect, failing if the office server isn't started. The behaviour of the auto start feature also depends on the server type: * internal: when you (re)start XWiki it automatically *starts* the configured office server and *connects* to it * external: when you (re)start XWiki it automatically *connects* to the configured office server. > Maybe it is wishfull thinking but without description by property name alone > i'd tend to read it "auto start when needed" > That's why we have comments. But anyway, what better name you suggest? > I don't want OOo always running on loaded server. Why? > Can it be set up, that XWiki runs OOo if needs it functionality and shuts it > down if unused for, say, 10 minutes ? Currently no. > > What if OOo crashed ? Would XWiki restart it ? Note that XWiki doesn't talk directly to the office server. It uses http://code.google.com/p/jodconverter/ which is responsible for managing the office process and connection. XWiki doesn't detect office server crashes. If you notice that the office importer doesn't work anymore you can try to reconnect to the office server which will probably restart the office process. > > On Linux there is XInetd, so potentially i could set sentry on :8100 port > and lie XWiki that server is always running. > I don't know of such functionality in Windows and i'd better keep OOo > managed by XWiki > > --- > > Trying XWiki 4.1.1 / HSQLDB / Jetty / Win7 x64 / JRE 1.7b05 x64 / Apache > OpenOffice 3.4 > i cannot use OfficeServer - I do manual start, it runs, but on import > attempt when creating new page i get > > 2012-06-28 19:11:15,197 WARN > org.apache.struts.util.RequestUtils:createActionForm:175 - No FormBeanConfig > found under 'upload' > 2012-06-28 19:11:15,207 WARN > org.apache.struts.util.RequestUtils:createActionForm:175 - No FormBeanConfig > found under 'login' > 2012-06-28 19:11:15,285 > [http://localhost:8888/XWiki/bin/login/XWiki/XWikiLogin?srid=UMeoBl36&xredirect=%2FXWiki%2Fbin%2Fupload%2FAfsP%2FAdmClient%3Fform_token%3DZu7uOP99wKHOkfPOxXT7kA%26srid%3DUMeoBl36] > WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method > [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33 > 2012-06-28 19:11:15,460 > [http://localhost:8888/XWiki/resources/js/xwiki/wysiwyg/xwe/WikiService.gwtrpc] > WARN o.x.w.s.i.w.DefaultWikiService - Failed to get attachment: [Обзор > библиотеки AdmClient.docx] not found. > > File can be attached to already existing page but not imported... This doesn't look like an office importer issue. Try to use the "Add > Page from Office" menu instead of the WYSWYG editor and see if it works. > > This also can have something with Opera 12, for i see some strange cookie > issues. > > --- > > I did import via MSIE 9 and i see all russian letters in DOCX got corrupt. > http://i.imgur.com/PlLP2.png > > When i directly open file in AOO, it renders perfectly. > So i think somewhere between AOO server and XWiki there is misunderstanding > about which charset to use. See http://jira.xwiki.org/browse/XWIKI-6377 . Hope this helps, Marius > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/OpenOffice-auto-start-tp7579979.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
