• [Solved]-Preview not working: Couldn't open file

  • 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.
 #18887  by TonyW
 
I'm new to openKM and am testing the community version (6.2.0, build 13077) on Ubuntu server 12.04 with Libreoffice 3.5.

When i try to preview the uploaded documents (txt, pdf and doc) I allways get the error: " Conversion: Error: Couldn't open file '' ".
The "Download document as PDF" functionality has the same problem.
I'm accessing the openKM server from a PC W7 with firefox 16.

You can find an extraction of the catalina.out file: the openKM was started at 25 Oct 09hr50 using the startup.sh (in ..tomcat/bin/), the preview of a txt document was tried at 09hr 59 (with flexpaper).
Code: Select all
Oct 25, 2012 9:50:13 AM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
2012-10-25 09:50:13,822 [    main] INFO  org.apache.catalina.core.StandardService - Starting service Catalina
2012-10-25 09:50:13,823 [    main] INFO  org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/7.0.27
2012-10-25 09:50:13,837 [pool-2-thread-1] INFO  org.apache.catalina.startup.HostConfig - Deploying web application archive /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM.war
.....some lines deleted because of posting limits.................
2012-10-25 09:50:23,155 [pool-2-thread-1] INFO  com.openkm.core.Config - ** Reading config file /opt/openkm-6.2.0-community/tomcat/OpenKM.cfg **
.....some lines deleted because of posting limits.................
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.cache.dxf=/opt/openkm-6.2.0-community/tomcat/repository/cache/dxf
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.cache.home=/opt/openkm-6.2.0-community/tomcat/repository/cache
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.cache.pdf=/opt/openkm-6.2.0-community/tomcat/repository/cache/pdf
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.cache.swf=/opt/openkm-6.2.0-community/tomcat/repository/cache/swf
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.config=/dev/null
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.datastore.backend=fs
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.datastore.home=/opt/openkm-6.2.0-community/tomcat/repository/datastore
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.home=/opt/openkm-6.2.0-community/tomcat/repository
2012-10-25 09:50:23,158 [pool-2-thread-1] INFO  com.openkm.core.Config - LOAD - repository.native=true
2012-10-25 09:50:23,161 [pool-2-thread-1] INFO  com.openkm.util.WarUtils - Implementation-Version: 6.2.0
2012-10-25 09:50:23,161 [pool-2-thread-1] INFO  com.openkm.util.WarUtils - Implementation-Build: 13077
2012-10-25 09:50:23,164 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Application version: 6.2.0 (build: 13077) ***
2012-10-25 09:50:23,165 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Hibernate initialize ***
2012-10-25 09:50:23,342 [pool-2-thread-1] INFO  org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final
2012-10-25 09:50:23,353 [pool-2-thread-1] INFO  org.hibernate.cfg.Environment - Hibernate 3.6.10.Final
2012-10-25 09:50:23,354 [pool-2-thread-1] INFO  org.hibernate.cfg.Environment - hibernate.properties not found
2012-10-25 09:50:23,358 [pool-2-thread-1] INFO  org.hibernate.cfg.Environment - Bytecode provider name : javassist
2012-10-25 09:50:23,364 [pool-2-thread-1] INFO  org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
2012-10-25 09:50:23,572 [pool-2-thread-1] WARN  org.hibernate.util.DTDEntityResolver - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
.........Multiple similar warnings erased due to posting-limits....... 
2012-10-25 09:50:24,223 [pool-2-thread-1] INFO  com.openkm.dao.HibernateUtil - Hibernate 'hibernate.dialect' = org.hibernate.dialect.HSQLDialect
2012-10-25 09:50:24,223 [pool-2-thread-1] INFO  com.openkm.dao.HibernateUtil - Hibernate 'hibernate.connection.datasource' = java:/comp/env/jdbc/OpenKMDS
2012-10-25 09:50:24,223 [pool-2-thread-1] INFO  com.openkm.dao.HibernateUtil - Hibernate 'hibernate.hbm2ddl.auto' = none
2012-10-25 09:50:24,223 [pool-2-thread-1] INFO  com.openkm.dao.HibernateUtil - Hibernate 'hibernate.show_sql' = false
2012-10-25 09:50:24,223 [pool-2-thread-1] INFO  com.openkm.dao.HibernateUtil - Hibernate 'hibernate.generate_statistics' = false
2012-10-25 09:50:24,223 [pool-2-thread-1] INFO  com.openkm.dao.HibernateUtil - Hibernate 'hibernate.search.default.directory_provider' = org.hibernate.search.store.FSDirectoryProvider
2012-10-25 09:50:24,223 [pool-2-thread-1] INFO  com.openkm.dao.HibernateUtil - Hibernate 'hibernate.search.default.indexBase' = /opt/openkm-6.2.0-community/tomcat/repository/index
2012-10-25 09:50:24,485 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.Activity
2012-10-25 09:50:24,525 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.Activity on table OKM_ACTIVITY
2012-10-25 09:50:24,572 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.Bookmark
2012-10-25 09:50:24,572 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.Bookmark on table OKM_BOOKMARK
2012-10-25 09:50:24,573 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.MimeType
2012-10-25 09:50:24,573 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.MimeType on table OKM_MIME_TYPE
2012-10-25 09:50:24,601 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.DatabaseMetadataType
2012-10-25 09:50:24,602 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.DatabaseMetadataType on table OKM_DB_METADATA_TYPE
2012-10-25 09:50:24,605 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.DatabaseMetadataValue
2012-10-25 09:50:24,605 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.DatabaseMetadataValue on table OKM_DB_METADATA_VALUE
2012-10-25 09:50:24,610 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.DatabaseMetadataSequence
2012-10-25 09:50:24,610 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.DatabaseMetadataSequence on table OKM_DB_METADATA_SEQUENCE
2012-10-25 09:50:24,611 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.Config
2012-10-25 09:50:24,611 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.Config on table OKM_CONFIG
2012-10-25 09:50:24,612 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.cache.UserItems
2012-10-25 09:50:24,612 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.cache.UserItems on table OKM_USER_ITEMS
2012-10-25 09:50:24,613 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.cache.UserNodeKeywords
2012-10-25 09:50:24,614 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.cache.UserNodeKeywords on table OKM_USER_NODE
2012-10-25 09:50:24,617 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.AutomationRule
2012-10-25 09:50:24,617 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.AutomationRule on table OKM_AUTO_RULE
2012-10-25 09:50:24,626 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.AutomationValidation
2012-10-25 09:50:24,626 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.AutomationValidation on table OKM_AUTO_VALIDATION
2012-10-25 09:50:24,631 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.AutomationAction
2012-10-25 09:50:24,631 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.AutomationAction on table OKM_AUTO_ACTION
2012-10-25 09:50:24,634 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.AutomationMetadata
2012-10-25 09:50:24,634 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.AutomationMetadata on table OKM_AUTO_METADATA
2012-10-25 09:50:24,637 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.NodeBase
2012-10-25 09:50:24,637 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.NodeBase on table OKM_NODE_BASE
2012-10-25 09:50:24,672 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.NodeDocument
2012-10-25 09:50:24,672 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.NodeDocument on table OKM_NODE_DOCUMENT
2012-10-25 09:50:24,680 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.NodeDocumentVersion
2012-10-25 09:50:24,680 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.NodeDocumentVersion on table OKM_NODE_DOCUMENT_VERSION
2012-10-25 09:50:24,684 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.NodeFolder
2012-10-25 09:50:24,685 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.NodeFolder on table OKM_NODE_FOLDER
2012-10-25 09:50:24,686 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.NodeMail
2012-10-25 09:50:24,686 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.NodeMail on table OKM_NODE_MAIL
2012-10-25 09:50:24,690 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.NodeNote
2012-10-25 09:50:24,690 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.NodeNote on table OKM_NODE_NOTE
2012-10-25 09:50:24,691 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.NodeProperty
2012-10-25 09:50:24,692 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.NodeProperty on table OKM_NODE_PROPERTY
2012-10-25 09:50:24,696 [pool-2-thread-1] INFO  org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.openkm.dao.bean.RegisteredPropertyGroup
2012-10-25 09:50:24,696 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.EntityBinder - Bind entity com.openkm.dao.bean.RegisteredPropertyGroup on table OKM_REG_PROPERTY_GROUP
2012-10-25 09:50:24,707 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: com.openkm.dao.bean.AutomationRule.validations -> OKM_AUTO_VALIDATION
2012-10-25 09:50:24,707 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: com.openkm.dao.bean.AutomationRule.actions -> OKM_AUTO_ACTION
2012-10-25 09:50:24,712 [pool-2-thread-1] INFO  org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: com.openkm.dao.bean.NodeBase.properties -> OKM_NODE_PROPERTY
2012-10-25 09:50:24,741 [pool-2-thread-1] INFO  org.hibernate.validator.util.Version - Hibernate Validator 4.2.0.Final
2012-10-25 09:50:24,964 [pool-2-thread-1] INFO  org.hibernate.search.Version - Hibernate Search 3.4.2.Final
2012-10-25 09:50:25,035 [pool-2-thread-1] INFO  org.hibernate.util.NamingHelper - JNDI InitialContext properties:{}
2012-10-25 09:50:25,035 [pool-2-thread-1] INFO  org.hibernate.connection.DatasourceConnectionProvider - Using datasource: java:/comp/env/jdbc/OpenKMDS
2012-10-25 09:50:25,738 [pool-2-thread-1] INFO  hsqldb.db.HSQLDB3A882C5F7F.ENGINE - checkpointClose start
2012-10-25 09:50:25,837 [pool-2-thread-1] INFO  hsqldb.db.HSQLDB3A882C5F7F.ENGINE - checkpointClose end
2012-10-25 09:50:25,898 [pool-2-thread-1] INFO  org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.HSQLDialect
2012-10-25 09:50:25,913 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Database ->
       name : HSQL Database Engine
    version : 2.2.6
      major : 2
      minor : 2
