Change Notes item #539501, was opened at 2002-04-04 14:54
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=539501&group_id=22866
Category: JBoss/System
Group: v3.0 (Rabbit Hole)
Status: Open
Priority: 5
Submitted By: Jason Dillon (user57)
Assigned to: Jason Dillon (user57)
Summary: Added DeploymentCache component
Initial Comment:
A new component called DeploymentCache
(org.jboss.deployment.cache.DeploymnetCache) has been
added, which is used to intercept calls between a
DeploymentScanner and the MainDeployer, caching the
URL content.
By default the cache is not enabled, as most
developers and productions system will not need to
cache deployment URLs. Systems that use JBoss
NetBoot will want to configure the cache to speed up
the time required to boot and to reduce network
traffic.
Commented instructions on how to use the cache have
been added to default/conf/jboss-service.xml. Below
is an example of the basic DeploymentCache +
URLDeploymentScanner configuration:
<mbean
code="org.jboss.deployment.cache.FileDeploymentStore"
name="jboss.deployment:type=DeploymentStore,flavor=Fil
e">
<attribute name="DirectoryName">data/deployment-
cache</attribute>
</mbean>
<mbean
code="org.jboss.deployment.cache.DeploymentCache"
name="jboss.deployment:type=DeploymentCache">
<depends optional-attribute-
name="Deployer">jboss.system:service=MainDeployer</dep
ends>
<depends optional-attribute-
name="Store">jboss.deployment:type=DeploymentStore,fla
vor=File</depends>
</mbean>
<mbean
code="org.jboss.deployment.scanner.URLDeploymentScanne
r"
name="jboss.deployment:type=DeploymentScanner,flavor=U
RL">
<depends optional-attribute-
name="Deployer">jboss.system:service=MainDeployer</dep
ends>
<attribute name="ScanPeriod">5000</attribute>
<attribute name="URLs">
./deploy
</attribute>
</mbean>
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=539501&group_id=22866
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development