• preview generation

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #9156  by vnbhanushali
 
Dear friends,

I am using OpenKM-5.0_JBoss-4.2.3.GA.
After migrating from 4.1 to 5.0 the pdf2swf is available at bin directory, i have changed it as pdf2swf.exe
openoffice 3.3,flashplayer 10 is available in my machine. que Imagemagic convert, swftools is not available on my machine.

my config setting are as follows :
Code: Select all
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=create
max.file.size=25
restrict.file.extension=*~,*.bak,._*
restrict.file.mime=off
application.url=http://172.16.202.103:8089/OpenKM/es.git.openkm.frontend.Main/index.jsp
system.openoffice=on
update.info=off
system.pdf2swf=C:\\OpenKM-5.0_JBoss-4.2.3.GA\\jboss-4.2.3.GA\\bin\\pdf2swf
system.openoffice.path=C:\\Program Files\\OpenOffice.org 3\\
server.log : error areas
Code: Select all
2011-02-25 18:38:32,664 ERROR [STDERR] Feb 25, 2011 6:38:32 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init>
INFO: ProcessManager implementation is WindowsProcessManager
2011-02-25 18:38:32,773 ERROR [STDERR] Feb 25, 2011 6:38:32 PM org.artofsolving.jodconverter.office.OfficeProcess prepareInstanceProfileDir
WARNING: profile dir 'C:\DOCUME~1\VAIBHA~1.BHA\LOCALS~1\Temp\.jodconverter_socket_host-127.0.0.1_port-2002' already exists; deleting
2011-02-25 18:38:33,164 ERROR [STDERR] Feb 25, 2011 6:38:33 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir 'C:\DOCUME~1\VAIBHA~1.BHA\LOCALS~1\Temp\.jodconverter_socket_host-127.0.0.1_port-2002'
2011-02-25 18:38:33,289 ERROR [STDERR] Feb 25, 2011 6:38:33 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process
2011-02-25 18:38:38,756 ERROR [STDERR] Feb 25, 2011 6:38:38 PM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
2011-02-25 18:38:38,756 WARN  [com.openkm.util.ExecutionUtils] Unable to read script: C:\OpenKM-5.0_JBoss-4.2.3.GA\jboss-4.2.3.GA\start.bsh