2012-10-25 09:50:25,913 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Driver ->
       name : HSQL Database Engine Driver
    version : 2.2.6
      major : 2
      minor : 2
2012-10-25 09:50:25,916 [pool-2-thread-1] INFO  org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
2012-10-25 09:50:25,919 [pool-2-thread-1] INFO  org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2012-10-25 09:50:25,919 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
2012-10-25 09:50:25,919 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
2012-10-25 09:50:25,919 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
2012-10-25 09:50:25,919 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
2012-10-25 09:50:25,920 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
2012-10-25 09:50:25,920 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
2012-10-25 09:50:25,920 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Connection release mode: auto
2012-10-25 09:50:25,921 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
2012-10-25 09:50:25,921 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Generate SQL with comments: enabled
2012-10-25 09:50:25,921 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
2012-10-25 09:50:25,921 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled
2012-10-25 09:50:25,924 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2012-10-25 09:50:25,927 [pool-2-thread-1] INFO  org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
2012-10-25 09:50:25,927 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
2012-10-25 09:50:25,927 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
2012-10-25 09:50:25,927 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
2012-10-25 09:50:25,927 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Query cache: disabled
2012-10-25 09:50:25,928 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
2012-10-25 09:50:25,933 [pool-2-thread-1] INFO  org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge - Cache provider: org.hibernate.cache.HashtableCacheProvider
2012-10-25 09:50:25,934 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
2012-10-25 09:50:25,934 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
2012-10-25 09:50:25,940 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Statistics: disabled
2012-10-25 09:50:25,940 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
2012-10-25 09:50:25,940 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
2012-10-25 09:50:25,940 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Named query checking : enabled
2012-10-25 09:50:25,941 [pool-2-thread-1] INFO  org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): disabled
2012-10-25 09:50:26,413 [pool-2-thread-1] INFO  org.hibernate.impl.SessionFactoryImpl - building session factory
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [blob] overrides previous : org.hibernate.type.BlobType@c1c697
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@c1c697
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@1d5141b
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@1afa94
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@13917ef
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@1527dc6
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [clob] overrides previous : org.hibernate.type.ClobType@bf8935
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@bf8935
2012-10-25 09:50:26,420 [pool-2-thread-1] INFO  org.hibernate.type.BasicTypeRegistry - Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@c93274
2012-10-25 09:50:27,455 [pool-2-thread-1] INFO  org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
2012-10-25 09:50:28,084 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Initialize property groups... ***
2012-10-25 09:50:28,091 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - new LocalResolver(/opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd)
2012-10-25 09:50:28,092 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Workflow Forms 2.1//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/workflow-forms-2.1.dtd)
2012-10-25 09:50:28,093 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Property Groups 2.1//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/property-groups-2.1.dtd)
2012-10-25 09:50:28,093 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Workflow Forms 2.2//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/workflow-forms-2.2.dtd)
2012-10-25 09:50:28,093 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Report Parameters 2.0//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/report-parameters-2.0.dtd)
2012-10-25 09:50:28,093 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Workflow Forms 1.0//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/workflow-forms-1.0.dtd)
2012-10-25 09:50:28,093 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Workflow Forms 1.1//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/workflow-forms-1.1.dtd)
2012-10-25 09:50:28,093 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Property Groups 2.0//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/property-groups-2.0.dtd)
2012-10-25 09:50:28,093 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Property Groups 1.1//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/property-groups-1.1.dtd)
2012-10-25 09:50:28,094 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Workflow Forms 2.0//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/workflow-forms-2.0.dtd)
2012-10-25 09:50:28,094 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - registerDTD(-//OpenKM//DTD Property Groups 1.0//EN, /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/property-groups-1.0.dtd)
2012-10-25 09:50:28,097 [pool-2-thread-1] INFO  com.openkm.util.FormUtils$LocalResolver - resolveEntity(publicId=-//OpenKM//DTD Property Groups 2.0//EN, systemId=http://www.openkm.com/dtd/property-groups-2.0.dtd) => /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dtd/property-groups-2.0.dtd
2012-10-25 09:50:28,123 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Initialize language detection engine... ***
2012-10-25 09:50:29,028 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Initializing text extractors
2012-10-25 09:50:29,030 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.PlainTextExtractor for 'text/plain'
2012-10-25 09:50:29,048 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsWordTextExtractor for 'application/vnd.ms-word'
2012-10-25 09:50:29,048 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsWordTextExtractor for 'application/msword'
2012-10-25 09:50:29,061 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsExcelTextExtractor for 'application/vnd.ms-excel'
2012-10-25 09:50:29,061 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsExcelTextExtractor for 'application/msexcel'
2012-10-25 09:50:29,061 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsExcelTextExtractor for 'application/excel'
2012-10-25 09:50:29,064 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsPowerPointTextExtractor for 'application/vnd.ms-powerpoint'
2012-10-25 09:50:29,064 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsPowerPointTextExtractor for 'application/mspowerpoint'
2012-10-25 09:50:29,064 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsPowerPointTextExtractor for 'application/powerpoint'
2012-10-25 09:50:29,065 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.oasis.opendocument.database'
2012-10-25 09:50:29,065 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.oasis.opendocument.formula'
2012-10-25 09:50:29,065 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.oasis.opendocument.graphics'
2012-10-25 09:50:29,065 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.oasis.opendocument.presentation'
2012-10-25 09:50:29,065 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.oasis.opendocument.spreadsheet'
2012-10-25 09:50:29,065 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.oasis.opendocument.text'
2012-10-25 09:50:29,065 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.sun.xml.calc'
2012-10-25 09:50:29,066 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.sun.xml.draw'
2012-10-25 09:50:29,066 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.sun.xml.impress'
2012-10-25 09:50:29,066 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.OpenOfficeTextExtractor for 'application/vnd.sun.xml.writer'
2012-10-25 09:50:29,067 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.RTFTextExtractor for 'application/rtf'
2012-10-25 09:50:29,067 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.RTFTextExtractor for 'text/rtf'
2012-10-25 09:50:29,067 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.HTMLTextExtractor for 'text/html'
2012-10-25 09:50:29,069 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.XMLTextExtractor for 'text/xml'
2012-10-25 09:50:29,069 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.XMLTextExtractor for 'application/xml'
2012-10-25 09:50:29,070 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.PngTextExtractor for 'image/png'
2012-10-25 09:50:29,070 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.PngTextExtractor for 'image/apng'
2012-10-25 09:50:29,070 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.PngTextExtractor for 'image/mng'
2012-10-25 09:50:29,086 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.MsOutlookTextExtractor for 'application/vnd.ms-outlook'
2012-10-25 09:50:29,094 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.PdfTextExtractor for 'application/pdf'
2012-10-25 09:50:29,097 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.AudioTextExtractor for 'audio/mpeg'
2012-10-25 09:50:29,097 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.AudioTextExtractor for 'audio/x-ogg'
2012-10-25 09:50:29,099 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.ExifTextExtractor for 'image/jpeg'
2012-10-25 09:50:29,101 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.CuneiformTextExtractor for 'image/tiff'
2012-10-25 09:50:29,101 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.CuneiformTextExtractor for 'image/gif'
2012-10-25 09:50:29,101 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.CuneiformTextExtractor for 'image/jpg'
2012-10-25 09:50:29,101 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.CuneiformTextExtractor for 'image/jpeg'
2012-10-25 09:50:29,101 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.CuneiformTextExtractor for 'image/png'
2012-10-25 09:50:29,102 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.SourceCodeTextExtractor for 'text/x-java'
2012-10-25 09:50:29,102 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.SourceCodeTextExtractor for 'text/css'
2012-10-25 09:50:29,102 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.SourceCodeTextExtractor for 'text/x-csrc'
2012-10-25 09:50:29,102 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.SourceCodeTextExtractor for 'text/x-sql'
2012-10-25 09:50:29,102 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.SourceCodeTextExtractor for 'application/x-php'
2012-10-25 09:50:29,102 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.SourceCodeTextExtractor for 'application/javascript'
2012-10-25 09:50:29,109 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.MsOffice2007TextExtractor for 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
2012-10-25 09:50:29,109 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.MsOffice2007TextExtractor for 'application/vnd.openxmlformats-officedocument.wordprocessingml.template'
2012-10-25 09:50:29,109 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.MsOffice2007TextExtractor for 'application/vnd.openxmlformats-officedocument.presentationml.template'
2012-10-25 09:50:29,109 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.MsOffice2007TextExtractor for 'application/vnd.openxmlformats-officedocument.presentationml.slideshow'
2012-10-25 09:50:29,109 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.MsOffice2007TextExtractor for 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
2012-10-25 09:50:29,109 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.MsOffice2007TextExtractor for 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
2012-10-25 09:50:29,109 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering com.openkm.extractor.MsOffice2007TextExtractor for 'application/vnd.openxmlformats-officedocument.spreadsheetml.template'
2012-10-25 09:50:29,281 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - application.url=http://localhost:8080/OpenKM/index.jsp
2012-10-25 09:50:29,281 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - default.admin.role=ROLE_ADMIN
2012-10-25 09:50:29,281 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - default.lang=
2012-10-25 09:50:29,281 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - default.script=print("UserId: " + session.getUserID());
print("EventType: " + eventType);
print("EventNode: " + eventNode.getPath());
print("ScriptNode: " + scriptNode.getPath());
2012-10-25 09:50:29,281 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - default.user.role=ROLE_USER
2012-10-25 09:50:29,281 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.create.autofix=true
2012-10-25 09:50:29,281 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.datasource=java:/comp/env/jdbc/OpenKMDS
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.dialect=org.hibernate.dialect.HSQLDialect
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.hbm2ddl=none
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.search.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.search.index.home=/opt/openkm-6.2.0-community/tomcat/repository/index
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.show_sql=false
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - hibernate.statistics=false
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - instance.chroot.path=
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - instance.home=/opt/openkm-6.2.0-community/tomcat
2012-10-25 09:50:29,282 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - jbpm.config=/opt/openkm-6.2.0-community/tomcat/jbpm.xml
.....some lines deleted because of posting limits.................
2012-10-25 09:50:29,283 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - managed.text.extraction=true
2012-10-25 09:50:29,283 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - managed.text.extraction.batch=10
2012-10-25 09:50:29,283 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - managed.text.extraction.schedule=1
2012-10-25 09:50:29,283 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - max.file.size=0
2012-10-25 09:50:29,283 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - max.search.results=500
2012-10-25 09:50:29,284 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - min.search.characters=3
.....some lines deleted because of posting limits.................
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - property.groups.cnd=/opt/openkm-6.2.0-community/tomcat/PropertyGroups.cnd
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - property.groups.xml=/opt/openkm-6.2.0-community/tomcat/PropertyGroups.xml
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - registered.text.extractors=[org.apache.jackrabbit.extractor.PlainTextExtractor, org.apache.jackrabbit.extractor.MsWordTextExtractor, org.apache.jackrabbit.extractor.MsExcelTextExtractor, org.apache.jackrabbit.extractor.MsPowerPointTextExtractor, org.apache.jackrabbit.extractor.OpenOfficeTextExtractor, org.apache.jackrabbit.extractor.RTFTextExtractor, org.apache.jackrabbit.extractor.HTMLTextExtractor, org.apache.jackrabbit.extractor.XMLTextExtractor, org.apache.jackrabbit.extractor.PngTextExtractor, org.apache.jackrabbit.extractor.MsOutlookTextExtractor, com.openkm.extractor.PdfTextExtractor, com.openkm.extractor.AudioTextExtractor, com.openkm.extractor.ExifTextExtractor, com.openkm.extractor.CuneiformTextExtractor, com.openkm.extractor.SourceCodeTextExtractor, com.openkm.extractor.MsOffice2007TextExtractor]
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.cache.dxf=/opt/openkm-6.2.0-community/tomcat/repository/cache/dxf
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.cache.home=/opt/openkm-6.2.0-community/tomcat/repository/cache
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.cache.pdf=/opt/openkm-6.2.0-community/tomcat/repository/cache/pdf
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.cache.swf=/opt/openkm-6.2.0-community/tomcat/repository/cache/swf
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.config=/dev/null
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.content.checksum=true
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.datastore.backend=fs
2012-10-25 09:50:29,286 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.datastore.home=/opt/openkm-6.2.0-community/tomcat/repository/datastore
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.home=/opt/openkm-6.2.0-community/tomcat/repository
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - repository.native=true
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - restrict.file.mime=false
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - restrict.file.name=*~;*.bak
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - schedule.dashboard.refresh=30
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - schedule.mail.importer=0
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - schedule.repository.info=1440
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - schedule.session.keepalive=15
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - schedule.ui.notification=1
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - security.access.manager=simple
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - security.search.evaluation=lucene
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - subscription.message.body=<b>Document: </b><a href="${documentUrl}">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Event: </b>${eventType}<br/><b>Comment: </b>${subscriptionComment}<br/>
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - subscription.message.subject=OpenKM - ${eventType} - ${documentPath}
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.antivir=
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.apache.request.header.fix=false
2012-10-25 09:50:29,287 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.document.name.mismatch.check=true
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.execution.timeout=5
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.ghostscript.ps2pdf=
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.imagemagick.convert=/usr/bin/convert
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.keyword.lowercase=false
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.login.lowercase=false
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.maintenance=false
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.ocr=/usr/bin/tesseract
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.ocr.rotate=
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.openoffice.dictionary=
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.openoffice.path=/usr/lib/libreoffice
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.openoffice.port=2002
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.openoffice.tasks=200
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.pdf.force.ocr=false
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.previewer=flexpaper
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.readonly=false
2012-10-25 09:50:29,288 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.swftools.pdf2swf=/opt/openkm-6.2.0-community/tomcat/bin/pdf2swf  -T 9 -f ${fileIn} -o ${fileOut}
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.webdav.fix=false
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - system.webdav.server=false
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - update.info=true
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - upload.throttle.filter=false
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - user.admin=okmAdmin
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - user.assign.document.creation=true
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - user.item.cache=true
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - user.keywords.cache=false
2012-10-25 09:50:29,289 [pool-2-thread-1] INFO  com.openkm.core.Config - RELOAD - user.system=system
.....some lines deleted because of posting limits.................
2012-10-25 09:50:29,291 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Repository initializing... ***
2012-10-25 09:50:29,344 [pool-2-thread-1] INFO  com.openkm.module.db.stuff.SecurityHelper - Configuring AccessManager with com.openkm.module.db.stuff.DbSimpleAccessManager
2012-10-25 09:50:29,353 [pool-2-thread-1] INFO  com.openkm.module.db.DbRepositoryModule - Repository already created
2012-10-25 09:50:29,362 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Repository initialized ***
2012-10-25 09:50:29,362 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Cache deserialization ***
.....some lines deleted because of posting limits.................
2012-10-25 09:50:29,526 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Activating text extractor worker ***
2012-10-25 09:50:29,527 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** User mail importer disabled ***
2012-10-25 09:50:29,527 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Activating thesaurus repository ***
2012-10-25 09:50:29,536 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Start OpenOffice manager ***
2012-10-25 09:50:29,541 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - *** Build Office Manager ***
2012-10-25 09:50:29,541 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - system.openoffice.path=/usr/lib/libreoffice
2012-10-25 09:50:29,541 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - system.openoffice.tasks=200
2012-10-25 09:50:29,541 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - system.openoffice.port=2002
2012-10-25 09:50:29,576 [pool-2-thread-1] INFO  org.artofsolving.jodconverter.office.ProcessPoolOfficeManager - ProcessManager implementation is SigarProcessManager
2012-10-25 09:50:29,621 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir '/opt/openkm-6.2.0-community/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-2002'
2012-10-25 09:50:29,696 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - started process; pid = 1731
2012-10-25 09:50:30,524 [Update Info] INFO  com.openkm.core.UpdateInfo - *** UpdateInfo activated ***
2012-10-25 09:50:31,492 [OfficeProcessThread-0] WARN  org.artofsolving.jodconverter.office.ManagedOfficeProcess - office process died with exit code 81; restarting it
2012-10-25 09:50:31,536 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir '/opt/openkm-6.2.0-community/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-2002'
2012-10-25 09:50:31,600 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - started process; pid = 1747
2012-10-25 09:50:32,243 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeConnection - connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
2012-10-25 09:50:32,246 [pool-2-thread-1] INFO  com.openkm.extension.core.ExtensionManager - Initialize and load plugins...
2012-10-25 09:50:32,371 [pool-2-thread-1] WARN  net.xeoh.plugins.base.impl.classpath.loader.FileLoader - Supplied path does not exist. Unable to add plugins from there.
2012-10-25 09:50:32,372 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Ejecute start script ***
2012-10-25 09:50:32,374 [pool-2-thread-1] WARN  com.openkm.util.ExecutionUtils - Unable to read script: /opt/openkm-6.2.0-community/tomcat/start.bsh
2012-10-25 09:50:32,377 [pool-2-thread-1] WARN  com.openkm.util.ExecutionUtils - Unable to read jar: /opt/openkm-6.2.0-community/tomcat/start.jar
2012-10-25 09:50:32,568 [pool-2-thread-1] INFO  org.apache.catalina.startup.HostConfig - Deploying web application directory /opt/openkm-6.2.0-community/tomcat/webapps/host-manager
2012-10-25 09:50:32,669 [pool-2-thread-1] INFO  org.apache.catalina.startup.HostConfig - Deploying web application directory /opt/openkm-6.2.0-community/tomcat/webapps/ROOT
2012-10-25 09:50:32,741 [pool-2-thread-1] INFO  org.apache.catalina.startup.HostConfig - Deploying web application directory /opt/openkm-6.2.0-community/tomcat/webapps/manager
2012-10-25 09:50:32,805 [pool-2-thread-1] INFO  org.apache.catalina.startup.HostConfig - Deploying web application directory /opt/openkm-6.2.0-community/tomcat/webapps/examples
.....some lines deleted because of posting limits.................

2012-10-25 09:50:33,041 [    main] INFO  org.apache.coyote.http11.Http11Protocol - Starting ProtocolHandler ["http-bio-0.0.0.0-8080"]
2012-10-25 09:50:33,061 [    main] INFO  org.apache.coyote.ajp.AjpProtocol - Starting ProtocolHandler ["ajp-bio-0.0.0.0-8009"]
2012-10-25 09:50:33,064 [    main] INFO  org.apache.catalina.startup.Catalina - Server startup in 19407 ms
2012-10-25 09:54:55,699 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.config.GlobalSettings - Trying to find Dozer configuration file: dozer.properties
2012-10-25 09:54:55,711 [http-bio-0.0.0.0-8080-exec-4] WARN  org.dozer.config.GlobalSettings - Dozer configuration file not found: dozer.properties.  Using defaults for all Dozer global properties.
2012-10-25 09:54:55,714 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.DozerInitializer - Initializing Dozer. Version: 5.3.2, Thread Name: http-bio-0.0.0.0-8080-exec-4
2012-10-25 09:54:55,720 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.jmx.JMXPlatformImpl - Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server
2012-10-25 09:54:55,721 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.jmx.JMXPlatformImpl - Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server
2012-10-25 09:54:55,728 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.DozerBeanMapper - Initializing a new instance of dozer bean mapper.
2012-10-25 09:54:55,744 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.loader.CustomMappingsLoader - Using the following xml files to load custom mappings for the bean mapper instance: [dozerBeanMapping.xml]
2012-10-25 09:54:55,744 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.loader.CustomMappingsLoader - Trying to find xml mapping file: dozerBeanMapping.xml
2012-10-25 09:54:55,746 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.loader.CustomMappingsLoader - Using URL [file:/opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dozerBeanMapping.xml] to load custom xml mappings
2012-10-25 09:54:55,762 [http-bio-0.0.0.0-8080-exec-4] INFO  org.dozer.loader.CustomMappingsLoader - Successfully loaded custom xml mappings from URL: [file:/opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/classes/dozerBeanMapping.xml]
2012-10-25 09:54:55,812 [http-bio-0.0.0.0-8080-exec-5] INFO  com.openkm.module.common.CommonAuthModule - PrincipalAdapter: com.openkm.principal.DatabasePrincipalAdapter
2012-10-25 09:59:33,088 [http-bio-0.0.0.0-8080-exec-7] WARN  com.openkm.util.ExecutionUtils - Abnormal program termination: 1
2012-10-25 09:59:33,090 [http-bio-0.0.0.0-8080-exec-7] WARN  com.openkm.util.ExecutionUtils - CommandLine: [/opt/openkm-6.2.0-community/tomcat/bin/pdf2swf, , -T, 9, -f, /opt/openkm-6.2.0-community/tomcat/repository/cache/pdf/693dc1fd-5f2d-49aa-806a-337b46dd3624.pdf, -o, /opt/openkm-6.2.0-community/tomcat/repository/cache/swf/693dc1fd-5f2d-49aa-806a-337b46dd3624.swf]
2012-10-25 09:59:33,090 [http-bio-0.0.0.0-8080-exec-7] WARN  com.openkm.util.ExecutionUtils - STDERR: Error: Couldn't open file ''

2012-10-25 09:59:33,097 [http-bio-0.0.0.0-8080-exec-7] ERROR com.openkm.servlet.frontend.ConverterServlet - Error: Couldn't open file ''

com.openkm.core.ConversionException: Error: Couldn't open file ''

	at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:467)
	at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:232)
	at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:121)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
