Wednesday 23 January 2013

Infinispan AS 7.x modules

The latest Infinispan 5.2.0.CR2 release includes a set of modules for JBoss AS 7.x. By installing these modules, it is possible to deploy user applications without packaging the Infinispan JARs within the deployments (WARs, EARs, etc), thus minimizing their size. In order not to conflict with the Infinispan modules which are already present within an AS installation, the modules provided by the Infinispan distribution are located within their own slot identified by the major.minor versions (e.g. slot="5.2").
In order to tell the AS deployer that we want to use the Infinispan APIs within our application, we need to add explicit dependencies to the deployment's MANIFEST:
If you are using Maven to generate your artifacts, mark the Infinispan dependencies as provided and configure your artifact archiver to generate the appropriate MANIFEST.MF file:

1 comment:

  1. Just tried using the infinispan 5.2.0.CR2 on my JBOSS EAP 6.0.1 server, it threw a NoSuchMethod error while starting the sub system.
    Looks like a incompatibility with the underlying JBOSS AS 7.1.3.

    ReplyDelete