2011-02-25 18:38:48,612 ERROR [org.jboss.system.server.Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Naming
  State: FAILED
  Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is: 
	java.net.BindException: Address already in use: JVM_Bind
  I Depend On:
    jboss.system:service=ThreadPool
    jboss:service=NamingBeanImpl
  Depends On Me:
    jboss.mq:service=DestinationManager
    jboss.mq:service=Invoker
    jboss.mq:service=InvocationLayer,type=UIL
    jboss.mq:service=InvocationLayer,type=UILXA
    jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
    jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
    jboss.jms:alias=QueueConnectionFactory
    jboss.jms:alias=TopicConnectionFactory
    jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
    jboss.jmx:alias=jmx/rmi/RMIAdaptor
    jboss:service=Mail
    jboss:service=OpenKM

ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=Invoker
    jboss.web:service=WebServer

ObjectName: jboss.admin:service=PluginManager
  State: CONFIGURED
  I Depend On:
    jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  Depends On Me:
    jboss.web.deployment:war=web-console.war,id=-349070457

ObjectName: jboss.web.deployment:war=web-console.war,id=-349070457
  State: NOTYETINSTALLED
  I Depend On:
    jboss.admin:service=PluginManager

ObjectName: jboss.mq:service=DestinationManager
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=MessageCache
    jboss.mq:service=PersistenceManager
    jboss.mq:service=StateManager
    jboss.mq:service=ThreadPool
    jboss:service=Naming
  Depends On Me:
    jboss.mq.destination:service=Topic,name=testTopic
    jboss.mq.destination:service=Topic,name=securedTopic
    jboss.mq.destination:service=Topic,name=testDurableTopic
    jboss.mq.destination:service=Queue,name=testQueue
    jboss.mq.destination:service=Queue,name=A
    jboss.mq.destination:service=Queue,name=B
    jboss.mq.destination:service=Queue,name=C
    jboss.mq.destination:service=Queue,name=D
    jboss.mq.destination:service=Queue,name=ex
    jboss.mq:service=SecurityManager
    jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq.destination:service=Topic,name=testTopic
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Queue,name=testQueue
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Queue,name=A
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=B
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=C
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=D
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=ex
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq:service=Invoker
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=TracingInterceptor
    jboss:service=Naming
  Depends On Me:
    jboss.mq:service=InvocationLayer,type=HTTP
    jboss.mq:service=InvocationLayer,type=JVM
    jboss.mq:service=InvocationLayer,type=UIL2

ObjectName: jboss.mq:service=TracingInterceptor
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=SecurityManager
  Depends On Me:
    jboss.mq:service=Invoker

ObjectName: jboss.mq:service=SecurityManager
  State: CONFIGURED
  I Depend On:
    jboss.security:service=JaasSecurityManager
    jboss.mq:service=DestinationManager
  Depends On Me:
    jboss.mq.destination:service=Topic,name=testTopic
    jboss.mq.destination:service=Topic,name=securedTopic
    jboss.mq.destination:service=Topic,name=testDurableTopic
    jboss.mq.destination:service=Queue,name=testQueue
    jboss.mq:service=TracingInterceptor
    jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq.destination:service=Queue,name=DLQ
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq:service=InvocationLayer,type=JVM
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=Invoker

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=Invoker

ObjectName: jboss.mq:service=InvocationLayer,type=UIL
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss.mq:service=InvocationLayer,type=UILXA
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss.jms:alias=QueueConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss.jms:alias=TopicConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  State: CONFIGURED
  I Depend On:
    jboss:service=invoker,type=jrmp
    jboss.jmx:type=adaptor,name=Invoker
    jboss:service=Naming
  Depends On Me:
    jboss.admin:service=PluginManager
    jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp

ObjectName: jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp
  State: CONFIGURED
  I Depend On:
    jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss:service=Mail
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

ObjectName: jboss:service=OpenKM
  State: CONFIGURED
  I Depend On:
    jboss:service=Naming

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Naming
  State: FAILED
  Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is: 
	java.net.BindException: Address already in use: JVM_Bind
  I Depend On:
    jboss.system:service=ThreadPool
    jboss:service=NamingBeanImpl
  Depends On Me:
    jboss.mq:service=DestinationManager
    jboss.mq:service=Invoker
    jboss.mq:service=InvocationLayer,type=UIL
    jboss.mq:service=InvocationLayer,type=UILXA
    jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
    jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
    jboss.jms:alias=QueueCo

2011-02-25 18:39:19,900 ERROR [com.openkm.util.DocConverter] [C:\OpenKM-5.0_JBoss-4.2.3.GA\jboss-4.2.3.GA\bin\pdf2swf, -T 9, C:\DOCUME~1\VAIBHA~1.BHA\LOCALS~1\Temp\okm58911.tmp, -o, C:\OpenKM-5.0_JBoss-4.2.3.GA\jboss-4.2.3.GA\cache\swf\812a4934-28f5-4fc2-9609-6804e93f1afa.swf]
2011-02-25 18:39:19,916 ERROR [com.openkm.util.DocConverter] Error in PDF to SWF conversion
java.io.IOException: Cannot run program "C:\OpenKM-5.0_JBoss-4.2.3.GA\jboss-4.2.3.GA\bin\pdf2swf": CreateProcess error=87, The parameter is incorrect
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)

Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect

	... 22 more
2011-02-25 18:39:31,318 ERROR [com.openkm.util.DocConverter] [C:\OpenKM-5.0_JBoss-4.2.3.GA\jboss-4.2.3.GA\bin\pdf2swf, -T 9, C:\DOCUME~1\VAIBHA~1.BHA\LOCALS~1\Temp\okm58912.tmp, -o, C:\OpenKM-5.0_JBoss-4.2.3.GA\jboss-4.2.3.GA\cache\swf\7835af94-889e-4767-8662-4d7275c484f2.swf]
2011-02-25 18:39:31,318 ERROR [com.openkm.util.DocConverter] Error in PDF to SWF conversion
java.io.IOException: Cannot run program "C:\OpenKM-5.0_JBoss-4.2.3.GA\jboss-4.2.3.GA\bin\pdf2swf": CreateProcess error=87, The parameter is incorrect
When I select the document, text, pdf and then select the preview tab the message at preview portion available as "There was a problem with the preview generation please, contact your OpenKM administrator".
Please help to run the preview.

Thanks in advance...
 #9176  by jllort
 
No no no no ,

You must install swftools and put that path, the bin\pdf2swf is a linux binary it'll not run there. Better if you put pdf2swf.exe
 #9199  by pavila
 
Also I can see other errors in your log:
Code: Select all
Port already in use: 1098;
This means that it say: another application is using this port. These king of JBoss error may lead in other weird errors, so fix it first of all.

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.