I have some concerns about this.
1. Is axion really a runtime dependency of clustering? If so, what
do we need to do to remove this dependency? Previously axion was only
used in a few tests due to lack of time to update them to use derby.
2. Unfortunately we don't have transitive dependencies yet: therefore
whenever you add a <geronimo.dependency>true</geronimo.dependency> in
one project you should add the same dependency without the
<geronimo.dependency>true</geronimo.dependency> property into at
least every config project.xml that uses the module and every
assemblies project.xml. Otherwise people may not be able to build
the servers. This has happened just now with the backport-concurrent
jar to someone on the genonimo user list.
3. As a longer term question, is it possible to put clustering into
a separate module in such a way that it is possible to run without
clustering support and without the clustering jars?
Many thanks
david jencks
On Dec 21, 2005, at 6:21 AM, [EMAIL PROTECTED] wrote:
gdamour 2005/12/21 09:21:49
Modified: modules/core project.xml
Log:
GERONIMO-1397 Clustering of SFSB
First step of many others to add the clustering of SFSB.
This check-in adds the following features:
* definition of an EJBClusterManager, which abstracts an EJB
Cluster node;
* this EJB cluster node is a standard GBean (the default or
WADI implementation is DefaultEJBClusterManager);
* in an openejb-jar.xml DD, a SFSB can declare a reference to
this node via
the ejb-cluster-reference element;
* when the SFSB container is started, the EJB cluster node notifies
the cluster that it is running a specific SFSB container;
* when a clustered SFSB InstanceContext is created, an array of
nodes running
the container of this SFSB is associated to the InstanceContext.
Note that
this array of nodes is updated upon start-up of a clustered SFSB
container or
upon node failure;
* this array of nodes capable of running the created SFSB is
propagated to
clients. Actually, this array is propagated at each EJB invocation.
Revision Changes Path
1.64 +101 -1 openejb/modules/core/project.xml
Index: project.xml
===================================================================
RCS file: /home/projects/openejb/scm/openejb/modules/core/
project.xml,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- project.xml 11 Dec 2005 07:30:19 -0000 1.63
+++ project.xml 21 Dec 2005 14:21:49 -0000 1.64
@@ -334,6 +334,106 @@
<version>${xmlbeans_version}</version>
</dependency>
+ <!-- EJB Clustering -->
+ <dependency>
+ <groupId>activecluster</groupId>
+ <artifactId>activecluster</artifactId>
+ <version>${wadi_activecluster_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>wadi</groupId>
+ <artifactId>wadi-core</artifactId>
+ <version>${wadi_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>activeio</groupId>
+ <artifactId>activeio</artifactId>
+ <version>${activeio_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>axion</groupId>
+ <artifactId>axion</artifactId>
+ <version>${axion_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>activemq</groupId>
+ <artifactId>activemq-core</artifactId>
+ <version>${activemq_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>${commons_logging_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>${commons_collections_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-primitives</groupId>
+ <artifactId>commons-primitives</artifactId>
+ <version>${commons_primitives_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>backport-util-concurrent</groupId>
+ <artifactId>backport-util-concurrent</artifactId>
+ <version>${backport_util_concurrent_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>concurrent</groupId>
+ <artifactId>concurrent</artifactId>
+ <version>${concurrent_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ <version>${regexp_version}</version>
+ <properties>
+ <geronimo.dependency>true</geronimo.dependency>
+ </properties>
+ </dependency>
+
</dependencies>
<!-- =================== -->