I cant really understand why even the devs are mentally handycapped here, I clearly stated the problem was fixed, and even shared the solution.
I cant really understand why even the devs are mentally handycapped here, I clearly stated the problem was fixed, and even shared the solution.
After checking out the source code from SVN, I realized your recommendation with remote jboss debugging has no sense as the issue has nothing to do with OpenKM but JODConverter. After some debugging, I figured it out that the real error is the already pasted "Caused by: com.sun.star.lang.Illega...
The application runs as root. It definetly has write permission to /tmp.
Just tell me how could I be sure if a temp file existed for a few milliseconds? Of course I cannot.
We need more debug messages here, at the point when OpenKM tries to copy/create the .doc file.
Please add more debug messages into the SVN version.
2010-12-17 21:34:53,355 INFO [com.openkm.util.DocConverter] *** Build Office Manager *** 2010-12-17 21:34:53,474 ERROR [STDERR] Dec 17, 2010 9:34:53 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init> INFO: ProcessManager implementation is UnixProcessManager 2010-12-17 21:34:53,...
Cache is purged, write permissions are fine, logs are all the same as earlier. Please include more debug messages.
We would need more debug messages.
thanks nightskull, its fixed the problem, now i have the original issue again (could not load document: okm1168057070023039807.doc)...
I just upgraded 5.0RC1 to 5.0 final, it still has the same issue (pdf, jpg preview works fine, doc/xls doesnot), however it even worse, it just displays "Preview unavailable" and there are no exceptions in the log.
Jboss/OpenKM runs as root. It of course has all the permissions.
NO NO NO NO, Now I think I understand what's happening. :D From version 5.X OpenKM automatically runs Open Office you must not starting as service, OpenKM runs for you. :D If service is yet started then OpenKM can not initiate own, :) and that's I think it's the problem. You can preview pdf because...
Here it is, I hope it helps: 2010-12-09 12:45:14,651 DEBUG [com.openkm.util.UserActivity] {date=Thu Dec 09 12:45:14 CET 2010, user=okmAdmin, action=GET_DOCUMENT_PROPERTIES, item=/okm:root/anathema-2010.doc, params=[]} 2010-12-09 12:45:14,677 DEBUG [com.openkm.util.UserActivity] {date=Thu Dec 09 12:4...
I dont know if this helps anything, I just tested JODConverter with the same doc file: # /etc/init.d/openkm stop ... # /usr/bin/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard # java -jar lib/jodconverter-cli-2.2.2.jar foobar.doc document.pdf Dec 3, 201...
I have never used openoffice-headless as CLI application. Can you tell me what commands i should run to test it?
No, neither me nor Debian has started openoffice service, but it was started by OpenKM. # /etc/init.d/openkm stop (few minutes later) # ps aux|grep java root 32027 0.0 0.0 5164 780 pts/1 R+ 15:24 0:00 grep java # ps aux|grep soff root 32030 0.0 0.0 5164 784 pts/1 S+ 15:24 0:00 grep soff # /etc/init....