Hi all, I solved!! I change the following configurations: * I replaced \ occurencies with / in the OpenOffice path (install dir and template dir) * I noticed that my template dir C:\Documents and Settings\Administrator\Application Data\OpenOffice.org\3 was empty but the user specific folder was not. So I changed the dir for the template using the not empty one And now it works. I check the link suggested by Marius and I notice I have the same message "Invalid Privileges" on OpenOffice administration panel when I try to restart the server; it's not critical for me , because OO starts :) Thanks for the support. A -----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Marius Dumitru Florea Inviato: mercoledì 15 settembre 2010 18:04 A: [email protected] Oggetto: Re: [xwiki-users] R: R: Office Importer: Caused by: java.lang.IllegalStateException: invalid templateProfileDir Did you try http://xwiki.475771.n2.nabble.com/OpenOffice-Server-Inadequate-privileges-td... Hope this helps, Marius On 09/15/2010 06:44 PM, Andrea Belli wrote:
Here the new log; now I'm using default configuration without specifying the template dir in the properties file
2010-09-15 17:38:07,458 [] [Thread-2] ERROR rnal.DefaultObservationManager - Fail to send event [org.xwiki.observation.event.ApplicationStartedEvent@bbf7aa] to listener [org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener@80ed90] java.lang.IllegalArgumentException: templateProfileDir must exist and be a directory at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.checkArgument(DefaultOfficeManagerConfiguration.java:160) at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.setTemplateProfileDir(DefaultOfficeManagerConfiguration.java:88) at org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.initialize(DefaultOpenOfficeManager.java:99) at org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.start(DefaultOpenOfficeManager.java:135) at org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.startOpenOffice(OpenOfficeManagerLifecycleListener.java:96) at org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.onEvent(OpenOfficeManagerLifecycleListener.java:83) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:290) at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:76) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
-----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Asiri Rathnayake Inviato: mercoledì 15 settembre 2010 13:57 A: XWiki Users Oggetto: Re: [xwiki-users] R: Office Importer: Caused by: java.lang.IllegalStateException: invalid templateProfileDir
Hi Andrea,
Did you try without specifying a template profile dir? (Comment out that configuration option). As I remember, a temporary template profile dir is created when one does not specify it.
Thanks.
- Asiri
On Wed, Sep 15, 2010 at 1:41 PM, Andrea Belli<[email protected]>wrote:
Thank for response.
I restart the server and this is the fulllog file.
2010-09-15 10:06:17,970 [] [Thread-2] ERROR rnal.DefaultObservationManager - Fail to send event [org.xwiki.observation.event.ApplicationStartedEvent@17fc44f] to listener [org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener@13136e5 ] java.lang.IllegalStateException: invalid templateProfileDir: C:\Documents and Settings\Administrator\Application Data\OpenOffice.org\3 at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:122) at org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.initialize(DefaultOpenOfficeManager.java:102) at org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.start(DefaultOpenOfficeManager.java:135) at org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.startOpenOffice(OpenOfficeManagerLifecycleListener.java:96) at org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.onEvent(OpenOfficeManagerLifecycleListener.java:83) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:290) at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:76) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
the directory exists and it's empty. Thank you Andrea
-----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Asiri Rathnayake Inviato: mercoledì 15 settembre 2010 05:34 A: XWiki Users Oggetto: Re: [xwiki-users] Office Importer: Caused by: java.lang.IllegalStateException: invalid templateProfileDir
Hi Andrea,
On Tue, Sep 14, 2010 at 9:50 PM, Andrea Belli<[email protected]
wrote:
After I installed the 2.4 version, the Office importer does not work because it says the soffice process is not running. I tried to restart the process using the Admin page but I get a velocity error 4001 caused by this exception:
Caused by: java.lang.IllegalStateException: invalid templateProfileDir: C:Documents and SettingsAdministratorApplication DataOpenOffice.org3
Can you provide the log file messages corresponding to this error? When this error happens, you should see an exception trace (bunch of messages) in the xwiki.log file.
Thanks.
- Asiri
1) The path exists and it is defined into xwiki.cfg correctly (it's also shown correctly in the admin panel before I tried to press the
update
button.)
2) The office 3.1 version works standalone.
Any idea?
Best Regards
Andrea _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users