-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Migrated from IBM websphere 6 to tomcat 6.x, Hibernate 3.0..
PostPosted: Wed Jun 05, 2013 4:02 am 
Newbie

Joined: Wed Jun 05, 2013 3:54 am
Posts: 1
776986969 [catalina-exec-4] ERROR org.hibernate.LazyInitializationException - could not initialize proxy - the owning Session was closed
org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:53)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:84)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:134)
at com.michelin.service.bean.data.Brand$$EnhancerByCGLIB$$320496d.hashCode(<generated>)
at com.michelin.service.bean.data.BrandLine.hashCode(BrandLine.java:173)
at java.lang.Object.toString(Object.java:219)
at org.hibernate.cache.CacheKey.toString(CacheKey.java:45)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at net.sf.ehcache.Cache.isExpired(Cache.java:878)
at net.sf.ehcache.store.MemoryStore.removeLeastRecentlyUsedElement(MemoryStore.java:352)
at net.sf.ehcache.store.MemoryStore.access$100(MemoryStore.java:81)
at net.sf.ehcache.store.MemoryStore$SpoolingLinkedHashMap.removeEldestEntry(MemoryStore.java:489)
at java.util.LinkedHashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177)
at net.sf.ehcache.Cache.put(Cache.java:318)
at org.hibernate.cache.EhCache.put(EhCache.java:153)
at org.hibernate.cache.ReadOnlyCache.put(ReadOnlyCache.java:59)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:530)
at org.hibernate.loader.Loader.doQuery(Loader.java:436)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:155)
at com.michelin.service.dao.hibernate.ts.BrandLineSizeCountryDao.findAllBrandLines(BrandLineSizeCountryDao.java:303)
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:63)
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
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 com.michelin.service.dao.hibernate.HibernateFilter.doFilter(HibernateFilter.java:57)
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:127)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
776986970 [catalina-exec-4] ERROR com.michelin.service.controller.handler.ts.TireInformationHandler - Tire recommendations handler: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
776986970 [catalina-exec-4] ERROR com.michelin.service.controller.webservice.TireSelector - An error occured querying the data store:
com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:67)
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
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 com.michelin.service.dao.hibernate.HibernateFilter.doFilter(HibernateFilter.java:57)
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:127)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:158)
at com.michelin.service.dao.hibernate.ts.BrandLineSizeCountryDao.findAllBrandLines(BrandLineSizeCountryDao.java:303)
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:63)
... 34 more
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:53)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:84)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:134)
at com.michelin.service.bean.data.Brand$$EnhancerByCGLIB$$320496d.hashCode(<generated>)
at com.michelin.service.bean.data.BrandLine.hashCode(BrandLine.java:173)
at java.lang.Object.toString(Object.java:219)
at org.hibernate.cache.CacheKey.toString(CacheKey.java:45)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at net.sf.ehcache.Cache.isExpired(Cache.java:878)
at net.sf.ehcache.store.MemoryStore.removeLeastRecentlyUsedElement(MemoryStore.java:352)
at net.sf.ehcache.store.MemoryStore.access$100(MemoryStore.java:81)
at net.sf.ehcache.store.MemoryStore$SpoolingLinkedHashMap.removeEldestEntry(MemoryStore.java:489)
at java.util.LinkedHashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177)
at net.sf.ehcache.Cache.put(Cache.java:318)
at org.hibernate.cache.EhCache.put(EhCache.java:153)
at org.hibernate.cache.ReadOnlyCache.put(ReadOnlyCache.java:59)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:530)
at org.hibernate.loader.Loader.doQuery(Loader.java:436)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:155)
... 36 more
776986970 [catalina-exec-4] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)
776986970 [catalina-exec-4] DEBUG org.apache.axis.enterprise - Mapping Exception to AxisFault
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
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 com.michelin.service.dao.hibernate.HibernateFilter.doFilter(HibernateFilter.java:57)
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:127)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:176)
... 33 more
Caused by: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:67)
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:172)
... 33 more
Caused by: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:158)
at com.michelin.service.dao.hibernate.ts.BrandLineSizeCountryDao.findAllBrandLines(BrandLineSizeCountryDao.java:303)
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:63)
... 34 more
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:53)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:84)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:134)
at com.michelin.service.bean.data.Brand$$EnhancerByCGLIB$$320496d.hashCode(<generated>)
at com.michelin.service.bean.data.BrandLine.hashCode(BrandLine.java:173)
at java.lang.Object.toString(Object.java:219)
at org.hibernate.cache.CacheKey.toString(CacheKey.java:45)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at net.sf.ehcache.Cache.isExpired(Cache.java:878)
at net.sf.ehcache.store.MemoryStore.removeLeastRecentlyUsedElement(MemoryStore.java:352)
at net.sf.ehcache.store.MemoryStore.access$100(MemoryStore.java:81)
at net.sf.ehcache.store.MemoryStore$SpoolingLinkedHashMap.removeEldestEntry(MemoryStore.java:489)
at java.util.LinkedHashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177)
at net.sf.ehcache.Cache.put(Cache.java:318)
at org.hibernate.cache.EhCache.put(EhCache.java:153)
at org.hibernate.cache.ReadOnlyCache.put(ReadOnlyCache.java:59)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:530)
at org.hibernate.loader.Loader.doQuery(Loader.java:436)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:155)
... 36 more
776986971 [catalina-exec-4] DEBUG org.apache.axis.SOAPPart - Enter: SOAPPart ctor(FORM_FAULT)
776986971 [catalina-exec-4] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
776986971 [catalina-exec-4] DEBUG org.apache.axis.SOAPPart - Setting current message form to: FORM_FAULT (currentMessage is now org.apache.axis.AxisFault)
776986971 [catalina-exec-4] DEBUG org.apache.axis.SOAPPart - Exit: SOAPPart ctor()
776986971 [catalina-exec-4] DEBUG org.apache.axis.SimpleChain - Enter: SimpleChain::onFault
776986971 [catalina-exec-4] DEBUG org.apache.axis.SimpleChain - Exit: SimpleChain::onFault
776986971 [catalina-exec-4] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(axisFault00)
776986971 [catalina-exec-4] DEBUG org.apache.axis.EXCEPTIONS - AxisFault:
776986971 [catalina-exec-4] DEBUG org.apache.axis.utils.NSStack - NSPush (32)
776986971 [catalina-exec-4] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(empty00)
776986971 [catalina-exec-4] DEBUG org.apache.axis.utils.NSStack - NSPop (empty)
776986971 [catalina-exec-4] DEBUG org.apache.axis.utils.NSStack - NSPush (32)
776986972 [catalina-exec-4] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(empty00)
776986972 [catalina-exec-4] DEBUG org.apache.axis.utils.NSStack - NSPop (empty)
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:com.michelin.service.controller.webservice.ServiceException: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
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 com.michelin.service.dao.hibernate.HibernateFilter.doFilter(HibernateFilter.java:57)
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:127)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:67)
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:172)
... 33 more
Caused by: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:158)
at com.michelin.service.dao.hibernate.ts.BrandLineSizeCountryDao.findAllBrandLines(BrandLineSizeCountryDao.java:303)
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:63)
... 34 more
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:53)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:84)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:134)
at com.michelin.service.bean.data.Brand$$EnhancerByCGLIB$$320496d.hashCode(&lt;generated&gt;)
at com.michelin.service.bean.data.BrandLine.hashCode(BrandLine.java:173)
at java.lang.Object.toString(Object.java:219)
at org.hibernate.cache.CacheKey.toString(CacheKey.java:45)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at net.sf.ehcache.Cache.isExpired(Cache.java:878)
at net.sf.ehcache.store.MemoryStore.removeLeastRecentlyUsedElement(MemoryStore.java:352)
at net.sf.ehcache.store.MemoryStore.access$100(MemoryStore.java:81)
at net.sf.ehcache.store.MemoryStore$SpoolingLinkedHashMap.removeEldestEntry(MemoryStore.java:489)
at java.util.LinkedHashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177)
at net.sf.ehcache.Cache.put(Cache.java:318)
at org.hibernate.cache.EhCache.put(EhCache.java:153)
at org.hibernate.cache.ReadOnlyCache.put(ReadOnlyCache.java:59)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:530)
at org.hibernate.loader.Loader.doQuery(Loader.java:436)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:155)
... 36 more

