2 Replies Latest reply on Nov 12, 2014 6:29 AM by David virgil naranjo

    Exception infinispan in wildfly

    David virgil naranjo Novice

      Hi,

       

      There is an exception that I am trying to solve during the last days. I am migrating our jboss overlord projects from eap to wildfly 8.1.

       

      For doing that I had to modify the versions of modeshape from 3.8 to 4.0.0.Final.

       

      I receive this concurrent exception:

       

      https://gist.github.com/dvirgiln/22f91cdef26985aa662f

       

      Any idea about how to remove this exception in wildfly 8.1.

       

      Thanks

      David

        • 1. Re: Exception infinispan in wildfly
          David virgil naranjo Novice

          Giving you more information.

           

          Related wildfly configuration. It is not added any infinispan xml configuration inside of the war deployed.

           

          The wildfly configuration is added in the standalone.xml with a xslt template like this:

           

            <xsl:template match="wildfly81:extensions" xmlns="urn:jboss:domain:2.1">

                <extensions>

                  <xsl:apply-templates select="@* | *" />

                  <extension module="org.modeshape"/>

                </extensions>

            </xsl:template>

           

            <xsl:template match="wildfly81:profile" xmlns="urn:jboss:domain:2.1">

              <profile>

                  <xsl:apply-templates select="@* | *" />

                  <subsystem xmlns="urn:jboss:domain:modeshape:2.0">

                      <repository name="sramp" cache-name="sramp" cache-container="modeshape"

                                  security-domain="overlord-idp" use-anonymous-upon-failed-authentication="false"

                                  anonymous-roles="readonly">

                      </repository>

                  </subsystem>

              </profile>

            </xsl:template>

           

            <xsl:template match="wildfly81:profile/inf2:subsystem" xmlns="urn:jboss:domain:2.1">

                  <subsystem xmlns="urn:jboss:domain:infinispan:2.0" default-cache-container="hibernate">

                      <xsl:apply-templates select="@* | *" />

                      <cache-container name="modeshape">

                          <local-cache name="sramp">

                              <locking isolation="NONE"/>

                              <transaction mode="NON_XA"/>

                              <string-keyed-jdbc-store datasource="java:jboss/datasources/srampDS" passivation="false" purge="false">

                                  <string-keyed-table prefix="ispn_bucket">

                                      <id-column name="id" type="VARCHAR(500)"/>

                                      <data-column name="datum" type="VARBINARY(60000)"/>

                                      <timestamp-column name="version" type="BIGINT"/>

                                  </string-keyed-table>

                              </string-keyed-jdbc-store>

                          </local-cache>

                      </cache-container>

                  </subsystem>

            </xsl:template>