cancel
Showing results for 
Search instead for 
Did you mean: 

Where do i found RenderingEngineTemplateImpl.java

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

I have installed alfresco 3 labs and when i create content for press release web form it is giving an error.

like avm exception: store not found.I have gone through the forums and they are saying that changes should be done on RenderingEngineTemplateImpl.java.

Could you tell me where can i find this file? Is it already with the alfresco labs or do i need install any other thing?

Please reply me.It is urgent..i have been trying for 2 days about this.

Thanks in advance.
Cheers,
Anil
9 REPLIES 9

jayjayecl
Confirmed Champ
Confirmed Champ
This file is located in the sources of Alfresco. You cannot see it in your webapp, as it is packaged into a jar file into WEB-INF/lib (alfresco-repository.jar)
You will find it either by :
- browsing SVN source code, in Repository, package org.alfresco.web.forms
- downloading Alfresco SDK, and opening repository.zip in "src" folder

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi

Thank you for the quick reply.

I do not have SVN.Can't i do this without SVN?

Actually i just want to create a content for press-release-web-form.

Regards,
Anil

jayjayecl
Confirmed Champ
Confirmed Champ
I'm sorry but I don't use WCM.
I think first thing to do for you is to post here the stacktrace.
then people will help you

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

Please find the log file.



[b]20:16:20,059 User:admin ERROR [ui.common.Utils] Store not found.[/b]
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.GeneratedMethodAccessor632.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(ReflectiveMethodI
cation.java:177)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
ava:144)
        at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
ava:166)
        at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleE
yTransactionResourceInterceptor.java:163)
        at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTran
tionResourceInterceptor.java:138)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
ava:166)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy6.queryStorePropertyKey(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor632.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(ReflectiveMethodI
cation.java:177)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
ava:144)
        at org.alfresco.repo.search.AVMSnapShotTriggeredIndexingMethodInterceptor.invoke(AVMSnapShotTrigg
dIndexingMethodInterceptor.java:153)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
ava:166)
        at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
ava:166)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.ja
70)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHel
.java:320)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
ava: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
5fformProcessor_005f0(create_002dxml_jsp.java:107)
        at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_002dxml_jsp._jspService(cr
e_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:2

        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:2

        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(ServletExternalContextI
.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:2

        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:2

        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:58
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Jul 8, 2009 8:45:18 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check the connection: java.net.SocketTimeoutException: Read timed out





Please help me out.

Cheers,
Anil Smiley Happy

janv
Employee
Employee
Which exact version of Alfresco Labs 3 are you using … please post your release/build details (from server startup log) ?

I would recommend that you download and install Alfresco Community 3.2, which should resolve this issue.

http://wiki.alfresco.com/wiki/Download_Community_Edition

Thanks,
Jan

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

I have installed "Alfresco Labs 3 Stable" .Is it required to uninstall this version inorder to install "Alfresco Community Edition 3.2" or is there any way to update older version?

I appreciate if you could provide me the solution for this.. Smiley Happy

Thanks in advance,
Anil

janv
Employee
Employee
If you have recently installed (eg. for evaluation and testing) and don't need to keep your existing data then I would suggest that you remove you existing install and simply install Alfresco Community 3.2.

Alternatively, if you wish to keep your existing data then you can take a cold backup and perform a manual upgrade, although please bear in mind that this is not generally supported between Labs/Community releases, so YMMV.

http://wiki.alfresco.com/wiki/General_Upgrade_Process

Regards,
Jan

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

Can't we solve these issue  with out going for newer version?

How can we solve this using WCM.

Please help me.

Regards,
Anil

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

I have installed alfresco community edition 3.2.Fortunately,I haven't get any error while creating the content for press release form.

Thank you for your help
Anil