{http://xml.apache.org/axis/}hostname:w216376vwap3025.emc.usi.net

com.michelin.service.controller.webservice.ServiceException: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
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 com.michelin.service.dao.hibernate.HibernateFilter.doFilter(HibernateFilter.java:57)
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:127)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
... 26 more
Caused by: com.michelin.service.controller.webservice.ServiceException: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:67)
at com.michelin.service.controller.webservice.TireSelector.getBrandLineNames(TireSelector.java:172)
... 33 more
Caused by: com.michelin.service.dao.DaoException: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:158)
at com.michelin.service.dao.hibernate.ts.BrandLineSizeCountryDao.findAllBrandLines(BrandLineSizeCountryDao.java:303)
at com.michelin.service.controller.handler.ts.TireInformationHandler.handleGetBrandLineNames(TireInformationHandler.java:63)
... 34 more
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:53)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:84)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:134)
at com.michelin.service.bean.data.Brand$$EnhancerByCGLIB$$320496d.hashCode(<generated>)
at com.michelin.service.bean.data.BrandLine.hashCode(BrandLine.java:173)
at java.lang.Object.toString(Object.java:219)
at org.hibernate.cache.CacheKey.toString(CacheKey.java:45)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at net.sf.ehcache.Cache.isExpired(Cache.java:878)
at net.sf.ehcache.store.MemoryStore.removeLeastRecentlyUsedElement(MemoryStore.java:352)
at net.sf.ehcache.store.MemoryStore.access$100(MemoryStore.java:81)
at net.sf.ehcache.store.MemoryStore$SpoolingLinkedHashMap.removeEldestEntry(MemoryStore.java:489)
at java.util.LinkedHashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177)
at net.sf.ehcache.Cache.put(Cache.java:318)
at org.hibernate.cache.EhCache.put(EhCache.java:153)
at org.hibernate.cache.ReadOnlyCache.put(ReadOnlyCache.java:59)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:530)
at org.hibernate.loader.Loader.doQuery(Loader.java:436)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at com.michelin.service.dao.hibernate.HibernateDao.findByHQLQuery(HibernateDao.java:155)
... 36 more


This is random behaviour....sometimes i get this exception and sometimes i don't get.
Please help..??


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.