[jboss-jira] [JBoss JIRA] Updated: (JBAS-4762) Make distributable webapps depend on the clustering cache

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Fri Dec 14 12:18:46 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4762?page=all ]

Dimitris Andreadis updated JBAS-4762:
-------------------------------------

    Fix Version/s: JBossAS-5.0.0.CR1
                       (was:  JBossAS-5.0.0.Beta3)

Moving to CR1. If there is a problem with this, please contact me.

> Make distributable webapps depend on the clustering cache
> ---------------------------------------------------------
>
>                 Key: JBAS-4762
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4762
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service, Clustering
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: JBossAS-5.0.0.CR1
>
>
> In 4.x, in the all config the JBossWeb service itself depends on the jboss.cache:service=TomcatClusteringCache mbean.  In AS 5 this is not viable, as the relevant bean is the TomcatDeployer, which can't/shouldn't depend on a deploy folder service like the cache.  In any case, it's really the <distributable/> webapps that depend on the cache, not the deployer.
> The TomcatDeployer should be adding a dependency on the cache to deployments where WebMetaData.getDistributable() is true (probably in superclass AbstractWarDeployer.deployWebModule()).
> A problem with this dependency-based approach is it breaks the current "feature" whereby apps marked <distributable/> can be deployed in the default config. When this is done, the 4.x deployment code detects the absence of the cache and falls back on using the standard non-distributable session manager.  That won't work if we introduce a deployment dependency.

-- 
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