• Auto Preview

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #14438  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.
 #14492  by pavila
 
In Linux you can see used ports with netstat -putan, Google for a equivalent for Windows.
 #14531  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)
 #14553  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?
 #14556  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
Attachments
Complete log file
(69.47 KiB) Downloaded 244 times
 #14576  by jllort
 
do you have pdf2swf application installed in your sever ?
 #14896  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.
 #14957  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.
 #15178  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
 #15220  by pavila
 
OpenOffice / LibreOffice configuration should be set to "/opt/libreoffice3.5". Which Linux distro are you using?
 #15240  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.