cancel
Showing results for 
Search instead for 
Did you mean: 

Error org.alfresco.service.cmr.avm.AVMNotFoundException:Stor

jagruti
Champ in-the-making
Champ in-the-making
HI many times i am getting following error
org.alfresco.service.cmr.avm.AVMNotFoundException: Store not found.

While workflow, creating the content, etc.
What is the main cause of the error
The Detail log are posted below
Please help
Thanks,
Jagruti


org.alfresco.service.cmr.avm.AVMNotFoundException: Store not found.
        at org.alfresco.repo.avm.AVMRepository.queryStorePropertyKey(AVMReposito
ry.java:2011)
        at org.alfresco.repo.avm.AVMServiceImpl.queryStorePropertyKey(AVMService
Impl.java:1151)
        at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:154)
        at org.alfresco.repo.transaction.TransactionResourceInterceptor.invoke(T
ransactionResourceInterceptor.java:138)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:210)
        at $Proxy2.queryStorePropertyKey(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:154)
        at org.alfresco.repo.search.AVMSnapShotTriggeredIndexingMethodIntercepto
r.invoke(AVMSnapShotTriggeredIndexingMethodInterceptor.java:154)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(Retryi
ngTransactionAdvice.java:94)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:210)
        at $Proxy2.queryStorePropertyKey(Unknown Source)
        at org.alfresco.web.bean.wcm.AVMUtil.lookupStoreDNS(AVMUtil.java:785)
        at org.alfresco.web.bean.wcm.AVMUtil.buildStoreUrl(AVMUtil.java:692)
        at org.alfresco.web.forms.xforms.XFormsBean.rewriteInlineURIs(XFormsBean
.java:544)
        at org.alfresco.web.forms.xforms.XFormsBean.getXFormsDocument(XFormsBean
.java:683)
        at org.alfresco.web.forms.xforms.XFormsBean.setXFormsSession(XFormsBean.
java:228)
        at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor
.java:141)
        at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor
.java:122)
        at org.alfresco.web.ui.wcm.component.UIFormProcessor.encodeBegin(UIFormP
rocessor.java:123)
        at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:467
)
        at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:320)

        at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_0
02dxml_jsp._jspx_meth_wcm_005fformProcessor_005f0(create_002dxml_jsp.java:97)
        at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_0
02dxml_jsp._jspService(create_002dxml_jsp.java:70)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:331)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
29)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:594)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:505)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
.java:965)
        at org.apache.jsp.jsp.wizard.container_jsp._jspService(container_jsp.jav
a:532)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:331)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
29)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:301)
        at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
h(ServletExternalContextImpl.java:419)
        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
iewHandlerImpl.java:211)
        at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderRes
