Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.modeshape.quickstarts</groupId>
<artifactId>modeshape-quickstarts-dist</artifactId>
<version>4.2.0.Final</version>
<version>4.3-SNAPSHOT</version>
<name>ModeShape AS Quickstarts Distribution</name>
<description>POM for building the quickstarts distribution.</description>
<url>http://www.modeshape.org</url>
Expand Down
4 changes: 2 additions & 2 deletions modeshape-cdi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for help on how to install and configure Maven 3._
2. Open a command line and navigate to the root directory of this quickstart.
3. Type this command to build and deploy the archive:

mvn clean package jboss-as:deploy
mvn clean package wildfly:deploy

4. This will deploy `target/modeshape-cdi.war` to the running instance of the server.

Expand Down Expand Up @@ -66,7 +66,7 @@ Undeploy the Archive
2. Open a command line and navigate to the root directory of this quickstart.
3. When you are finished testing, type this command to undeploy the archive:

mvn jboss-as:undeploy
mvn wildfly:undeploy

Run the Arquillian Tests
-------------------------
Expand Down
4 changes: 2 additions & 2 deletions modeshape-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.modeshape.quickstarts</groupId>
<artifactId>modeshape-cdi</artifactId>
<version>4.2.0.Final</version>
<version>4.3-SNAPSHOT</version>
<packaging>war</packaging>
<name>Example of a JSF web application that uses ModeShape via CDI</name>
<description>
Expand All @@ -29,7 +29,7 @@
<version.wildfly.maven.plugin>1.0.1.Final</version.wildfly.maven.plugin>

<!-- Global dependency version information-->
<version.modeshape>4.2.0.Final</version.modeshape>
<version.modeshape>4.3-SNAPSHOT</version.modeshape>
</properties>

<dependencyManagement>
Expand Down
4 changes: 2 additions & 2 deletions modeshape-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ for help on how to install and configure Maven 3._
2. Open a command line and navigate to the root directory of this quickstart.
3. Type this command to build and deploy the archive:

mvn clean package jboss-as:deploy
mvn clean package wildfly:deploy

4. This will deploy `target/modeshape-cli.war` to the running instance of the server.

Expand All @@ -64,7 +64,7 @@ Undeploy the Archive
2. Open a command line and navigate to the root directory of this quickstart.
3. When you are finished testing, type this command to undeploy the archive:

mvn jboss-as:undeploy
mvn wildfly:undeploy

Remove the demo repository
---------------------------
Expand Down
4 changes: 2 additions & 2 deletions modeshape-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.modeshape.quickstarts</groupId>
<artifactId>modeshape-cli</artifactId>
<version>4.2.0.Final</version>
<version>4.3-SNAPSHOT</version>
<packaging>war</packaging>
<name>Example of a JSF web application that uses CLI scripts to create and remove a repository</name>
<description>
Expand All @@ -29,7 +29,7 @@
<version.wildfly.maven.plugin>1.0.1.Final</version.wildfly.maven.plugin>

<!-- Global dependency version information-->
<version.modeshape>4.2.0.Final</version.modeshape>
<version.modeshape>4.3-SNAPSHOT</version.modeshape>
</properties>

