cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS Problem after upgrade to alfresco 4.0

neil_benn
Champ in-the-making
Champ in-the-making
Hello,

         I've just upgraded from Alfresco 3.4.d to 4.0.d.  We have a nightly routine that downloads every document in the document repository and stores that somewhere.  It is our final recourse in case Alfreso ever goes horribly wrong on us. However this is no longer working; when I access the site through CMIS - I can get to Company Home through the CMIS interface but underneath that I can only get to Guest Home and User Homes.  The Sites folder is no longer available to be accessed through the CMIS interface but I can get to it through explorer, share and CIFS.

  I don't know if it is important but I also have an error after upgrading which appears every 30 seconds or so:

3-3] Exception from executeScript - redirecting to status template error: 112701
37 Wrapped Exception (with status template): Node without parents does not have
root aspect: workspace://SpacesStore/017db069-9ff6-445f-bd20-0b30da110e74
org.springframework.extensions.webscripts.WebScriptException: 11270137 Wrapped
Exception (with status template): Node without parents does not have root aspect
: workspace://SpacesStore/017db069-9ff6-445f-bd20-0b30da110e74
        at org.springframework.extensions.webscripts.AbstractWebScript.createSta
tusException(AbstractWebScript.java:905)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(Repositor
yContainer.java:393)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecut
e(RepositoryContainer.java:462)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecut
eAs(RepositoryContainer.java:500)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(Repos
itoryContainer.java:275)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:372)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:209)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.se
rvice(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(Global
LocalizationFilter.java:58)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:558)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Node without parents does not have root a
spect: workspace://SpacesStore/017db069-9ff6-445f-bd20-0b30da110e74
        at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(Abstra
ctNodeDAOImpl.java:3453)
        at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getPaths(AbstractNo
deDAOImpl.java:3317)
        at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOL
RTrackingComponentImpl.java:562)
        at sun.reflect.GeneratedMethodAccessor432.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invok
e(SubsystemProxyFactory.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at $Proxy141.getNodesMetadata(Unknown Source)
        at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(Nodes
MetaDataGet.java:183)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
eImpl(DeclarativeWebScript.java:235)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:64)
        … 25 more

  I'm working on this error, I cannot find a reference to it in my datase, on the filesystem and I have removed and restarted the lucene-index - I don;t know if I need to do anything with SOLR as I'm not sure what it is doing!  I turned SOLR off (setting index.subsystem.name=lucene) and am using lucence.

Regards,

Neil
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
Can you give me the revision number of the Alfresco code you are running? You mentioned 4.0d but the most recent download is 4.0c, unless you are running a nightly build or building from source.

For the "Node without parents" problem, look at this post.

On CMIS, when you say you are going through the CMIS interface, can you be more specific?

Also, with Alfresco 4 the old CMIS URLs are now deprecated and there are new CMIS URLs. The new URL for the Atom Pub binding is:
http://localhost:8080/alfresco/cmisatom

Jeff

neil_benn
Champ in-the-making
Champ in-the-making
Hello,

        Apologies it is 4.0.b and I upgraded from 3.4.d - sorry about getting that wrong!  I am using the opencmis library from apache and I was indeed binding to the wrong address which only gave me part of the data I needed.  I used the url you supplied and it is all working fine now.

  Thanks very much for your assistance with this; I am now happily backing up the data.

Regards,

Neil