Skip to Content
0
Oct 28, 2015 at 08:57 AM

405 Method Not Found While Indexing

316 Views

Hi,

I am trying to use a standalone Solr Server on the same system as Hybris is installed. I have commented out the solrserver extension in localextensions.xml. While running the indexer, I am getting HTTP 1.1/405 Method Not Found

Please find the log below.

INFO [hybrisHTTP38] [SolrIndexerOperationWizard] Perform cronjob with code: 00000334 INFO [00000334::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (00000334) [AbstractReplicationCallback] disable replicatio INFO [00000334::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (00000334) [AbstractReplicationCallback] enableReplicationO WARN [00000334::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (00000334) [SolrIndexerJob] Error during indexer call: powe de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: de.hybris.platform.solrfacetsearch.config.exceptions.FacetConfigExp 405 Method Not Allowed at de.hybris.platform.solrfacetsearch.indexer.listeners.ConfigurationExporterListener.beforeIndex(ConfigurationExporterListener.jav at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerContextFactory.executeBeforeIndexListeners(DefaultIndexerContextFa at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerContextFactory.initializeContext(DefaultIndexerContextFactory.java at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy.doExecute(DefaultIndexerStrategy.java:354) at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy.execute(DefaultIndexerStrategy.java:326) at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerService.performFullIndex(DefaultIndexerService.java:70) at de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob.performIndexingJob(SolrIndexerJob.java:71) at de.hybris.platform.solrfacetsearch.indexer.cron.AbstractIndexerJob.perform(AbstractIndexerJob.java:41) at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38) at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1274) at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:794) at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:747) at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:667) at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:198) Caused by: de.hybris.platform.solrfacetsearch.config.exceptions.FacetConfigExportException: Update synonyms failed. 405 Method Not Allowed at de.hybris.platform.solrfacetsearch.config.impl.ManagedSolrSynonymsService.handleException(ManagedSolrSynonymsService.java:113) at de.hybris.platform.solrfacetsearch.config.impl.ManagedSolrSynonymsService.exportSynonyms(ManagedSolrSynonymsService.java:101) at de.hybris.platform.solrfacetsearch.config.impl.ManagedSolrSynonymsService.exportSynonyms(ManagedSolrSynonymsService.java:67) at de.hybris.platform.solrfacetsearch.config.impl.DefaultSolrSynonymsService.exportSynonyms(DefaultSolrSynonymsService.java:67) at de.hybris.platform.solrfacetsearch.indexer.listeners.ConfigurationExporterListener.beforeIndex(ConfigurationExporterListener.jav ... 13 more Caused by: org.springframework.web.client.HttpClientErrorException: 405 Method Not Allowed at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:614) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:570) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:530) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:330) at de.hybris.platform.solrfacetsearch.solr.impl.AbstractSolrRestService.createManagedResource(AbstractSolrRestService.java:71) at de.hybris.platform.solrfacetsearch.config.impl.ManagedSolrSynonymsService.getSynonymsFromServer(ManagedSolrSynonymsService.java: at de.hybris.platform.solrfacetsearch.config.impl.ManagedSolrSynonymsService.exportSynonyms(ManagedSolrSynonymsService.java:193) at de.hybris.platform.solrfacetsearch.config.impl.ManagedSolrSynonymsService.exportSynonyms(ManagedSolrSynonymsService.java:90) ... 16 more

Regards, Shakti