After grabbing the latest tarball (http://github.com/tomstrummer/openfire-jboss-clustering/tree/master#), extracting it and running mvn build install I get:
T E S T S
Running com.enernoc.rnd.openfire.cluster.MultiUserTest
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.ServiceDiscoveryManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.XHTMLManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.muc.MultiUserChat
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.filetransfer.FileTransferManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.LastActivityManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.ServiceDiscoveryManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.XHTMLManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.muc.MultiUserChat
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.filetransfer.FileTransferManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.LastActivityManager
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.024 sec <<< FAILURE!
Running com.enernoc.rnd.openfire.cluster.cache.JBossCacheTest
Aug 18, 2009 9:44:41 AM org.jboss.cache.jmx.PlatformMBeanServerRegistration registerToPlatformMBeanServer
INFO: JBossCache MBeans were successfully registered to the platform mbean server.
Aug 18, 2009 9:44:41 AM org.jgroups.JChannel init
INFO: JGroups version: 2.7.0.GA
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.32 sec <<< FAILURE!
Results :
Tests in error:
com.enernoc.rnd.openfire.cluster.MultiUserTest
testSimpleMapOperations(com.enernoc.rnd.openfire.cluster.cache.JBossCacheTest)
testSimpleMapOperations(com.enernoc.rnd.openfire.cluster.cache.JBossCacheTest)
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to /usr/local/src/tomstrummer-openfire-jboss-clustering-35c8913a255cd9663c19c8899f 3b46e041552ab5/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35 seconds
[INFO] Finished at: Tue Aug 18 09:44:41 PDT 2009
[INFO] Final Memory: 14M/28M
[INFO] ------------------------------------------------------------------------
I’ve already done:
mvn install:install-file -DgroupId=org.igniterealtime.openfire -DartifactId=openfire -Dversion=3.6.4 -Dpackaging=jar -DgeneratePom=true -Dfile=/usr/share/openfire/lib/openfire.jar
required to build the maven-openfire plugin before this clustering plugin.
I don’t have much experience building Java stuff (this is my first), so maybe there’s a CPAN-ish ‘install this class bundle’ command I should be using for Maven, but I would have expected the openfire.jar to have the Smack classes.
The last activity shown on GitHub shows June 28th 2009. Are you still working on this code? It looks very promising
Thanks,
–John