[jboss-jira] [JBoss JIRA] Closed: (JBAS-4762) Make distributable webapps depend on the clustering cache
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Sat Jan 26 18:21:21 EST 2008
[ http://jira.jboss.com/jira/browse/JBAS-4762?page=all ]
Brian Stansberry closed JBAS-4762.
----------------------------------
Resolution: Done
> 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.Beta4
>
>
> 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