Case #130578: docverse not working steadly in 4552


Description:


Hi Jive,
we are having problems with docverse. It seems that docverse, which is on a separate server sometimes just stops working.
The joosd.log reports:
2011-05-27 06:54:53,909 [DEBUG] - Worker stdout=['Fontconfig error: Cannot load default config file\n', 'Warning: at xsl:stylesheet on line 32 of file:///usr/local/jive/opt/openoffice.org/basis3.2/share/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl:\n', '  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor\n', 'Warning: on line 4470 of file:///usr/local/jive/opt/openoffice.org/basis3.2/share/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl:\n', '  Creating an attribute here will fail if previous instructions create any children\n', 'Error \n', '  com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2\n', '  of 2-byte UTF-8 sequence.\n', 'Error \n', '  com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2\n', '  of 2-byte UTF-8 sequence.\n', '#\n', '# A fatal error has been detected by the Java Runtime Environment:\n', '#\n', '#  SIGSEGV (0xb) at pc=0x00002aaaae737b5f, pid=29118, tid=47975007848528\n', '#\n', '# JRE version: 6.0_21-b06\n', '# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 )\n', '# Problematic frame:\n', '# C  [libgcc3_uno.so+0x3b5f]\n', '#\n', '# An error report file with more information is saved as:\n', '# /usr/local/jive/hs_err_pid29118.log\n', '#\n', '# If you would like to submit a bug report, please visit:\n', '#   http://java.sun.com/webapps/bugreport/crash.jsp\n', '#\n', '\n', '[error occurred during error reporting , id 0xb]\n', '\n'];stderr=None
The hs_err_pid29118.log is attached.
After restarting and waiting for more than an hour docverse works again. Partly.
Docverse and SBS is runing 4.5.5.2. On SBS we have a modifired docverse.jar from https://community.jivesoftware.com/message/673315#673315.
The sbs-docverse.log on SBS reports there errors which might be related:
30 May 2011 13:46:34,367 [SimpleAsyncTaskExecutor-486] [:u144770adm] ERROR workflow.JmsWorkflowDispatcher - org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format.
30 May 2011 11:18:15,431 [pool-12-thread-1] [:] ERROR converters.OpenOfficeDocumentConverter - Error occured getting connection to openoffice
java.net.ConnectException: connection failed: socket,host=57.20.62.136,port=8812,tcpNoDelay=1: java.net.ConnectException: Connection refused
        at com.docverse.dpe.converters.OpenOfficeConnection.connect(OpenOfficeConnection.java:106)
        at com.docverse.dpe.converters.OpenOfficeConnectionObjectFactory.makeObject(OpenOfficeConnectionObjectFactory.java:51)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.getConnection(OpenOfficeDocumentConverter.java:170)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.convertToPdf(OpenOfficeDocumentConverter.java:109)
        at com.docverse.dpe.workflow.listeners.GeneratePdfMessageListener.performJob(GeneratePdfMessageListener.java:97)
        at com.docverse.dpe.workflow.WorkflowJob.onMessage(WorkflowJob.java:100)
        at sun.reflect.GeneratedMethodAccessor1998.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
        at $Proxy94.onMessage(Unknown Source)
        at org.jencks.XAEndpoint.onMessage(XAEndpoint.java:129)
        at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
        at org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
        at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:735)
        at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
        at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
30 May 2011 11:18:15,432 [pool-12-thread-1] [:] ERROR converters.OpenOfficeDocumentConverter - Error connecting/calling openoffice
java.lang.RuntimeException: java.net.ConnectException: connection failed: socket,host=57.20.62.136,port=8812,tcpNoDelay=1: java.net.ConnectException: Connection refused
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.getConnection(OpenOfficeDocumentConverter.java:173)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.convertToPdf(OpenOfficeDocumentConverter.java:109)
        at com.docverse.dpe.workflow.listeners.GeneratePdfMessageListener.performJob(GeneratePdfMessageListener.java:97)
        at com.docverse.dpe.workflow.WorkflowJob.onMessage(WorkflowJob.java:100)
        at sun.reflect.GeneratedMethodAccessor1998.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
        at $Proxy94.onMessage(Unknown Source)
        at org.jencks.XAEndpoint.onMessage(XAEndpoint.java:129)
        at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
        at org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
        at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:735)
        at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
        at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: connection failed: socket,host=57.20.62.136,port=8812,tcpNoDelay=1: java.net.ConnectException: Connection refused
        at com.docverse.dpe.converters.OpenOfficeConnection.connect(OpenOfficeConnection.java:106)
        at com.docverse.dpe.converters.OpenOfficeConnectionObjectFactory.makeObject(OpenOfficeConnectionObjectFactory.java:51)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.getConnection(OpenOfficeDocumentConverter.java:170)
        ... 19 more
Back to the current situation. New documents that I upload get converted. I also checked the documents from users, which also got converted. But some older documents do not convert, after clicking "Click to try converting the document again" they are stuck in either "Currently on step 2 of 3: processing document " or "Currently on step 3 of 3: generating previews".
In the admin console System > Management > Document Conversion Status (admin/manage-dv-documents.jspa) I have hunderds of document in status ERROR. What is the best pratice to clean up that list and create the failed previews?
best regards,
Nils

Hi Jive,

 

we are having problems with docverse. It seems that docverse, which is on a separate server sometimes just stops working.

 

