cancel
Showing results for 
Search instead for 
Did you mean: 

WCM 2.1 Evaluation Guide

daxter123
Champ in-the-making
Champ in-the-making
I am using Alfresco Lab 3 version on windows xp. When i am following the WCM 2.1 Evaluation Guide to learn how WCM works. I getting the following error.
Get this error when i try to create xml assest of "Press releases" present on page 41.


21:24:40,375 WARN  [org.alfresco.web.bean.wcm.CreateFormWizard] non fatal errors encountered parsing schema press-release.xsd
error parsing schema:
at line 51 column 114: src-resolve: Cannot resolve the name 'pr:company_footer_choices' to a(n) 'type definition' component.

22:32:02,437 ERROR [org.alfresco.web.ui.common.Utils] Store not found.
org.alfresco.service.cmr.avm.AVMNotFoundException: Store not found.
   at org.alfresco.repo.avm.AVMRepository.queryStorePropertyKey(AVMRepository.java:2344)
   at org.alfresco.repo.avm.AVMServiceImpl.queryStorePropertyKey(AVMServiceImpl.java:1154)
   at sun.reflect.GeneratedMethodAccessor913.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:52)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy6.queryStorePropertyKey(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor913.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.search.AVMSnapShotTriggeredIndexingMethodInterceptor.invoke(AVMSnapShotTriggeredIndexingMethodInterceptor.java:153)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:52)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:70)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
   at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:73)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy6.queryStorePropertyKey(Unknown Source)
   at org.alfresco.wcm.util.WCMUtil.lookupStoreDNS(WCMUtil.java:479)
   at org.alfresco.wcm.util.WCMUtil.buildStoreUrl(WCMUtil.java:436)
   at org.alfresco.web.bean.wcm.AVMUtil.buildStoreUrl(AVMUtil.java:278)
   at org.alfresco.web.forms.xforms.XFormsBean.rewriteInlineURIs(XFormsBean.java:610)
   at org.alfresco.web.forms.xforms.XFormsBean.getXFormsDocument(XFormsBean.java:756)
   at org.alfresco.web.forms.xforms.XFormsBean.setXFormsSession(XFormsBean.java:229)
   at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor.java:146)
   at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor.java:127)
   at org.alfresco.web.ui.wcm.component.UIFormProcessor.encodeBegin(UIFormProcessor.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_002dxml_jsp._jspx_meth_wcm_005fformProcessor_005f0(create_002dxml_jsp.java:107)
   at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_002dxml_jsp._jspService(create_002dxml_jsp.java:75)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
   at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
   at org.apache.jsp.jsp.wizard.container_jsp._jspService(container_jsp.java:548)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
   at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
   at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.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(ApplicationFilterChain.java:290)
   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)

I am step by step following the guide. If the guide is not wrong then i should not get this error. Please help its giving me very hard time.

Beside this anyone can tell me good resources to learn more about WCM.
2 REPLIES 2

ben
Champ in-the-making
Champ in-the-making
Hi,

Have you installed the "company footer"  first?  You also actually need to create an item using the company footer form form as the press release form dynamically picks up the footer items.

Secondly make sure that both forms are writing the content to the correct directory, as the press release may be looking in the wrong dir for the footer items.

Regards, Ben.

daxter123
Champ in-the-making
Champ in-the-making
Thanks Ben for reply.

Yes first i had created the company profile form and generated the xml assets through it.

I am step by step following the guide. so there is no chance of error (if the guide is fine). Here is the info which i am using for generation


Title: Company Profile Form
Description: This form provides a summary overview of a company. These summaries are included in press releases.
Output path: ${name}.xml

Title: Press Release Form
Description: This form is used to create press releases for www, including both HTML and printer-friendly versions.
Output path: ${name}.xml

Title: Press Release HTML Template
Description: This template pre-generates an HTML page for www.
Rendition mimetype: HTML (confirm default selection)
Output path: ${name}.${extension} (confirm default value)

Title: Press Release Plain Text Template
Description: This template pre-generates a printer-friendly version to be linked from the press release HTML page.
Rendition mimetype: Plain Text (change default selection)
Output path: ${name}.${extension} (confirm default value)

Company Profile (Form Details)
Output path: /${webapp}/media/releases/content/${name}.xml

Title: Accept default value
Description: Accept default value
Output path: /${webapp}/media/releases/content/${name}.xml
Workflow: Web Site Submission

Press release
Output path: /${webapp}/media/releases/content/${name}.${extension}