In order to test the recent fixes to the jboss-as-5 plugin, which John
Sanda summarized in another thread, it was necessary to start up
multiple EAP instances each having hundreds of EJB's, of all four EJB
types, deployed. To get the EAP instances running on my Fedora dev box,
there were some modifications I needed to make to OS config files, as
well as to my RHQ Agent and Server env settings. These are summarized here:
http://rhq-project.org/display/RHQ/Starting+Multiple+JBoss+AS+Instances
That page also contains a link to a script I wrote for starting up n AS
or EAP instances.
To deploy lots of EJB's, I wrote a tool called jeeGen (Java EE
Generator) that can generate a v2.0, v2.1, v3.0, or v3.1 EJB-JAR
containing a specified number of each of the four types of EJB's. To use
it:
git checkout master
cd modules/helpers/jeeGen
mvn install
java -jar target/jeeGen-4.3.0-SNAPSHOT.jar 3.0 100 100 100 100
This produces a v3.0 EJB-JAR named test-ejb.jar in the cwd. The jar will
contain 100 entity beans, 100 SLSB's, 100 SFSB's, and 100 MDB's.
In the future, support for generating WAR's, EAR's, JBoss datasource
deployment descriptors, etc., could be added to JeeGen.
These tips and tools should be useful for future testing of the
jboss-as, jboss-as-5, and jboss-as-7 plugins.