[jboss-dev-forums] [JBoss AS 7 Development] - Re: ClassCastException with Infinispan using multiple applications

Paul Ferraro do-not-reply at jboss.com
Fri Jul 20 14:46:38 EDT 2012


Paul Ferraro [https://community.jboss.org/people/pferraro] created the discussion

"Re: ClassCastException with Infinispan using multiple applications"

To view the discussion, visit: https://community.jboss.org/message/749345#749345

--------------------------------------------------------------
Is there a particular reason for sharing a single cache instance across multiple applications?  If there are common classes between applications, these should reside in a module ($JBOSS_HOME/modules) so they will be accessible by all applications.  You would then associate the cache-container with the module via the <cache-container module="..."/> attribute.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/749345#749345]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120720/9f30de18/attachment.html 


More information about the jboss-dev-forums mailing list