On 05/25/2011 10:48 AM, jod wrote:
Thank you for reply !
I saw what was the directory of javax.servlet.context.tempdir in tomcat,
they say the following :
"Pathname to a scratch directory to be provided by this Context for
temporary read-write use by servlets within the associated web application.
This directory will be made visible to servlets in the web application by a
servlet context attribute (of type java.io.File) named
javax.servlet.context.tempdir as described in the Servlet Specification. If
not specified, a suitable directory underneath $CATALINA_HOME/work will be
provided."
So i sent all the rights to the directory catalina_home\work with "chmod 777
work" but i got the same error. The problem is that i got an other
arborescence in the work directory as
work/Catalina/localhost/(xwiki,docs,...) so maybe one of them must have all
rights too but i don't know which one ?
You said you configured XWiki to connect to the OpenOffice server in
"Externally managed" mode right? Maybe the soffice process doesn't have
the right to write in Tomcat's temporary directory.
I don't understand what you meant when you had
said : " (but to be sure you
can open "Sans nom 1.odt" with OpenOffice and try File> Preview in Web
Browser) " , could you explain me please ?
When you import an office document, the office document is converted to
HTML and then the HTML is converted to wiki syntax. The HTML output of
the first conversion is exactly the result you get if you open you
office document with OpenOffice and got to the "File > Preview in Web
Browser" menu. I suggested you to do this to be sure there's nothing
wrong with your office document (i.e. it can be converted to HTML by
OpenOffice) and the only problem is the file system write access.
Hope this helps,
Marius
> Jo D.
> --
> View this message in context:
http://xwiki.475771.n2.nabble.com/Office-importer-doesn-t-work-tp6394758p64…
> Sent from the XWiki- Users mailing list archive at
Nabble.com.
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users