The exception listed here is only shown by hibernate in info mode, this happen when we search if an object have is own workflow instance or if it used its parent one if no instance found then you'll have this trace, but this do not impact your jahia, it is expected to have this exception and this one is correctly handled in this case.

Richard Gate a écrit :
I have added some debugging. It appears that the elements from the absolute container lists appear to display fine. I only get problems when using the engine. This only happens when I have no validated the new pages. Upon validating the pages the engine issues appear to go away but the following debugging information and exceptions can be seen when I click any of the Jahia HTML menus.

Here are the statements before I get the problem:

http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: loading entity: [org.jahia.hibernate.model.JahiaCtnDef#50] 2006-11-29 10:48:03,851: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: creating new proxy for entity 2006-11-29 10:48:03,866: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: loading entity: [org.jahia.hibernate.model.JahiaAcl#63] 2006-11-29 10:48:03,866: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: attempting to resolve: [org.jahia.hibernate.model.JahiaAcl#63] 2006-11-29 10:48:03,866: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: resolved object in second-level cache: [org.jahia.hibernate.model.JahiaAcl#63] 2006-11-29 10:48:03,866: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: Cached Version: null 2006-11-29 10:48:03,866: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: resolved object in second-level cache: [org.jahia.hibernate.model.JahiaAcl#63] 2006-11-29 10:48:03,866: [http-8080-Processor15] HTMLToolBox, DEBUG, org.jahia.gui.HTMLToolBox: beginAjaxMenu: [EMAIL PROTECTED], null, false, jahiatemplates.Corporate_portal_templates_v2, null 2006-11-29 10:48:03,866: [http-8080-Processor15] HTMLToolBox, DEBUG, org.jahia.gui.HTMLToolBox: menuId is : ContentContainerList_--_14_--_50_--_1_--_7_--_null_--_false_--_-675377091_--_1546907509 2006-11-29 10:48:03,913: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: loading entity: [org.jahia.hibernate.model.JahiaLink#694] 2006-11-29 10:48:03,929: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: attempting to resolve: [org.jahia.hibernate.model.JahiaLink#694] 2006-11-29 10:48:03,929: [http-8080-Processor15] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: object not resolved in any cache: [org.jahia.hibernate.model.JahiaLink#694] 2006-11-29 10:48:03,944: [http-8080-Processor17] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: loading entity: [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] 2006-11-29 10:48:03,944: [http-8080-Processor17] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: attempting to resolve: [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] 2006-11-29 10:48:03,944: [http-8080-Processor17] DefaultLoadEventListener, DEBUG, org.hibernate.event.def.DefaultLoadEventListener: object not resolved in any cache: [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] 2006-11-29 10:48:03,944: [http-8080-Processor17] DefaultLoadEventListener, INFO, org.hibernate.event.def.DefaultLoadEventListener: Error performing load command org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:118) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:151) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
   at org.hibernate.impl.SessionImpl.load(SessionImpl.java:603)
   at org.hibernate.impl.SessionImpl.load(SessionImpl.java:596)
at org.springframework.orm.hibernate3.HibernateTemplate$3.doInHibernate(HibernateTemplate.java:425) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312) at org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:419) at org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:414) at org.jahia.hibernate.dao.JahiaWorkflowDAO.findByPK(JahiaWorkflowDAO.java:48) at org.jahia.hibernate.manager.JahiaWorkflowManager.getWorkflowEntry(JahiaWorkflowManager.java:103) at org.jahia.hibernate.manager.JahiaWorkflowManager$$FastClassByCGLIB$$9a69c611.invoke(<generated>)
   at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546) at org.jahia.hibernate.manager.JahiaWorkflowManager$$EnhancerByCGLIB$$ff733c9c.getWorkflowEntry(<generated>) at org.jahia.services.workflow.WorkflowService.getDbEntry(WorkflowService.java:836) at org.jahia.services.workflow.WorkflowService.getWorkflowMode(WorkflowService.java:239) at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:781) at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:753) at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:697) at org.jahia.services.workflow.WorkflowService.getLanguagesStates(WorkflowService.java:874) at org.jahia.services.workflow.WorkflowService.getLanguagesStates(WorkflowService.java:863) at org.jahia.services.workflow.WorkflowService$$FastClassByCGLIB$$4fc46a68.invoke(<generated>)
   at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606) at org.jahia.services.workflow.WorkflowService$$EnhancerByCGLIB$$10ecde89.getLanguagesStates(<generated>) at org.jahia.ajax.actionmenus.GetWorkflowState.execute(GetWorkflowState.java:67) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.jahia.bin.JahiaRequestProcessor.process(JahiaRequestProcessor.java:82) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
2006-11-29 10:48:03,960: [http-8080-Processor15] Jahia, INFO, org.jahia.bin.Jahia: Processed [/jahia/Jahia/op/edit/pid/7] user=[root] ip=[127.0.0.1] in [1309ms]






Richard Gate wrote:
Hi all,

I have a homepage.jsp which declares four containers:

   A container for headers.
   A container for the navigation "first level" links.
   A footer links container.
   A copyright container.

The other templates want to display the header, footer, navigation and copyright declared in the homepage. Where the navigation is concerned: The homepage stores the first level links along with a colour, whilst all other pages just contain a navigation list container storing page references to direct children.

The none homepage templates are having trouble displaying engines for the homepage declared content. The content, including links etc display ok proving that these other templates can see the homepage's container lists. I run into problems when I use the jahia action menu's on them. When I click the action menu I get a hibernate ObjectNotFoundException. In addition when I bring up the engine for a link for containerlist for example, the edit box is too short obsecuring the fields inside. In addition the text at the top reads ID of "" [0]. This is usually fixed when I use the workflow screen to validate the changes but I am still getting problems else where with the hibernate.objectnotfoundexception.

My question... Does anyone know why this is happening? Why should accessing a container declared on another template be a problem? Do you need to "declare" the container on ALL the templates that require to use it, or is this not required for absolute containers.

Thanks,

Richard.



___________________________________________________________________

Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error.

Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us.

Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.


___________________________________________________________________






Reply via email to