[infinispan-issues] [JBoss JIRA] (ISPN-2124) infinispan-gridfs-webdav example NPE because InitServlet is not started as first servlet
Adrian Nistor (JIRA)
jira-events at lists.jboss.org
Wed Jul 4 06:49:12 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list