The only thing I can find is that there is an "Abnormal program termination", and aparently some cached filed can not be found.

In OpenKM administration i performed the "configuration check" and all 4 lines are OK (all green).

In order to test my Libreoffice I executed on the server the command "soffice --headless --convert-to pdf inputfile.txt ". This executes without error and the resulting pdf is correctly readable.
In order to test my pdf2swf conversion, I executed "pdf2swf -T 9 -f inputfile -o outputfile" and this was equally successfull.

So my conclusion is: libreoffice and pdf2swf working outside of OpenKM, but within OpenKM there is a problem.

Can anyone help me out? Or maybe give some hints in what else I can test (please with the syntax of commands to execute)?
Last edited by TonyW on Wed Oct 31, 2012 12:24 pm, edited 1 time in total.
 #18892  by macjaeger
 
Code: Select all
2012-10-25 09:59:33,088 [http-bio-0.0.0.0-8080-exec-7] WARN  com.openkm.util.ExecutionUtils - Abnormal program termination: 1
I'd say there is your problem: some programm didn't complete its job, likely openoffice, and thus the .pdf-file wasn't created (check in tmp-folder). Consequently pdf2swf failed. So most likely there is something wrong with your OpenOffice / LibreOffice installation, or its dependencies. To give you some ideas, here's parts of my "quick-setup" for OpenKM 6.2 on Ubuntu 12.04 (rooted here, add sudo if using restricted user):
Code: Select all
apt-get update
apt-get install default-jdk
apt-get install imagemagick
apt-get install cuneiform
apt-get install openoffice.org
And these are the respective settings in config (cuneiform is configured for german text!):
Code: Select all
system.imagemagick.convert = /usr/bin/convert
system.ocr = /usr/bin/cuneiform -l ger ${fileIn} -o ${fileOut}
system.ocr.rotate = 90;180;270;
system.openoffice.path = /usr/lib/libreoffice
system.swftools.pdf2swf = /opt/openkm/tomcat/bin/pdf2swf -T 9 -f -t -G ${fileIn} -o ${fileOut}
Could you please post the (relevant) configuration lines from "Administration->Config" ?
 #18896  by TonyW
 