<dependencyManagement>
Expand Down
3 changes: 1 addition & 2 deletions modeshape-clustering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ The simplest way to do this is to follow the instructions provided [here](https:
Start 2 JBoss Wildfly instances with the set of provided configurations (see above)
--------------------------------------------------------------------------------------

1. Copy the `standalone-modeshape-node1.xml` and `standalone-modeshape-node2.xml` configuration files from the root of the quickstart
into the `JBOSS_HOME/standalone/configuration` folder
1. Copy the `standalone` folder from the root of the quickstart into the `JBOSS_HOME`folder
2. Open a command line and navigate to the root of the JBoss server directory.
3. Start the `master` server:

Expand Down
4 changes: 2 additions & 2 deletions modeshape-clustering/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.modeshape.quickstarts</groupId>
<artifactId>modeshape-clustering</artifactId>
<version>4.2.0.Final</version>
<version>4.3-SNAPSHOT</version>
<packaging>war</packaging>
<name>Example of a JSF web application that uses several clustered ModeShape servers</name>
<description>
Expand All @@ -29,7 +29,7 @@
<version.wildfly.maven.plugin>1.0.1.Final</version.wildfly.maven.plugin>

<!-- Global dependency version information-->
<version.modeshape>4.2.0.Final</version.modeshape>
<version.modeshape>4.3-SNAPSHOT</version.modeshape>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd"
xmlns="urn:infinispan:config:6.0">
<global>
<globalJmxStatistics enabled="false" allowDuplicateDomains="true"/>
<transport clusterName="modeshape-cluster">
<properties>
<property name="configurationFile" value="${jboss.server.config.dir}/modeshape/jgroups-config.xml" />
</properties>
</transport>
</global>

<namedCache name="clustered-repo">
<clustering mode="replication">
<sync />
</clustering>

<transaction transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup"
transactionMode="TRANSACTIONAL"
lockingMode="PESSIMISTIC" />
<locking lockAcquisitionTimeout="60000"/>
<persistence passivation="false">
<singleFile
preload="false"
shared="false"
fetchPersistentState="true"
purgeOnStartup="true"
location="${jboss.server.data.dir}/modeshape/store/repo-${jboss.node.name}">
</singleFile>
</persistence>
</namedCache>

<namedCache name="binary-fs">
<clustering mode="replication">
<sync />
</clustering>
<locking lockAcquisitionTimeout="60000"/>
<transaction
transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup"
transactionMode="TRANSACTIONAL"
lockingMode="PESSIMISTIC"/>
<persistence
passivation="false">
<singleFile
shared="false"
preload="false"
fetchPersistentState="false"
purgeOnStartup="false"
location="${jboss.server.data.dir}/modeshape/binary-store/repo-${jboss.node.name}-data">
</singleFile>
</persistence>
</namedCache>

<namedCache name="binary-fs-meta">
<clustering mode="replication">
<sync />
</clustering>
<locking lockAcquisitionTimeout="60000"/>

<transaction
transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup"
transactionMode="TRANSACTIONAL"
lockingMode="PESSIMISTIC"/>
<persistence
passivation="false">
<singleFile
shared="false"
preload="false"
fetchPersistentState="false"
purgeOnStartup="false"
location="${jboss.server.data.dir}/modeshape/binary-store/repo-${jboss.node.name}-metadata">
</singleFile>
</persistence>
</namedCache>
</infinispan>
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:org:jgroups"
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd">
<TCP bind_port="0"
recv_buf_size="${tcp.recv_buf_size:5M}"
send_buf_size="${tcp.send_buf_size:5M}"
max_bundle_size="64K"
max_bundle_timeout="30"
use_send_queues="true"
sock_conn_timeout="300"
timer_type="new3"
timer.min_threads="4"
timer.max_threads="10"
timer.keep_alive_time="3000"
timer.queue_max_size="500"
thread_pool.enabled="false"
oob_thread_pool.enabled="false"
port_range="0"/>
<MPING/>
<MERGE3 min_interval="10000"
max_interval="30000"/>
<FD timeout="3000" max_tries="3" />
<VERIFY_SUSPECT timeout="1500" />
<BARRIER />
<pbcast.NAKACK2 use_mcast_xmit="false"
discard_delivered_msgs="true"/>
<UNICAST3 />
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
max_bytes="4M"/>
<pbcast.GMS print_local_addr="true" join_timeout="2000"
view_bundling="true"/>
<MFC max_credits="2M"
min_threshold="0.4"/>
<FRAG2 frag_size="60K" />
<!--RSVP resend_interval="2000" timeout="10000"/-->
<pbcast.STATE_TRANSFER/>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -222,32 +222,9 @@
<worker name="default" io-threads="3"/>
<buffer-pool name="default" buffer-size="16384" buffers-per-slice="128"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:infinispan:2.0">
<cache-container name="modeshape" aliases="modeshape modeshape-cluster" default-cache="sample" module="org.modeshape">
<transport lock-timeout="60000"/>
<replicated-cache name="clustered-repo" mode="SYNC">
<locking isolation="READ_COMMITTED"/>
<transaction mode="NON_XA"/>
<file-store relative-to="jboss.server.data.dir" path="modeshape/store/sample-${jboss.node.name}" passivation="false" purge="false"/>
</replicated-cache>
</cache-container>
<cache-container name="modeshape-binary-cache-container" aliases="modeshape-binary-cache" default-cache="binary-fs" module="org.modeshape">
<transport lock-timeout="60000"/>
<replicated-cache name="binary-fs" mode="SYNC">
<locking isolation="READ_COMMITTED"/>
<transaction mode="NON_XA"/>
<file-store relative-to="jboss.server.data.dir" path="modeshape/binary-store/sample-binary-data-${jboss.node.name}" passivation="false" purge="false"/>
</replicated-cache>
<replicated-cache name="binary-fs-meta" mode="SYNC">
<locking isolation="READ_COMMITTED"/>
<transaction mode="NON_XA"/>
<file-store relative-to="jboss.server.data.dir" path="modeshape/binary-store/sample-binary-metadata-${jboss.node.name}" passivation="false" purge="false"/>
</replicated-cache>
</cache-container>
</subsystem>
<subsystem xmlns="urn:jboss:domain:modeshape:2.0">
<repository name="clustered-repo" cache-name="clustered-repo" cache-container="modeshape-cluster" anonymous-roles="admin">
<cache-binary-storage data-cache-name="binary-fs" metadata-cache-name="binary-fs-meta" cache-container="modeshape-binary-cache-container"/>
<subsystem xmlns="urn:jboss:domain:modeshape:2.1">
<repository name="clustered-repo" anonymous-roles="admin">
<cache-binary-storage data-cache-name="binary-fs" metadata-cache-name="binary-fs-meta"/>
</repository>
</subsystem>
<subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,32 +222,9 @@
<worker name="default" io-threads="3"/>
<buffer-pool name="default" buffer-size="16384" buffers-per-slice="128"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:infinispan:2.0">
<cache-container name="modeshape" aliases="modeshape modeshape-cluster" default-cache="sample" module="org.modeshape">
<transport lock-timeout="60000"/>
<replicated-cache name="clustered-repo" mode="SYNC">
<locking isolation="READ_COMMITTED"/>
<transaction mode="NON_XA"/>
<file-store relative-to="jboss.server.data.dir" path="modeshape/store/sample-${jboss.node.name}" passivation="false" purge="false"/>
</replicated-cache>
</cache-container>
<cache-container name="modeshape-binary-cache-container" aliases="modeshape-binary-cache" default-cache="binary-fs" module="org.modeshape">
<transport lock-timeout="60000"/>
<replicated-cache name="binary-fs" mode="SYNC">
<locking isolation="READ_COMMITTED"/>
<transaction mode="NON_XA"/>
<file-store relative-to="jboss.server.data.dir" path="modeshape/binary-store/sample-binary-data-${jboss.node.name}" passivation="false" purge="false"/>
</replicated-cache>
<replicated-cache name="binary-fs-meta" mode="SYNC">
<locking isolation="READ_COMMITTED"/>
<transaction mode="NON_XA"/>
<file-store relative-to="jboss.server.data.dir" path="modeshape/binary-store/sample-binary-metadata-${jboss.node.name}" passivation="false" purge="false"/>
</replicated-cache>
</cache-container>
</subsystem>
<subsystem xmlns="urn:jboss:domain:modeshape:2.0">
<repository name="clustered-repo" cache-name="clustered-repo" cache-container="modeshape-cluster" anonymous-roles="admin">
<cache-binary-storage data-cache-name="binary-fs" metadata-cache-name="binary-fs-meta" cache-container="modeshape-binary-cache-container"/>
<subsystem xmlns="urn:jboss:domain:modeshape:2.1">
<repository name="clustered-repo" anonymous-roles="admin">
<cache-binary-storage data-cache-name="binary-fs" metadata-cache-name="binary-fs-meta"/>
</repository>
</subsystem>
<subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
Expand Down
4 changes: 2 additions & 2 deletions modeshape-ejb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for help on how to install and configure Maven 3._
2. Open a command line and navigate to the root directory of this quickstart.
3. Type this command to build and deploy the archive:

mvn clean package jboss-as:deploy
mvn clean package wildfly:deploy

4. This will deploy `target/modeshape-ejb.war` to the running instance of the server.

Expand All @@ -65,7 +65,7 @@ Undeploy the Archive
2. Open a command line and navigate to the root directory of this quickstart.
3. When you are finished testing, type this command to undeploy the archive:

mvn jboss-as:undeploy
mvn wildfly:undeploy

Run the Arquillian Tests
-------------------------
Expand Down
4 changes: 2 additions & 2 deletions modeshape-ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.modeshape.quickstarts</groupId>
<artifactId>modeshape-ejb</artifactId>
<version>4.2.0.Final</version>
<version>4.3-SNAPSHOT</version>
<packaging>war</packaging>
<name>Example of web application that uses ModeShape via EJBs</name>
<description>
Expand All @@ -29,7 +29,7 @@
<version.wildfly.maven.plugin>1.0.1.Final</version.wildfly.maven.plugin>

<!-- Global dependency version information-->
<version.modeshape>4.2.0.Final</version.modeshape>
<version.modeshape>4.3-SNAPSHOT</version.modeshape>
</properties>

<dependencyManagement>
Expand Down
7 changes: 3 additions & 4 deletions modeshape-federation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ The simplest way to do this is to follow the instructions provided [here](https:
Start a JBoss Wildfly instance with the provided configuration file (see above)
---------------------------------------------------------------------------

1. Copy the `standalone-modeshape-federation.xml` file from the root of the quickstart into the `JBOSS_HOME/standalone/configuration`
folder
1. Copy the `standalone` folder from the root of the quickstart into the `JBOSS_HOME`folder
2. Open a command line and navigate to the root of the JBoss server directory.
3. Start the `master` server:

Expand All @@ -42,7 +41,7 @@ for help on how to install and configure Maven 3._
2. Open a command line and navigate to the root directory of this quickstart.
3. Type this command to build and deploy the archive into the `master` server:

mvn clean package jboss-as:deploy
mvn clean package wildfly:deploy

4. This will deploy `target/modeshape-federation.war` to the running server.

Expand All @@ -65,7 +64,7 @@ Undeploy the Archive
2. Open a command line and navigate to the root directory of this quickstart.
3. When you are finished testing, type this command to undeploy the archive from the server:

mvn jboss-as:undeploy
mvn wildfly:undeploy

Run the Arquillian Tests
-------------------------
Expand Down
4 changes: 2 additions & 2 deletions modeshape-federation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.modeshape.quickstarts</groupId>
<artifactId>modeshape-federation</artifactId>
<version>4.2.0.Final</version>
<version>4.3-SNAPSHOT</version>
<packaging>war</packaging>
<name>Example of a JSF web application that uses ModeShape in Federated mode</name>
<description>
Expand All @@ -29,7 +29,7 @@
<version.wildfly.maven.plugin>1.0.1.Final</version.wildfly.maven.plugin>

<!-- Global dependency version information-->
<version.modeshape>4.2.0.Final</version.modeshape>
<version.modeshape>4.3-SNAPSHOT</version.modeshape>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd"
xmlns="urn:infinispan:config:6.0">

<global>
<globalJmxStatistics enabled="false" allowDuplicateDomains="true"/>
</global>

<namedCache name="federated-repository">
<transaction
transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup"
transactionMode="TRANSACTIONAL"
lockingMode="PESSIMISTIC"/>
</namedCache>
</infinispan>
Loading