]
Adrian Nistor resolved ISPN-2124.
---------------------------------
Fix Version/s: 5.2.0.ALPHA2
Resolution: Done
infinispan-gridfs-webdav example NPE because InitServlet is not
started as first servlet
----------------------------------------------------------------------------------------
Key: ISPN-2124
URL:
https://issues.jboss.org/browse/ISPN-2124
Project: Infinispan
Issue Type: Enhancement
Components: Demos and Tutorials
Affects Versions: 5.1.5.FINAL
Reporter: Thomas Fromm
Assignee: Thomas Fromm
Fix For: 5.2.0.ALPHA2
I get NPE in my Tomcat 6.0.35 when I try to access the servlet.
(GridStore Line 56)
Both (CacheManagerHolder.cacheContainer and CacheManagerHolder.dataCacheName) are null,
because the InitServlet wasn't started or the init(..) wasn't processed.
I'd suggest to rewrite the InitServlet as ServletContextListener to use the
contextInit(..) and contextDestroyed(..) for these CacheManagerHolder init and shutdown
stuff.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: