-
1. Re: JBoss AS7 - Infinispan
ranga033 Mar 14, 2012 6:39 AM (in response to ranga033)Just adding for more clarity...
Basically I am looking for having Infinispan as a remote server (in distributed mode) which is accessed by AS7+ for cache containers for web,ejb, hiberate etc. Is this possible ?
-
2. Re: JBoss AS7 - Infinispan
mackerman Mar 14, 2012 12:34 PM (in response to ranga033)Yes, it is possible. In fact, we are doing this by using the usual standalone infinispan configuration files. Those files are then included and used within the webapp just as they would be in a standalone app. We have removed all infinispan configuration from domain.xml. The reason for us doing this was that we were unable to find a way to configure infinispan as we wished in domain.xml, for example in order to use using a gossip router.
-
3. Re: JBoss AS7 - Infinispan
ranga033 Mar 15, 2012 3:56 AM (in response to mackerman)Thank you Mitchell for the reply. If I understand right, it means you would have Infinispan configured for every application(ejb, war etc) which is deployed in the app server - AS7+?
-
4. Re: JBoss AS7 - Infinispan
mackerman Mar 15, 2012 11:01 AM (in response to ranga033)Correct. we only have one application installed in the cluster, so that is not an issue for us.
-
5. Re: JBoss AS7 - Infinispan
galder.zamarreno Mar 15, 2012 11:32 AM (in response to ranga033)You can start one of the Infinispan servers separately and access it with the corresponding client from AS7.
-
6. Re: JBoss AS7 - Infinispan
ranga033 Mar 19, 2012 11:01 AM (in response to galder.zamarreno)Ok, so for clients (apps deployed in AS7) I can use the Infinispan servers which are started seperately. I believe AS7 internally uses Infinispan for the cluster infrastructure as well. How do I make this work with seperate Infinispan servers , i.e how do I make sure when the server starts up, it looks for Infinispan servers which I have started seperately. I could not find any configurations in domain.xml/standalone.xml of AS7 which support this.
-
7. Re: JBoss AS7 - Infinispan
galder.zamarreno Mar 20, 2012 5:54 AM (in response to ranga033)The Infinispan remote client libraries are not part of AS7, so you need to bring them in yourself (into your app). More info on the client here.