Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-94004

Redeploying Elasticsearch Connector: "java.util.ServiceConfigurationError: org.elasticsearch.common.xcontent.XContentBuilderExtension: Provider org.elasticsearch.common.xcontent.XContentElasticsearchExtension not a subtype"

    Details

      Description

      Steps to reproduce

      Gogo Shell.

      Stop the OSGi bundle: "Liferay Portal Search Elasticsearch 6 Implementation".

      Start it again.

      Expected: Search operates normally, clean logs.

      Observed: Search ceases operation. Logs as follows. Must restart Liferay.

      java.util.ServiceConfigurationError: org.elasticsearch.common.xcontent.XContentBuilderExtension: Provider org.elasticsearch.common.xcontent.XContentElasticsearchExtension not a subtype
      at java.util.ServiceLoader.fail(ServiceLoader.java:239)
      at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
      at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      at org.elasticsearch.common.xcontent.XContentBuilder.<clinit>(XContentBuilder.java:118)
      at org.elasticsearch.common.settings.Setting.arrayToParsableString(Setting.java:1257)
      at org.elasticsearch.common.settings.Setting.access$800(Setting.java:87)
      at org.elasticsearch.common.settings.Setting$ListSetting.innerGetRaw(Setting.java:1292)
      at org.elasticsearch.common.settings.Setting.getRaw(Setting.java:450)
      at org.elasticsearch.common.settings.Setting.get(Setting.java:402)
      at org.elasticsearch.common.settings.Setting.get(Setting.java:398)
      at org.elasticsearch.env.Environment.<init>(Environment.java:116)
      at org.elasticsearch.env.Environment.<init>(Environment.java:94)
      at com.liferay.portal.search.elasticsearch6.internal.connection.PluginManagerFactoryImpl.doCreatePluginManager(PluginManagerFactoryImpl.java:42)
      at com.liferay.portal.search.elasticsearch6.internal.connection.PluginManagerFactoryImpl.createPluginManager(PluginManagerFactoryImpl.java:33)
      at com.liferay.portal.search.elasticsearch6.internal.connection.EmbeddedElasticsearchPluginManager.removeObsoletePlugin(EmbeddedElasticsearchPluginManager.java:67)
      at com.liferay.portal.search.elasticsearch6.internal.connection.EmbeddedElasticsearchConnection.removeObsoletePlugin(EmbeddedElasticsearchConnection.java:424)
      at com.liferay.portal.search.elasticsearch6.internal.connection.EmbeddedElasticsearchConnection.installPlugins(EmbeddedElasticsearchConnection.java:387)
      at com.liferay.portal.search.elasticsearch6.internal.connection.EmbeddedElasticsearchConnection.createClient(EmbeddedElasticsearchConnection.java:293)
      at com.liferay.portal.search.elasticsearch6.internal.connection.BaseElasticsearchConnection.connect(BaseElasticsearchConnection.java:65)
      at com.liferay.portal.search.elasticsearch6.internal.connection.ElasticsearchConnectionManager.connect(ElasticsearchConnectionManager.java:59)
      at com.liferay.portal.search.elasticsearch6.internal.ElasticsearchEngineConfigurator.initialize(ElasticsearchEngineConfigurator.java:92)
      at com.liferay.portal.kernel.search.BaseSearchEngineConfigurator$1.dependenciesFulfilled(BaseSearchEngineConfigurator.java:79)
      at com.liferay.registry.dependency.ServiceDependencyManager.verifyDependencies(ServiceDependencyManager.java:146)
      at com.liferay.registry.dependency.ServiceDependencyManager$ServiceDependencyServiceTrackerCustomizer.addingService(ServiceDependencyManager.java:242)
      at com.liferay.registry.internal.ServiceTrackerCustomizerAdapter.addingService(ServiceTrackerCustomizerAdapter.java:35)
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943)
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
      at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
      at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
      at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:321)

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 weeks, 1 day ago

                Packages

                Version Package
                7.2.0 GA1