我根据这些步骤在 Wildlfy 上部署了长耳兔
关于在 WILDLFY11 上部署 JACKRABBIT 的分步程序
1. Downloaded latest version of jackrabbit-jca-2.8.7.rar file from following location
http://central.maven.org/maven2/org/apache/jackrabbit/jackrabbit-jca/2.4.3/jackrabbit-jca-2.8.7.rar
2. Configured Jackrabbit repo in standalone-full.xml under <subsystem xmlns="urn:jboss:domain:resource-adapters:5.0">
<resource-adapters>
<resource-adapter id="jackrabbit-jca-2.8.7.rar">
<archive>jackrabbit-jca-2.8.7.rar</archive>
<connection-definitions>
<connection-definition class-name="org.apache.jackrabbit.jca.JCAManagedConnectionFactory" jndi-name="jcr/local" enabled="true" pool-name="RabbitAdapter">
<config-property name="homeDir">//The location you wish to store files</config-property>
<security>
<application/>
</security>
<validation>
<background-validation>false</background-validation>
</validation>
</connection-definition>
</connection-definitions>
</resource-adapter>
</resource-adapters>
3. updated the existing jca archive validation property as false under <subsystem xmlns="urn:jboss:domain:jca:5.0">
<archive-validation enabled="false"
4. Configured hsqldb as DefaultDS datasource in standalone-full.xml.
<datasource jndi-name="java:/DefaultDS" pool-name="DefaultDS" enabled="true" use-java-context="true">
<connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
<driver>hsqldb</driver>
<pool>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
</pool>
<security>
<user-name>sa</user-name>
<password></password>
</security>
</datasource>
5. Created module in wildfly for hsqldb dependency
location : wildfly-11.0.0.Final\modules\system\layers\base\org\hsqldb\main
jar : hsqldb.jar,hsqldb-plugin.jar
module.xml
<module xmlns="urn:jboss:module:1.3" name="org.hsqldb">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<resource-root path="hsqldb.jar"/>
<resource-root path="hsqldb-plugin.jar"/>
</resources>
</module>
Added hsqldb driver in standalone-full.xml under<drivers> tag
<driver name="hsqldb" module="org.hsqldb">
<driver-class>org.hsqldb.jdbcDriver</driver-class>
</driver>
6. Create a module for jcr dependency in Wildlfy 11
location : wildfly-11.0.0.Final\modules\system\layers\base\javax\jcr\main
jar name : jcr-2.0.jar
module.xml
<module xmlns="urn:jboss:module:1.3" name="javax.jcr">
<resources>
<resource-root path="jcr-2.0.jar"/>
</resources>
</module>