The joosd.log reports:

 

2011-05-27 06:54:53,909 [DEBUG] - Worker stdout=['Fontconfig error: Cannot load default config file\n', 'Warning: at xsl:stylesheet on line 32 of file:///usr/local/jive/opt/openoffice.org/basis3.2/share/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl:\n', '  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor\n', 'Warning: on line 4470 of file:///usr/local/jive/opt/openoffice.org/basis3.2/share/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl:\n', '  Creating an attribute here will fail if previous instructions create any children\n', 'Error \n', '  com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2\n', '  of 2-byte UTF-8 sequence.\n', 'Error \n', '  com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2\n', '  of 2-byte UTF-8 sequence.\n', '#\n', '# A fatal error has been detected by the Java Runtime Environment:\n', '#\n', '#  SIGSEGV (0xb) at pc=0x00002aaaae737b5f, pid=29118, tid=47975007848528\n', '#\n', '# JRE version: 6.0_21-b06\n', '# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 )\n', '# Problematic frame:\n', '# C  [libgcc3_uno.so+0x3b5f]\n', '#\n', '# An error report file with more information is saved as:\n', '# /usr/local/jive/hs_err_pid29118.log\n', '#\n', '# If you would like to submit a bug report, please visit:\n', '#   http://java.sun.com/webapps/bugreport/crash.jsp\n', '#\n', '\n', '[error occurred during error reporting , id 0xb]\n', '\n'];stderr=None

 

The hs_err_pid29118.log is attached.

 

After restarting and waiting for more than an hour docverse works again. Partly.

 

Docverse and SBS is running 4.5.5.2. On SBS we have a modified docverse.jar from https://community.jivesoftware.com/message/673315#673315.

 

The sbs-docverse.log on SBS reports there errors which might be related:

 

30 May 2011 13:46:34,367 [SimpleAsyncTaskExecutor-486] [:u144770adm] ERROR workflow.JmsWorkflowDispatcher - org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format.

 

 

30 May 2011 11:18:15,431 [pool-12-thread-1] [:] ERROR converters.OpenOfficeDocumentConverter - Error occured getting connection to openoffice
java.net.ConnectException: connection failed: socket,host=57.20.62.136,port=8812,tcpNoDelay=1: java.net.ConnectException: Connection refused
        at com.docverse.dpe.converters.OpenOfficeConnection.connect(OpenOfficeConnection.java:106)
        at com.docverse.dpe.converters.OpenOfficeConnectionObjectFactory.makeObject(OpenOfficeConnectionObjectFactory.java:51)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.getConnection(OpenOfficeDocumentConverter.java:170)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.convertToPdf(OpenOfficeDocumentConverter.java:109)
        at com.docverse.dpe.workflow.listeners.GeneratePdfMessageListener.performJob(GeneratePdfMessageListener.java:97)
        at com.docverse.dpe.workflow.WorkflowJob.onMessage(WorkflowJob.java:100)
        at sun.reflect.GeneratedMethodAccessor1998.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
        at $Proxy94.onMessage(Unknown Source)
        at org.jencks.XAEndpoint.onMessage(XAEndpoint.java:129)
        at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
        at org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
        at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:735)
        at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
        at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
30 May 2011 11:18:15,432 [pool-12-thread-1] [:] ERROR converters.OpenOfficeDocumentConverter - Error connecting/calling openoffice
java.lang.RuntimeException: java.net.ConnectException: connection failed: socket,host=57.20.62.136,port=8812,tcpNoDelay=1: java.net.ConnectException: Connection refused
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.getConnection(OpenOfficeDocumentConverter.java:173)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.convertToPdf(OpenOfficeDocumentConverter.java:109)
        at com.docverse.dpe.workflow.listeners.GeneratePdfMessageListener.performJob(GeneratePdfMessageListener.java:97)
        at com.docverse.dpe.workflow.WorkflowJob.onMessage(WorkflowJob.java:100)
        at sun.reflect.GeneratedMethodAccessor1998.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
        at $Proxy94.onMessage(Unknown Source)
        at org.jencks.XAEndpoint.onMessage(XAEndpoint.java:129)
        at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
        at org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
        at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:735)
        at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
        at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: connection failed: socket,host=57.20.62.136,port=8812,tcpNoDelay=1: java.net.ConnectException: Connection refused
        at com.docverse.dpe.converters.OpenOfficeConnection.connect(OpenOfficeConnection.java:106)
        at com.docverse.dpe.converters.OpenOfficeConnectionObjectFactory.makeObject(OpenOfficeConnectionObjectFactory.java:51)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
        at com.docverse.dpe.converters.OpenOfficeDocumentConverter.getConnection(OpenOfficeDocumentConverter.java:170)
        ... 19 more

 

 

Back to the current situation. New documents that I upload get converted. I also checked the documents from users, which also got converted. But some older documents do not convert, after clicking "Click to try converting the document again" they are stuck in either "Currently on step 2 of 3: processing document " or "Currently on step 3 of 3: generating previews".

 

In the admin console System > Management > Document Conversion Status (admin/manage-dv-documents.jspa) I have hundreds of documents in status ERROR. What is the best pratise to clean up that list and create the failed previews?

 

best regards,

Nils

Latest Comment: May 31, 2011 9:13 AM by Nils Bolsen

Comments

More Like This