OpenOffice Locking up System
A client is now having problems with openoffice locking up at various times
OS: Windows 10 64bit
I can see tomcat has launched OO but it isnt using CPU resources and the screen is stack with the grey out Please wait.... that Open uses when its working...
If I kill the OO process the system is released and if I then go into a client file and try and generate a OO letter it works intermittently
I think Open generated this error after I manually killed OO...
13 Oct 2016 17:10:30,690 WARN LoggerListener,http-bio-8080-exec-24:60 - - Authentication event InteractiveAuthenticationSuccessEvent: RW; details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffde5d4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: D229766FD3C400F618A9FC9283CA4989 13 Oct 2016 17:10:30,699 INFO SessionMonitor,http-bio-8080-exec-24:349 - RW - Active session, user=RW, address=0:0:0:0:0:0:0:1 13 Oct 2016 17:12:54,335 WARN OpenOfficeIMReport,http-bio-8080-exec-12:501 - RW - com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@172e719 is disposed com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@172e719 is disposed at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:699) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:620) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:146) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:123) at com.sun.proxy.$Proxy13.queryInterface(Unknown Source) at com.sun.star.uno.UnoRuntime.queryInterface(UnoRuntime.java:149) at com.sun.star.uno.UnoRuntime.queryInterface(UnoRuntime.java:177) at org.openvpms.report.openoffice.OpenOfficeDocument.close(OpenOfficeDocument.java:369) at org.openvpms.report.openoffice.OpenOfficeIMReport.close(OpenOfficeIMReport.java:499) at org.openvpms.report.openoffice.OpenOfficeIMReport.print(OpenOfficeIMReport.java:329) at org.openvpms.web.component.im.report.Reporter.print(Reporter.java:152) at org.openvpms.web.component.im.print.AbstractIMPrinter.print(AbstractIMPrinter.java:73) at org.openvpms.web.component.print.InteractivePrinter.doPrint(InteractivePrinter.java:424) at org.openvpms.web.component.print.InteractivePrinter.printDirect(InteractivePrinter.java:414) at org.openvpms.web.component.print.InteractivePrinter.print(InteractivePrinter.java:174) at org.openvpms.web.workspace.reporting.reminder.ReminderPrintProcessor.print(ReminderPrintProcessor.java:165) at org.openvpms.web.workspace.reporting.reminder.ReminderPrintProcessor.process(ReminderPrintProcessor.java:132) at org.openvpms.web.workspace.reporting.reminder.AbstractReminderProcessor.process(AbstractReminderProcessor.java:81) at org.openvpms.web.workspace.reporting.reminder.ReminderPrintProgressBarProcessor.process(ReminderPrintProgressBarProcessor.java:127) at org.openvpms.web.workspace.reporting.reminder.ReminderPrintProgressBarProcessor.process(ReminderPrintProgressBarProcessor.java:35) at org.openvpms.archetype.component.processor.AbstractAsynchronousBatchProcessor.process(AbstractAsynchronousBatchProcessor.java:73) at org.openvpms.web.component.processor.ProgressBarProcessor.process(ProgressBarProcessor.java:190) at org.openvpms.web.component.processor.BatchProcessorTask.start(BatchProcessorTask.java:96) at org.openvpms.web.component.workflow.AbstractTask.start(AbstractTask.java:115) at org.openvpms.web.component.workflow.WorkflowImpl.next(WorkflowImpl.java:200) at org.openvpms.web.component.workflow.WorkflowImpl.start(WorkflowImpl.java:161) at org.openvpms.web.component.workflow.WorkflowImpl.start(WorkflowImpl.java:147) at org.openvpms.web.workspace.reporting.reminder.ReminderGenerator$GenerationDialog.show(ReminderGenerator.java:519) at org.openvpms.web.workspace.reporting.reminder.ReminderGenerator.process(ReminderGenerator.java:279) at org.openvpms.web.workspace.reporting.reminder.ReminderWorkspace.generateReminders(ReminderWorkspace.java:240) at org.openvpms.web.workspace.reporting.reminder.ReminderWorkspace.generateReminders(ReminderWorkspace.java:218) at org.openvpms.web.workspace.reporting.reminder.ReminderWorkspace.access$300(ReminderWorkspace.java:65) at org.openvpms.web.workspace.reporting.reminder.ReminderWorkspace$4.onOK(ReminderWorkspace.java:186) at org.openvpms.web.echo.dialog.PopupDialogListener.onAction(PopupDialogListener.java:129) at org.openvpms.web.echo.dialog.PopupDialogListener.onClose(PopupDialogListener.java:40) at org.openvpms.web.echo.event.WindowPaneListener.windowPaneClosing(WindowPaneListener.java:37) at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154) at org.openvpms.web.echo.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:215) at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:795) at org.openvpms.web.echo.dialog.PopupDialog.userClose(PopupDialog.java:267) at org.openvpms.web.echo.dialog.MessageDialog.userClose(MessageDialog.java:109) at org.openvpms.web.echo.dialog.PopupWindow.close(PopupWindow.java:142) at org.openvpms.web.echo.dialog.PopupDialog.close(PopupDialog.java:422) at org.openvpms.web.echo.dialog.PopupDialog.onOK(PopupDialog.java:328) at org.openvpms.web.echo.dialog.PopupDialog.onButton(PopupDialog.java:299) at org.openvpms.web.echo.dialog.PopupDialog.onButtonProtected(PopupDialog.java:466) at org.openvpms.web.echo.dialog.PopupDialog.access$000(PopupDialog.java:34) at org.openvpms.web.echo.dialog.PopupDialog$3.onAction(PopupDialog.java:453) at org.openvpms.web.echo.event.ActionListener.actionPerformed(ActionListener.java:40) at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135) at echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120) at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70) at echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51) at echopointng.ButtonEx.processInput(ButtonEx.java:202) at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:471) at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) at org.openvpms.web.echo.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:178) at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.openvpms.web.echo.servlet.Log4JMDCUserFilter.doFilter(Log4JMDCUserFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) 13 Oct 2016 17:12:58,354 INFO SessionMonitor,http-bio-8080-exec-12:480 - RW - Scheduling monitor
I can generated jrxml fine -
The issue is occuring mainly when we Send all reminders - it just locks up and stays loading forever no error is generated ...we can open a new app window and work there so its just the 1 thread locking.
My gut feeling is that the lookup is occurring because the client has the default printer set to Microsft PDF generator
and because it wants to save a pdf and does know what to do it just hangs...
Thoughts?
Re: OpenOffice Locking up System
If the printer is set up to prompt to print to a file, this will certainly hang printing and prevent reminder generation.
If this is not the case, you can use jvisualvm or jstack to get a stack trace to see what's going on. Ctrl-Break in the window running java will also work.
Note that OVPMS-1810 was recently fixed to correct a bug where an unexpected shutdown of the OpenOffice connection could prevent subsequent prints via OpenOffice.