cancel
Showing results for 
Search instead for 
Did you mean: 

Errore di solr

monocromo
Champ in-the-making
Champ in-the-making
Ciao a tutti, sto riscontrando questo errore nella versione di alfresco 4.0.2, posto il log di catalina.out


19-mar-2013 11.50.34 org.alfresco.solr.tracker.CoreTracker trackRepository
GRAVE: Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 02190000 GetNodeMetaData return status is 500
   at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(SOLRAPIClient.java:721)
   at org.alfresco.solr.tracker.CoreTracker.indexNode(CoreTracker.java:1879)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1410)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)


ed il log di std_out

2013-03-19 11:50:33,651  ERROR [extensions.webscripts.AbstractRuntime] [http-8443-4] Exception from executeScript - redirecting to status template error: 02190041 Wrapped Exception (with status template): No live node exists:
   ID:        820
   Cache row: NodeEntity[ ID=820, version=3, store=workspace://SpacesStore, uuid=acd6f56b-76c2-41b1-a424-d8439822ae78, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=32, server=null, changeTxnId=2d246257-9939-4810-a990-414f06a1a49f, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=admin, auditCreated=2012-09-13T16:57:15.444+02:00, auditModifier=admin, auditModified=2012-09-13T16:57:15.444+02:00]]
   DB row:    NodeEntity[ ID=820, version=3, store=workspace://SpacesStore, uuid=acd6f56b-76c2-41b1-a424-d8439822ae78, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=32, server=null, changeTxnId=2d246257-9939-4810-a990-414f06a1a49f, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=admin, auditCreated=2012-09-13T16:57:15.444+02:00, auditModifier=admin, auditModified=2012-09-13T16:57:15.444+02:00]]
org.springframework.extensions.webscripts.WebScriptException: 02190041 Wrapped Exception (with status template): No live node exists:
   ID:        820
   Cache row: NodeEntity[ ID=820, version=3, store=workspace://SpacesStore, uuid=acd6f56b-76c2-41b1-a424-d8439822ae78, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=32, server=null, changeTxnId=2d246257-9939-4810-a990-414f06a1a49f, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=admin, auditCreated=2012-09-13T16:57:15.444+02:00, auditModifier=admin, auditModified=2012-09-13T16:57:15.444+02:00]]
   DB row:    NodeEntity[ ID=820, version=3, store=workspace://SpacesStore, uuid=acd6f56b-76c2-41b1-a424-d8439822ae78, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=32, server=null, changeTxnId=2d246257-9939-4810-a990-414f06a1a49f, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=admin, auditCreated=2012-09-13T16:57:15.444+02:00, auditModifier=admin, auditModified=2012-09-13T16:57:15.444+02:00]]
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:970)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:275)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.dao.ConcurrencyFailureException: No live node exists:
   ID:        820
   Cache row: NodeEntity[ ID=820, version=3, store=workspace://SpacesStore, uuid=acd6f56b-76c2-41b1-a424-d8439822ae78, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=32, server=null, changeTxnId=2d246257-9939-4810-a990-414f06a1a49f, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=admin, auditCreated=2012-09-13T16:57:15.444+02:00, auditModifier=admin, auditModified=2012-09-13T16:57:15.444+02:00]]
   DB row:    NodeEntity[ ID=820, version=3, store=workspace://SpacesStore, uuid=acd6f56b-76c2-41b1-a424-d8439822ae78, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=32, server=null, changeTxnId=2d246257-9939-4810-a990-414f06a1a49f, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=admin, auditCreated=2012-09-13T16:57:15.444+02:00, auditModifier=admin, auditModified=2012-09-13T16:57:15.444+02:00]]
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getNodeNotNull(AbstractNodeDAOImpl.java:981)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getParentAssocsCached(AbstractNodeDAOImpl.java:3586)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(AbstractNodeDAOImpl.java:3459)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(AbstractNodeDAOImpl.java:3575)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getPaths(AbstractNodeDAOImpl.java:3389)
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOLRTrackingComponentImpl.java:585)
   at sun.reflect.GeneratedMethodAccessor590.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy142.getNodesMetadata(Unknown Source)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(NodesMetaDataGet.java:181)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   … 25 more


Per provare a risolvere ho eseguito il reindex di solr il quale è andato a buon fine ma questo errore continua a permanere.
Alfresco funziona correttamente ma non funziona la ricerca ovvero, se cerco qualcosa non estrae nulla. Sapete aiutarmi?
Grazie e saluti
2 REPLIES 2

openpj
Elite Collaborator
Elite Collaborator
L'integrazione fatta da Alfresco con Solr è ancora acerba, suggerirei di passare a Lucene nativo oppure di integrarlo in modo custom con Solr.

Le integrazioni con Solr attualmente vanno ancora fatte in modo custom, forse nella prossima versione di Alfresco l'implementazione comincierà a dare i suoi frutti.

monocromo
Champ in-the-making
Champ in-the-making
Come sarebbe possibile farlo? Qual' è la procedura esatta per passare da solr a lucene?