|
Bonjour,
Je
travaille avec Jahia 5 (build 14371) sous WAS 5.1.1 et je récupère énormément
d'exceptions dans les logs Websphere...
[13/06/06 14:48:18:052 CEST] 12620bb7 DefaultLoadEv I
org.hibernate.event.def.DefaultLoadEventListener Error performing load
command
[13/06/06 14:48:18:115 CEST] 12620bb7 DefaultLoadEv I org.hibernate.event.def.DefaultLoadEventListener TRAS0014I: L'exception suivante a été consignée : org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [EMAIL PROTECTED],targetID=1590,action=""> at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java(Compiled Code)) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java(Compiled Code)) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java(Compiled Code)) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java(Compiled Code)) 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(Compiled Code)) 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.JahiaLockDAO.findByPK(JahiaLockDAO.java:23) at org.jahia.hibernate.manager.JahiaLockManager.getLock(JahiaLockManager.java:116) at org.jahia.hibernate.manager.JahiaLockManager$$FastClassByCGLIB$$5cf630a5.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java(Compiled Code)) at org.jahia.hibernate.manager.JahiaLockManager$$EnhancerByCGLIB$$5c9b0bc2.getLock(<generated>) at org.jahia.services.lock.LockRegistry.getLock(LockRegistry.java:481) at org.jahia.services.lock.LockRegistry.isAlreadyAcquiredInContext(LockRegistry.java:317) at org.jahia.services.lock.LockRegistry$$FastClassByCGLIB$$4cf64ea.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java(Compiled Code)) at org.jahia.services.lock.LockRegistry$$EnhancerByCGLIB$$f9c7e8af.isAlreadyAcquiredInContext(<generated>) at org.jahia.services.lock.LockPrerequisites.isLockAcquirable(LockPrerequisites.java:65) at org.jahia.services.lock.LockRegistry.isAcquireable(LockRegistry.java:148) at org.jahia.services.lock.LockRegistry$$FastClassByCGLIB$$4cf64ea.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java(Compiled Code)) at org.jahia.services.lock.LockRegistry$$EnhancerByCGLIB$$f9c7e8af.isAcquireable(<generated>) at org.jahia.data.beans.ContainerBean.buildActionURIs(ContainerBean.java:523) at org.jahia.data.beans.ContainerBean.getActionURIBeans(ContainerBean.java:334) at org.jahia.ajax.actionmenus.GetMenuItemsAction.getActionsInfo(GetMenuItemsAction.java:301) at org.jahia.ajax.actionmenus.GetMenuItemsAction.execute(GetMenuItemsAction.java:220) 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:66) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at org.jahia.bin.filters.ntlm.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:135) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:82) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at fr.smile.hibernate.HibernateFilter.doFilter(HibernateFilter.java:31) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:204) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912) . org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [EMAIL PROTECTED],targetID=1590,action=""> at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java(Compiled Code)) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java(Compiled Code)) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java(Compiled Code)) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java(Compiled Code)) 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(Compiled Code)) 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.JahiaLockDAO.findByPK(JahiaLockDAO.java:23) at org.jahia.hibernate.manager.JahiaLockManager.getLock(JahiaLockManager.java:116) at org.jahia.hibernate.manager.JahiaLockManager$$FastClassByCGLIB$$5cf630a5.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java(Compiled Code)) at org.jahia.hibernate.manager.JahiaLockManager$$EnhancerByCGLIB$$5c9b0bc2.getLock(<generated>) at org.jahia.services.lock.LockRegistry.getLock(LockRegistry.java:481) at org.jahia.services.lock.LockRegistry.isAlreadyAcquiredInContext(LockRegistry.java:317) at org.jahia.services.lock.LockRegistry$$FastClassByCGLIB$$4cf64ea.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java(Compiled Code)) at org.jahia.services.lock.LockRegistry$$EnhancerByCGLIB$$f9c7e8af.isAlreadyAcquiredInContext(<generated>) at org.jahia.services.lock.LockPrerequisites.isLockAcquirable(LockPrerequisites.java:65) at org.jahia.services.lock.LockRegistry.isAcquireable(LockRegistry.java:148) at org.jahia.services.lock.LockRegistry$$FastClassByCGLIB$$4cf64ea.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled Code)) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code)) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java(Compiled Code)) at org.jahia.services.lock.LockRegistry$$EnhancerByCGLIB$$f9c7e8af.isAcquireable(<generated>) at org.jahia.data.beans.ContainerBean.buildActionURIs(ContainerBean.java:523) at org.jahia.data.beans.ContainerBean.getActionURIBeans(ContainerBean.java:334) at org.jahia.ajax.actionmenus.GetMenuItemsAction.getActionsInfo(GetMenuItemsAction.java:301) at org.jahia.ajax.actionmenus.GetMenuItemsAction.execute(GetMenuItemsAction.java:220) 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:66) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at org.jahia.bin.filters.ntlm.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:135) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:82) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at fr.smile.hibernate.HibernateFilter.doFilter(HibernateFilter.java:31) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:204) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912) Ces
exceptions sont générées lors du premier accès à une page et me semblent
provenir de la mise en cache d'hibernate.
Le pb
c'est que le système génère 500ko de log sur un simple clic (j'avais même eu une
log à 55Mo sur un seul clic...) et que du coup, les performances s'en ressentent
fortement.
Si ces
exceptions sont "normales" peut être faudrait il revoir leur gestion car il ne
me semble pas logique que les exceptions de fonctionnement remontent au
serveur d'application.
Arnaud.
|
- Exceptions Hibernate Arnaud Colin
- RE: Exceptions Hibernate Arnaud Colin