Many thanks for this swift reply.

I tried what you proposed and my config looks like yours now (appart from the "ger" :D ). After the changes I ran "shutdown.sh" and "startup.sh".

Still not working :cry:

But i tried something more and tested the jodconverter, with the following error message
Code: Select all
root@Uby-Srv:/# java -jar /opt/openkm-6.2.0-community/tomcat/webapps/OpenKM/WEB-INF/lib/jodconverter-core-3.0-beta-4.jar test.odt test.pdf
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.CommandLineParser
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.artofsolving.jodconverter.cli.Convert. Program will exit.

So it looks like the problem is with the jodconverter component.
But I don't have a clue what exactly or how to solve it.
 #18916  by jllort
 
You can not execute the command as you have done, you should add libraries path etc...

1- To ensure is a office problem first take a look if after started openkm you got soffice process started.
2- Then try to convert a .odt document to .pdf ( you can doing with toolbar option )
3- If goes right upload converted pdf file and try preview pdf ( the problem then will be on pdf2swf )

I suggest read it with patience: http://wiki.openkm.com/index.php/Previsualization
 #18935  by TonyW
 
Thanks for this reply,

So executing the jodconverter command does not give a valid conclusion.

So I followed your proposal

As info I give you the output of the "check configuration" action:
Code: Select all
    system.swftools.pdf2swf
    	OK - /opt/openkm-6.2.0-community/tomcat/bin/pdf2swf
    system.imagemagick.convert
    	OK - /usr/bin/convert
    system.ocr
    	OK - /usr/bin/cuneiform
    system.openoffice.path
    	OK - /usr/lib/libreoffice/program/soffice.bin