ponseExecutor.java:41)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
132)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(Authentica
tionFilter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
        at java.lang.Thread.run(Thread.java:595)
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
Please raise a more detailed report in JIRA and we'll take a look.

Kevin

micsanchez
Champ in-the-making
Champ in-the-making
Hi I have the error as well. I import an acp. All is fine. When I click on the web project I have the error below. I use Alfresco communauty WCM 2.1, with MySQL and Windows XP. I also enclose the package.xml file ()
named msatest.xml.

The error:

javax.faces.FacesException: Cannot get value for expression '#{AVMBrowseBean.webappsSize > 1}'
caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{AVMBrowseBean.webappsSize > 1}'
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{AVMBrowseBean.webappsSize > 1}'
caused by:
javax.faces.el.EvaluationException: Exception getting value of property webappsSize of base of type : org.alfresco.web.bean.wcm.AVMBrowseBean
caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wcm.AVMBrowseBean, property: webappsSize
caused by:
java.lang.reflect.InvocationTargetException
caused by:
org.alfresco.service.cmr.avm.AVMNotFoundException: Store not found.


The msatest.xml:

<?xml version="1.0" encoding="UTF-8"?>
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0">
  <view:metadata>
    <view:exportBy>admin</view:exportBy>
    <view:exportDate>2008-03-12T16:36:44.941+01:00</view:exportDate>
    <view:exporterVersion>2.1.0 (482)</view:exporterVersion>
    <view:exportOf>/app:company_home/app:wcm</view:exportOf>
  </view:metadata>


  <wca:webfolder xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:alf="http://www.alfresco.org" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:wf="http://www.alfresco.org/model/workflow/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:wcm="http://www.alfresco.org/model/wcmmodel/1.0" xmlns:wca="http://www.alfresco.org/model/wcmappmodel/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:wcmwf="http://www.alfresco.org/model/wcmworkflow/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:bpm="http://www.alfresco.org/model/bpm/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:custom="custom.model" xmlns:reg="http://www.alfresco.org/system/registry/1.0" xmlns:module="http://www.alfresco.org/system/modules/1.0" xmlns="" view:childName="cmSmiley FrustratedtorageFolder20080312_17h07">
    <view:aspects>
      <cm:auditable></cm:auditable>
      <app:uifacets></app:uifacets>
      <sys:referenceable></sys:referenceable>
    </view:aspects>
    <viewSmiley Tongueroperties>
      <wca:deployto>
        <view:values></view:values>
      </wca:deployto>
      <wca:defaultwebapp>ROOT</wca:defaultwebapp>
      <cm:description></cm:description>
      <app:icon>space-icon-website</app:icon>
      <sys:node-uuid>63e8ebba-f049-11dc-853a-4fde9853a494</sys:node-uuid>
      <sys:node-dbid>752</sys:node-dbid>
      <cm:title></cm:title>
      <cm:created>2008-03-12T16:31:31.423+01:00</cm:created>
      <cm:modifier>admin</cm:modifier>
      <cm:modified>2008-03-12T16:31:32.423+01:00</cm:modified>
      <cm:creator>admin</cm:creator>
      <sys:store-protocol>workspace</sys:store-protocol>
      <wca:avmstore>StorageFolder20080312_17h07</wca:avmstore>
      <cm:name>StorageFolder20080312_17h07</cm:name>
      <sys:store-identifier>SpacesStore</sys:store-identifier>
    </viewSmiley Tongueroperties>
    <view:associations>
      <wca:webuser>
        <wca:webuser view:childName="wca:webuser">
          <view:aspects>
            <sys:referenceable></sys:referenceable>
          </view:aspects>
          <viewSmiley Tongueroperties>
            <wca:username>admin</wca:username>
            <sys:node-uuid>6445ffea-f049-11dc-853a-4fde9853a494</sys:node-uuid>
            <sys:node-dbid>753</sys:node-dbid>
            <sys:store-protocol>workspace</sys:store-protocol>
            <cm:name>6445ffea-f049-11dc-853a-4fde9853a494</cm:name>
            <sys:store-identifier>SpacesStore</sys:store-identifier>
            <wca:role>ContentManager</wca:role>
          </viewSmiley Tongueroperties>
          <view:associations></view:associations>
        </wca:webuser>
      </wca:webuser>

       <cm:contains>
        <cm:content xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:alf="http://www.alfresco.org" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:wf="http://www.alfresco.org/model/workflow/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:wcm="http://www.alfresco.org/model/wcmmodel/1.0" xmlns:wca="http://www.alfresco.org/model/wcmappmodel/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:wcmwf="http://www.alfresco.org/model/wcmworkflow/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:bpm="http://www.alfresco.org/model/bpm/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:custom="custom.model" xmlns:reg="http://www.alfresco.org/system/registry/1.0" xmlns:module="http://www.alfresco.org/system/modules/1.0" xmlns="" view:childName="cm:testingDocument">
          <view:aspects>
            <cm:titled></cm:titled>
            <cm:auditable></cm:auditable>
            <sys:referenceable></sys:referenceable>
            <cm:author></cm:author>
            <app:inlineeditable></app:inlineeditable>
          </view:aspects>
          <viewSmiley Tongueroperties>
            <app:editInline>true</app:editInline>
            <cm:description></cm:description>
            <sys:node-uuid>3e32172e-ef59-11dc-8e33-a73fdba039e3</sys:node-uuid>
            <sys:node-dbid>652</sys:node-dbid>
            <cm:content>contentUrl=msatest\active_monitoring_en.xml|mimetype=text/xml|size=4|encoding=UTF-8|locale=fr_FR_</cm:content>
            <cm:title>CM TITLE Active Monitoring test doc 20080312_17h07</cm:title>
            <cm:author>Michaël Sanchez</cm:author>
            <cm:created>2008-03-11T11:52:28.918+01:00</cm:created>
            <cm:modifier>admin</cm:modifier>
            <cm:modified>2008-03-11T11:52:49.193+01:00</cm:modified>
            <cm:creator>admin</cm:creator>
            <sys:store-protocol>workspace</sys:store-protocol>
            <cm:name>CM NAME Active Monitoring test doc 20080312_17h07</cm:name>
            <sys:store-identifier>SpacesStore</sys:store-identifier>
          </viewSmiley Tongueroperties>
          <view:associations></view:associations>
        </cm:content>
       </cm:contains>

    </view:associations>
   

  </wca:webfolder>
</view:view>