Setup ACS7.x and ASS2.x using distribution package along with local transformation service Part 1

cancel
Showing results for 
Search instead for 
Did you mean: 

Setup ACS7.x and ASS2.x using distribution package along with local transformation service Part 1

abhinavmishra14
Advanced
9 14 18.4K

Checkout this post to Setup ACS7.x and ASS2.x using distribution package along with local transformation service step by step:

https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html

14 Comments
abhinavmishra14
Advanced

Checkout this repo to reference directory structure and any files that are updated part of the intstallation steps: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/tree/main/linux-platform

khandah
Member II

Is there a clear way to install alfresco-search-service with https ^ Because the only way show is the enterprise one. Its been a month that I am fignting with it trying to show it to my students but no way. 

Hope someone hear me here.

Regards.

khandah
Member II

I need a Community install and configuration.

Thank you in advance.

khandah
Member II

I need the install for Alfresco 7.0 version a Search service 2

Regards

khandah
Member II

Thank you for your response. I really appreciate.

I followed the instructions listed here

@abhinavmishra14 wrote:

Checkout this post to Setup ACS7 and ASS2 using distribution package along with local transformation service step by step:

https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html

 

But now I am getting this error :

2021-08-01 22:40:00,500 ERROR [quartz.core.JobRunShell] [SearchScheduler_Worker-1] Job Solr.SolrWatcher threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 07010018 The server localhost failed to respond with a valid HTTP response
at org.alfresco.repo.search.impl.solr.AbstractSolrAdminHTTPClient.getOperation(AbstractSolrAdminHTTPClient.java:96)
at org.alfresco.repo.solr.SOLRAdminClient.executeAction(SOLRAdminClient.java:221)
at org.alfresco.repo.solr.SOLRAdminClient$SolrTracker.pingSolr(SOLRAdminClient.java:333)
at org.alfresco.repo.solr.SOLRWatcherJob.execute(SOLRWatcherJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.apache.commons.httpclient.ProtocolException: The server localhost failed to respond with a valid HTTP response
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1987)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.alfresco.repo.search.impl.solr.AbstractSolrAdminHTTPClient.getOperation(AbstractSolrAdminHTTPClient.java:73)
... 5 more
2021-08-01 22:40:00,506 ERROR [quartz.core.ErrorLogger] [SearchScheduler_Worker-1] Job (Solr.SolrWatcher threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 07010018 The server localhost failed to respond with a valid HTTP response]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 07010018 The server localhost failed to respond with a valid HTTP response
at org.alfresco.repo.search.impl.solr.AbstractSolrAdminHTTPClient.getOperation(AbstractSolrAdminHTTPClient.java:96)
at org.alfresco.repo.solr.SOLRAdminClient.executeAction(SOLRAdminClient.java:221)
at org.alfresco.repo.solr.SOLRAdminClient$SolrTracker.pingSolr(SOLRAdminClient.java:333)
at org.alfresco.repo.solr.SOLRWatcherJob.execute(SOLRWatcherJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
Caused by: org.apache.commons.httpclient.ProtocolException: The server localhost failed to respond with a valid HTTP response
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1987)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.alfresco.repo.search.impl.solr.AbstractSolrAdminHTTPClient.getOperation(AbstractSolrAdminHTTPClient.java:73)
... 5 more
2021-08-01 22:41:01,215 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-0.0.0.0-8080-exec-4] Exception from executeScript: 07010001 Wrapped Exception (with status template): 07010021 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 07010020 Failed to execute search: +@cm\:modified:[2021\-7\-25T00\:00\:00.000 TO 2021\-8\-1T23\:59\:59.999] +@cm\:modifier:"khandah" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fmSmiley Tongueost" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")

........


It's been a while that I am fighting with this installation process, but no way.

Thank you once again.

Khandah.

 

abhinavmishra14
Advanced

This error indicates that your solr setup is not correct, not running or unable to connect from acs.

org.alfresco.error.AlfrescoRuntimeException: 07010018 The server localhost failed to respond with a valid HTTP response

Please check your settings and configurations if they are as documented in the post. The post is specific about no SSL setup so if you are mixing both configurations you may end up with errors. 

I would suggest you do the no SSL setup first, test the connections and then switch to SSL based setup. 


khandah
Member II

Hi abhinavmishra14.

Once again, thank you for your response.

Yes It is working in non SSL, and even now, SOLR6 is working. I am using "Community" with "Current" version not the "classic" for generating keystore/truststore files.

Is there a way to check if certificates are OK when Alfresco is trying to communicate with SOLR6  ? Just to get the trace of this communication and to be sure that it is not the source of this error.

Thank you in advance.

kdaher
Member II

Is there any progress on this post ? I have the same problem. 

Thank you.

khandah
Member II

I think there is a bug here.

I think the best way is  to compile GitHub code. Because this is not working. We are here a group of 20 persons. And no one succeeded the zip install.

Regards.

abhinavmishra14
Advanced

@khandah I see non SSL setup is working fine for you. The post is specific to non-SSL setup. Create a new thread in the forum with specifics you have tried and someone would be able to provide directions. 

zapatista
Member II
abhinavmishra14
Advanced
George69
Member II

From ACS 7.x on-wards legacy transformation service is no longer available. We have to use the local transformation service if we have requirements for transformations/previews etc. Many folks in alfresco community are confused on setting up legacy Vs local transformation service. The purpose of this post is to document all the steps at one place when setting up ACS-7.0.0 manually using distribution package if docker / ansible is still not an option for you.


@abhinavmishra14 wrote:

Checkout this post to Setup ACS7.x and ASS2.x using distribution package along with local transformation service step by step:

https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html