[jboss-jira] [JBoss JIRA] Created: (JBFORUMS-270) clustered forums

Luca Stancapiano (JIRA) jira-events at lists.jboss.org
Tue Feb 5 13:19:10 EST 2008


clustered forums
----------------

                 Key: JBFORUMS-270
                 URL: http://jira.jboss.com/jira/browse/JBFORUMS-270
             Project: JBoss Forums
          Issue Type: Task
          Components: Forum Model Layer
    Affects Versions: 1.1.0 GA
         Environment: linux
            Reporter: Luca Stancapiano
         Assigned To: Ryszard Kozmik
             Fix For: 1.1.0 GA


hi... I expose all operations that I've done to use jboss forums in a cluster.... they are trasparent . Ant system for build will create three versions of jboss forums. They are:

- default .... (jboss-forums.ear) not clusterized version.

- ha... (jboss-forums-ha.ear) clustered version not dependent by jboss portal

- ha-jbp... (jboss-forums-ha-jbp.ear) clustered version dependent by jboss portal

 they are many but essentials:


- remove of xdoclet in all classes of jboss.portlet.forums.impl package that create configuration files for hibernate. Now there are three type of configurations (default, ha, ha-jbp) and we don't more embed configurations into classes.

- creation of a new hbm.xml file that contains all queries executed into forums. Each version has a new Queries.hbm.xml with a different configuration. So we can to assign what query needs to be cacheable. ForumsModuleImpl class uses this configuration instead to declare the queries and never configure cacheable option into the code. Added flush operation for each save with hibernate. It is important for a correct use of clustering

- modified build.xml of auth-jaae-plugin so it can to be added also into new two versions of forums.

- added a cache-plugin. It is the standalone service for clustering used for ha version.

- updated configure target of main build.xml to  manage cache-plugin.

- updated output, deploy, undeploy, explode and configure targets of build.xml into forums module to create the two new versions of forums. Added the creation of new modules , management of cache-plugin and dependencies to new libraries (jgroups and jboss cache). Removed operations of xdoclet-hiberante and substituted by copy of static configuration files for hibernate.

- updated hibernate.jar to 3.2.4.SP1_CP version to introduce clustering with jboss cache. Added jgroups and jboss cache libraries into thirdparty and tools configuration


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list