Page 2 of 3

Re: Auto Preview

PostPosted:Mon Mar 12, 2012 8:50 am
by vkasgpta
pavila wrote:
vkasgpta wrote:done :)
i have attached the log
After review the log, I have two questions:

- Do you have any application running attached to the 2002 port?
- There is a "program/soffice.bin" file inside "D:\jboss-4.2.3.GA\lib\openoffice\" ?
how do i check if another application is using the port? It is unlikely the port is being used though as it is a fresh install... but i think i did see a port conflict message for openoffice in the logs... :S

Yes there is a soffice.bin inside the program directory.

Re: Auto Preview

PostPosted:Wed Mar 14, 2012 9:08 am
by pavila
In Linux you can see used ports with netstat -putan, Google for a equivalent for Windows.

Re: Auto Preview

PostPosted:Fri Mar 16, 2012 7:59 am
by gbaluku
Hello,

I am also getting the same problem. I've installed OpenKm on ubuntu 10.04. This is part of the log file.
Code: Select all
2012-03-16 10:51:25,034 WARN  [com.openkm.util.ExecutionUtils] Abnormal program termination: 1
2012-03-16 10:51:25,034 WARN  [com.openkm.util.ExecutionUtils] STDERR: 
2012-03-16 10:51:25,035 ERROR [com.openkm.servlet.frontend.ConverterServlet] 
com.openkm.core.ConversionException: 
	at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:528)
	at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:223)
	at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:106)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Thread.java:636)

Re: Auto Preview

PostPosted:Sat Mar 17, 2012 4:46 am
by vkasgpta
gbaluku wrote:Hello,

I am also getting the same problem. I've installed OpenKm on ubuntu 10.04. This is part of the log file.
Code: Select all
2012-03-16 10:51:25,034 WARN  [com.openkm.util.ExecutionUtils] Abnormal program termination: 1
2012-03-16 10:51:25,034 WARN  [com.openkm.util.ExecutionUtils] STDERR: 
2012-03-16 10:51:25,035 ERROR [com.openkm.servlet.frontend.ConverterServlet] 
com.openkm.core.ConversionException: 
	at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:528)
	at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:223)
	at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:106)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Thread.java:636)
Try posting the full log, if you go below you will see the CAUSE part. Post it all. Also check if the settings proposed earlier have anything to do with this?

Re: Auto Preview

PostPosted:Sat Mar 17, 2012 6:08 am
by gbaluku
Thanks for the reply

I've attached the complete log file. I've tried the suggestions above but nothing has worked.

Thanks

Godfrey

Re: Auto Preview

PostPosted:Mon Mar 19, 2012 12:48 pm
by jllort
do you have pdf2swf application installed in your sever ?

Re: Auto Preview

PostPosted:Mon Mar 19, 2012 2:18 pm
by gbaluku
yes, it is installed

Re: Auto Preview

PostPosted:Tue Mar 20, 2012 11:28 am
by pavila
Follow these steps (http://wiki.openkm.com/index.php/Debug_log_info) and enable DEBUG for com.openkm.util package.

Re: Auto Preview

PostPosted:Tue Mar 20, 2012 4:52 pm
by gbaluku
Hello

Attached is the server log

Re: Auto Preview

PostPosted:Wed Mar 21, 2012 6:09 pm
by pavila
I think you have not enabled the DEBUG for the entire com.openkm.util package because I don't see the expected info. Anyway you can try the tonight night build because I have added more debug info.

Re: Auto Preview

PostPosted:Sat Mar 24, 2012 7:40 am
by matt@theforce
I've set Debug logging and replicated the faults.

Can you advise what next to try

Re: Auto Preview

PostPosted:Sun Mar 25, 2012 5:12 pm
by pavila
As I can see in the log, you have several conversion problems. First of all you have set "system.openoffice.path=/opt/libreoffice3.5", but OpenKM can't automatically start and connect to OpenOffice / LibreOffice. Stop JBoss, delete the $JBOSS_HOME/cache folder, read carefully http://wiki.openkm.com/index.php/OpenOf ... ion_issues, and start JBoss again.

Re: Auto Preview

PostPosted:Thu Apr 12, 2012 11:27 pm
by matt@theforce
* system.swftools.pdf2swf
OK - /usr/local/bin/pdf2swf
* system.imagemagick.convert
OK - /usr/local/bin/convert
* system.ocr
Not configured
* system.openoffice.path
OK - /opt/libreoffice3.5/program/soffice.bin
Code: Select all
system.openoffice.path String /opt/libreoffice3.5       
system.openoffice.port Integer 2002       
system.openoffice.server String       
system.openoffice.tasks Integer 5 


# find / -name soffice.bin
/opt/libreoffice3.5/program/soffice.bin

-rwxr-xr-x. 1 root root 3.5K Feb 2 07:21 soffice.bin

I've read through your configuration issues page and have set the port to 2002 (contradicts the install guide showing port 2222)
When I change the system.openoffice.path to anything other that what it is currently set to the Configuration Check fails

Re: Auto Preview

PostPosted:Sun Apr 15, 2012 12:20 pm
by pavila
OpenOffice / LibreOffice configuration should be set to "/opt/libreoffice3.5". Which Linux distro are you using?

Re: Auto Preview

PostPosted:Tue Apr 17, 2012 6:16 am
by matt@theforce
pavila wrote:OpenOffice / LibreOffice configuration should be set to "/opt/libreoffice3.5". Which Linux distro are you using?
Centos 6.1 on a DL360 G3