AnsweredAssumed Answered

Alfresco nodeRef ids are changing !

Question asked by zomurn on Jan 28, 2010
Latest reply on Jan 28, 2010 by zomurn
Hello,

I'am confronting to a big problem : the nodeRef.getId() is changing (based on PROP_UUID)
Indeed, in logs, when I import a document, I see for example :

11:54:17,549 User:fbonnot DEBUG [action.executer.MscImporterEmailFilingProcessor] Filed email into folder (/Alfresco/xxx/Emails) messageNodeRef=workspace://SpacesStore/9834592e-4070-49f2-976b-b177cb5e1bbe

Moreover, I store in database, this uuid so as to be able to keep track of the document : 9834592e-4070-49f2-976b-b177cb5e1bbe

But when I do a search noderef through node browser in alfresco like : workspace://SpacesStore/9834592e-4070-49f2-976b-b177cb5e1bbe

An comprehensive error occur like :

09:38:41,371 User:admin DEBUG [repo.transaction.RetryingTransactionHelper]
Transaction commit failed:
   Thread: http-8080-1
   Txn:    UserTransaction[object=org.alfresco.util.transaction.SpringAwareUserTransaction@50c9e451, status=0]
   Iteration: 0
   Exception follows:
org.alfresco.error.AlfrescoRuntimeException: Node workspace://SpacesStore/9834592e-4070-49f2-976b-b177cb5e1bbe does not exist.
   at org.alfresco.web.bean.admin.AdminNodeBrowseBean$1.execute(AdminNodeBrowseBean.java:702)
   at org.alfresco.web.bean.admin.AdminNodeBrowseBean$1.execute(AdminNodeBrowseBean.java:693)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:322)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:248)
   at org.alfresco.web.bean.admin.AdminNodeBrowseBean.submitSearch(AdminNodeBrowseBean.java:722)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
   at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
   at javax.faces.component.UICommand.broadcast(UICommand.java:109)
   at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
   at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
   at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
   at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
   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.AdminAuthenticationFilter.doFilter(AdminAuthenticationFilter.java:80)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
   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.core.StandardHostValve.invoke(StandardHostValve.java:128)
   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:286)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:619)
09:41:57,553 User:System INFO  [james.imapserver.JamesServerContext] Closing com.opsera.omm.james.imapserver.JamesServerContext@756bc363: display name [com.opsera.omm.james.imapserver.JamesServerContext@756bc363]; startup date [Wed Jan 27 18:42:30 CET 2010]; parent: org.alfresco.config.JBossEnabledWebApplicationContext@59050a0
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

Can you advice me about "How alfresco identify documents uniquely"

Thanks you

Outcomes