About your:
1- To ensure is a office problem first take a look if after started openkm you got soffice process started.
and here is what my catalina.log files gives
Code: Select all
2012-10-29 08:50:40,829 [pool-2-thread-1] INFO  com.openkm.servlet.RepositoryStartupServlet - *** Start OpenOffice manager ***
2012-10-29 08:50:40,834 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - *** Build Office Manager ***
2012-10-29 08:50:40,834 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - system.openoffice.path=/usr/lib/libreoffice
2012-10-29 08:50:40,835 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - system.openoffice.tasks=200
2012-10-29 08:50:40,835 [pool-2-thread-1] INFO  com.openkm.util.DocConverter - system.openoffice.port=2002
2012-10-29 08:50:40,871 [pool-2-thread-1] INFO  org.artofsolving.jodconverter.office.ProcessPoolOfficeManager - ProcessManager implementation is SigarProcessManager
2012-10-29 08:50:40,922 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir '/opt/openkm-6.2.0-community/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-2002'
2012-10-29 08:50:40,992 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - started process; pid = 1700
2012-10-29 08:50:41,818 [Update Info] INFO  com.openkm.core.UpdateInfo - *** UpdateInfo activated ***
2012-10-29 08:50:43,285 [OfficeProcessThread-0] WARN  org.artofsolving.jodconverter.office.ManagedOfficeProcess - office process died with exit code 81; restarting it
2012-10-29 08:50:43,328 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir '/opt/openkm-6.2.0-community/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-2002'
2012-10-29 08:50:43,398 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeProcess - started process; pid = 1715
2012-10-29 08:50:44,232 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.OfficeConnection - connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
2012-10-29 08:50:44,236 [pool-2-thread-1] INFO  com.openkm.extension.core.ExtensionManager - Initialize and load plugins...
and my conclusion : openoffice is working, and the warn about "process died with exit code 81" is normal and no indication of a real problem.

