Contact Us

Home > Error Trying > Error Trying To Query Openoffice Version Information

Error Trying To Query Openoffice Version Information

Infinite sum of logs puzzle Digital Diversity Any better way to determine source of light by analyzing the electromagnectic spectrum of the light Why do many statues in Volantis lack heads? This should not affect the operation of OOo."); // We have intentionally not logged the exception object here. } else { logger.warn("Error trying to query Open Office version information", oooRuntimeException); } See http://forums.alfresco.com/en/viewtopic.php?f=8&t=36246. I've added a catch clause that detects this problem and emits a slightly friendlier warning to the log.

OpenOffice.org's ConfigurationRegistry not implemented in this version of OOo. I would imagine it would require that but I will check. Reload to refresh your session. The warning message is friendlier now and displays like this: 2011-10-06 08:39:20,512 WARN [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-1] Error trying to query Open Office version information. https://issues.alfresco.com/jira/browse/ACE-2703

The ConfigurationRegistry, which is used to remotely query the OOo version, was not implemented in 3.3.0 and therefore gives an ugly (and unavoidable) exception on OOo startup. Expected Result: Alfresco is started successfully without any error NOTE: Issue is not reproduce on 4.2.3 build 09 IrinaGr AttachmentsOptionsSort By NameSort By DateAscendingDescendingThumbnailsListDownload AllAttachmentsalfresco.log28 kB08-Sep-14 05:53 PMActivity All Comments Work more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Browse other questions tagged alfresco alfresco-share or ask your own question.

Current version: 4.2.0 (4576) schema 6 022. maybe a bug upstream, or an API change... Method getServiceMethod = AbstractOpenOfficeConnection.class.getDeclaredMethod("getService", String.class); getServiceMethod.setAccessible(true); Object configurationRegistry = getServiceMethod.invoke(connection, "com.sun.star.configuration.ConfigurationRegistry"); XSimpleRegistry registry = (XSimpleRegistry) UnoRuntime.queryInterface( com.sun.star.registry.XSimpleRegistry.class, configurationRegistry); registry.open("org.openoffice.Setup", true, false); XRegistryKey root = registry.getRootKey(); XRegistryKey product = root.openKey("Product"); for (XRegistryKey I still however doubt this to the issue as The bin install exhibits the exact same problem and an installation on my osx is now exhibiting the same issue. –Dark Star1

I've added a catch clause that detects this problem and emits a slightly friendlier warning to the log. Board index The team • Delete all board cookies • All times are UTC + 1 hour [ DST ] Forum powered by phpBB © phpBB Group By any use of Reload to refresh your session. https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/5.1.a/root/projects/repository/source/java/org/alfresco/util/OpenOfficeConnectionTester.java This should not affect the operation of OOo. 2013-05-05 01:28:00,102 INFO [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-8] The OpenOffice connection was re-established. 2013-05-05 01:30:55,814 ERROR [alfresco.util.SocketOpenOfficeConnection] [MessageDispatcher] disconnected unexpectedly 2013-05-05 01:31:00,001 ERROR [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-7] The

Otherwise, the software is * provided under the following open source license terms: * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of You signed out in another tab or window. Which option did Harry Potter pick for the knight bus? alfresco alfresco-share share|improve this question edited May 7 '13 at 12:14 asked May 5 '13 at 10:08 Dark Star1 1,69073776 1 are you pointing to the correct location of openoffice.ext

cleared non-missing usages for 0 users 2013-05-05 01:27:28,652 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default] 2013-05-05 01:27:28,780 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete 2013-05-05 This should not affect the operation of OOo. And what about "double-click"? Thanks Show Samuel Langlois added a comment - 10-Sep-14 03:43 PM It looks like org.alfresco.util.OpenOfficeConnectionTester should be updated since we upgraded from LibreOffice 4.0 to 4.2.5 Can you please have a

