Bonjour je rencontre de temps en temps des exceptions du type :
Cause level : 0 (level 0 is the most precise exception)
org.hibernate.LazyInitializationException: could not initialize proxy - the
owning Session was closed
at
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java(Compiled
Code))
at
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java(Inlined
Compiled Code))
at
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java(Compiled
Code))
at
org.jahia.hibernate.model.JahiaSite$$EnhancerByCGLIB$$60494974.toString(<generated>)
at java.lang.String.valueOf(String.java(Inlined Compiled Code))
at java.lang.StringBuffer.append(StringBuffer.java(Compiled Code))
at
org.jahia.hibernate.model.JahiaFieldsDef.toString(JahiaFieldsDef.java:146)
at
org.jahia.hibernate.model.JahiaFieldsDef$$FastClassByCGLIB$$dd963bb3.invoke(<generated>(Compiled
Code))
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java(Compiled
Code))
at
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java(Compiled
Code))
at
org.jahia.hibernate.model.JahiaFieldsDef$$EnhancerByCGLIB$$f9e0521f.toString(<generated>)
at java.lang.String.valueOf(String.java(Inlined Compiled Code))
at java.lang.StringBuffer.append(StringBuffer.java(Compiled Code))
at
org.jahia.hibernate.model.JahiaFieldsDefPropPK.effectiveToString(JahiaFieldsDefPropPK.java:63)
...
Est ce que qq'un sait d'ou ca peut venir.
Pour info je suis sous websphere avec un datasource websphere sqlserver.
Arnaud.