Then I tried
2- Then try to convert a .odt document to .pdf ( you can doing with toolbar option )
This generates a file BUT when i open the resulting .pdf it is not possible (not a supported file-type or damaged). I do see that in my OpenKM-cache directory a pdf-file is created, but can not be opened it in a pdf-viewer program.
So I then tried the following steps:
1. Open the .odt in Libreoffice with GUI, save it as pdf, and open this .pdf in viewer :successful.
2. Execute the following in terminal :
Code: Select all
soffice --headless --convert-to pdf --outdir /home/tw/Desktop mytest.odt
and this worked OK: .pdf could be viewed in pdf-viewer. So I think I can conclude that Libreoffice is working OK. (can somebody confirm this statement?) But the exact command that OpenKM does to create this .pdf is probably different and gives a problem somewhere.

Last thing I did was testing the pdf2swf function
3- If goes right upload converted pdf file and try preview pdf ( the problem then will be on pdf2swf )
Because the .pdf created in cache was not correct and could not be opened with pdf-viewer, I guess that OpenKM stopped creating the swf (there are NO files in the cache/swf folder and there never have been!). So I tested the pdf2swf with the following terminal-command:
Code: Select all
 /opt/openkm-6.2.0-community/tomcat/bin/pdf2swf -T 9 -f -t -G mytest.pdf  -o mytest.swf