Hide Permalink Sebastián de Echaniz (Inactive) added a comment - 10-May-11 05:30 PM It looks like the ConfigurationRegistry has been deprecated and substituted by ConfigurationProvider. These are not mandatory. DashboardsProjectsIssues Help JIRA Core help Keyboard Shortcuts About JIRA JIRA Credits Log In Export Tools Alfresco One PlatformACE-2703Log file contains error: Error trying to query Open Office version information.Log In ExportXMLWordPrintable Boolean connected = openOfficeConnectionTester.testAndConnectNoQueuing(); if (connected != null) { // Now log, if necessary if (OpenOfficeConnectionTesterJob.wasConnected == null) { // This is the first pass } else if (OpenOfficeConnectionTesterJob.wasConnected.booleanValue() == connected)

T his should not affect the operation of OOo. If not, see . * #L% */ package org.alfresco.util; import java.lang.reflect.Method; import java.net.ConnectException; import java.util.Map; import java.util.TreeMap; import java.util.concurrent.Semaphore; import net.sf.jooreports.openoffice.connection.AbstractOpenOfficeConnection; import net.sf.jooreports.openoffice.connection.OpenOfficeConnection; import org.alfresco.error.AlfrescoRuntimeException; import org.alfresco.repo.content.metadata.MetadataExtracterRegistry; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; Originally installed version: 4.2.0 (4576) schema 6 022. 2013-05-05 01:27:28,824 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] 2013-05-05 01:27:28,870 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete testAndConnect() : null; } finally { if (checking) { singleThreadSemaphore.release(); } } } public boolean testAndConnect() { synchronized (this.openOfficeMetadata) { PropertyCheck.mandatory(this, "connection", connection); if (!connection.isConnected()) { try { connection.connect(); } catch

This does not seem to affect the operation of the OOo process. // If we see this exception, which occurs in OOo 3.3.0, we'll shorten the exception log & make it Lets not block and then potentially wait for a timeout. If this component is {@link #setStrict(boolean) strict}, * then a disconnected {@link #setConnection(OpenOfficeConnection) connection} will result in a * runtime exception being generated. */ private void checkConnection() { String connectedMessage =

In the United States is racial, ethnic, or national preference an acceptable hiring practice for departments or companies in some situations?

You signed in with another tab or window. Make all the statements true Security Patch SUPEE-8788 - Possible Problems? Nothing was showing up in the error or debugging information so there's no way I can really say what caused this weird issue. With the exception that open/libreoffice is disabled.

Determine if a coin system is Canonical Why does the direction with highest eigenvalue have the largest semi-axis? I already had the repo instance running before hand but decided to re-install afresh as the wcmqs addon wouldn't work, since then I haven't been able to get an instance going. This should not affect the operation of OOo. The ConfigurationRegistry, which is used to remotely query the OOo version, was not implemented in 3.3.0 and therefore gives an ugly (and unavoidable) exception on OOo startup.

A word like "inappropriate", with a less extreme connotation Looking for a book that discusses differential topology/geometry from a heavy algebra/ category theory point of view How to deal with players How to make files protected? The warning message is friendlier now and displays like this: 2011-10-06 08:39:20,512 WARN [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-1] Error trying to query Open Office version information. final String exceptionMessage = oooRuntimeException.getMessage(); if (exceptionMessage != null && exceptionMessage.contains("com.sun.star.configuration.ConfigurationRegistry: not implemented")) { logger.warn("Error trying to query Open Office version information. " + "OpenOffice.org's ConfigurationRegistry not implemented in this version

Solution: First of all install required libraries for libreoffice: sudo apt-get install libice6 libsm6 libxt6 libxrender1 libxinerama libfontconfig1 libcups2 If you got error during installation like: E: Unable to locate package On startup, i have : 17:27:00,186 INFO [openoffice.connection.SocketOpenOfficeConnection] connected 17:27:00,234 WARN [alfresco.util.OpenOfficeConnectionTester] Error trying to query Open Office version information com.sun.star.uno.RuntimeException: com.sun.star.configuration.ConfigurationRegistry: not implemented at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182) at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148) at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344) at There's not much we can do here, beyond getting users to upgrade their OOo install. Terms Privacy Security Status Help You can't perform that action at this time.

ChristinaSh People Assignee: Closed Bugs Reporter: Romain Guinot Votes: 2 Vote for this issue Watchers: 3 Start watching this issue Dates Created: 17-Nov-10 04:36 PM Updated: 22-Mar-13 01:31 AM Resolved: 10-May-11 Join them; it only takes a minute: Sign up Alfresco tomcat hangs during startup up vote 0 down vote favorite I have more or less the same problem as this person. AttachmentsActivity All Comments Work Log History Activity Transitions Stateoscope SLA Overview Ascending order - Click to sort in descending order Hide Permalink Mike Hatfield added a comment - 07-Dec-10 10:10 PM There's not much we can do here, beyond getting users to upgrade their OOo install.

asked 3 years ago viewed 1624 times active 3 years ago Related 0How to extend toolbar.get.config.xml in Alfresco Share3alfresco subsite0How to access alfresco explorer from alfresco share0FSTR for Alfresco 3.40Rules requiring See http://forums.alfresco.com/en/viewtopic.php?f=8&t=36246 .