and this resulted in a .swf file that can be opened with a swf-viewer. So I guess pdf2swf is working as well independent from OpenKM.

Since the info in wiki-documentation is not talking about version 6.2, I'm still not sure what I should do.

I really hope this can be solved, because for my planned implementation the preview-possibility is absolutely needed.
 #18957  by jllort
 
If your converted document to pdf has problems to be viewed then the problem sure is on soffice service.
Which is your java version ?
How amoung of memory do you have asigned to openkm and all of your OS ?
Can you try in our online demo ?
 #18967  by TonyW
 
I don't think it's a soffice server problem: in a terminal command soffice works correctly with exactly the same input file. (see above)
A new test shows that a .jpg file has the same problem and same error => still no preview.

Running "java -version" gives as aswer "1.6.0_24"

My server runs in a VM (Virtualbox) with 1,6GB of memory for this VM.

I don't know where I can find the memory used by OpenKM, so no answer on that question.

On the demo version, the preview functions is working with exactly the same input document.
 #18990  by TonyW
 
Problem solved.
For all those having similar problem, I 'm glad to share my experience.
1. I started with a fresh Ubuntu 12.04 server installation with gnome desktop ( thank you Virtualbox clone-functionality :D)
2. Installed libreoffice with following commands:
Code: Select all
apt-get update
apt-get install libreoffice-common
apt-get install openoffice.org
The openoffice.org package is what I did not before, and during the openoffice.org package installation I see the installation of libreoffice.writer, libreoffice.calc ...... passing. So I presume this is what really was missing in my initial setup!
However I got some install error telling me I missed some files and a proposal to run again with the --fix-missing option.
So I executed
Code: Select all
apt-get install openoffice.org –fix-missing
Then I run the installation-wizard (chmod +x openkm-6.2.0-community-linux-installer.run, and then execute it)
I changed "127.0.0.1" to "0.0.0.0" in the .../tomcat/conf/server.xml file so that I can access the server from a workstation-browser.
I also had to add the following line at the end of the file /installationpath/tomcat/bin/setenv.sh (don't just copy-past, adapt the installation-path for your setup!!)
Code: Select all
export JAVA_HOME=/opt/openkm-6.2.0-community/java
and run the /../tomcat/bin/startup.sh
In the openKM administration, add the wiki-documented changes, run the /bin/shutdown.sh and /bin/startup.sh

and that's it!!!

I hope this helps some other people having similar problems.
P.S.: Don't ask me to exactly explain the knots and bolds of this, but for me it worked!! :D :D :D
 #19008  by jllort
 
Thanks for sharing your experince, it's curios the -fix-missing ( really al packages should be installed at apt-get install openoffice.org).
 #19587  by nrdorf
 
Hello, I am an OpenKM "newbie" and have been going around in circles for the last couple days trying to get MS office type files to preview.

I'm not a newbie to linux, or to document management.

I have checked the wiki, and it has not been helpful as I am on 6.2.1 and most posts are referring to JBoss, not Tomcat

What I have working: OpenKM up and running, preview for PDF and image files work fine. Only .doc, .docx, .xls, .xlsx etc are problematic.

My os is Ubuntu 12.04 LTS, 64 bit version

I started with LibreOffice, but when I ran into trouble uninstalled and loaded OpenOffice 3.4. That didn't help and I am now back on LibreOffice.

In the preview window I get a popup saying "Error in application/msword ...." to PDF" or "Error in application/vnd .... to PDF"

I can run soffice from the command line and convert the aforementioned doc and xl files to PDF no problem. However, If within OpenKM I select a document and then click on the PDF toolbar to generate a PDF, I get an error and the resulting pdf has a standard OpenKm message in it saying the conversion failed.

My path to libreoffice is /usr/lib/libreoffice, but I also tried /usr/bin/soffice and countless other strings. I have the port set to 8100, which is consistent with the startup string I have appended to catalina.sh:

## Neil added this command to properly initialize OpenOffice as headless service \
exec /usr/bin/soffice --headless --nofirststartwizard --nologo --nodefault --accept="socket,host=localhost,port=8100;urp;StarOffice.Service" &

I also tried the prior suggesting appending setenv.sh with the following line:
export JAVA_HOME=/home/ndorf/openkm-6.2.1-community/java

I have zlib, jodconverter, unoconv all installed.

I'm just flat out of ideas....can anyone help me please?

?Por Favor? !!!

Thanks! / Gracias!
 #19961  by mahyar
 
Hi TonyW

I have been struggling with some problems and decided to start from zero and do exactly like what you have done.
Now, have you installed any version of Java prior to installation of OpenKM?
I'm not sure if the installation guide in wiki misleading is or if I did not get it right. If you install with the installation-wizard you will not need any java installation.
You have also not installed jodconverter or anything else and I assume that these packages are not installed by default. How it works for you and not for me?
Anyway could you please check, if you have installed jod or sigar or anything like that?
By the way, I install the trial version 6.2.4 and not the community one.

Thanks

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.