On Tue, 2002-11-05 at 18:50, Daniel Rall wrote:
> Log?
Sure -- Accidental commit, damn you cvs!
Need to back out the change to JCSAdminServlet.velocity.properties --
probably shouldn't specify a log system at all in that file, allowing it
to be discovered if possible probably makes more sense.
The other piece is in response to earlier discussion on the list,
freeCache now actually removes the cache from the manager, rather than
just disposing it.
> [EMAIL PROTECTED] writes:
>
> > jtaylor 2002/11/05 08:14:51
> >
> > Modified: src/conf JCSAdminServlet.velocity.properties
> > src/java/org/apache/jcs/engine/control
> > CompositeCacheManager.java
> > Log:
> >
> >
> > Revision Changes Path
> > 1.2 +2 -2
>jakarta-turbine-jcs/src/conf/JCSAdminServlet.velocity.properties
> >
> > Index: JCSAdminServlet.velocity.properties
> > ===================================================================
> > RCS file:
>/home/cvs/jakarta-turbine-jcs/src/conf/JCSAdminServlet.velocity.properties,v
> > retrieving revision 1.1
> > retrieving revision 1.2
> > diff -u -r1.1 -r1.2
> > --- JCSAdminServlet.velocity.properties 18 May 2002 02:11:31 -0000 1.1
> > +++ JCSAdminServlet.velocity.properties 5 Nov 2002 16:14:51 -0000 1.2
> > @@ -1,5 +1,5 @@
> > -runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> > -runtime.log.logsystem.log4j.category=org.apache.velocity.Velocity
> > +runtime.log.logsystem.class = org.apache.velocity.runtime.log.AvalonLogSystem
> > +runtime.log.logsystem.log4j.category =
>org.apache.plexus.velocity.DefaultVelocityComponentTest
> >
> > resource.loader = classpath
> > classpath.resource.loader.class =
>org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> >
> >
> >
> > 1.6 +1 -1
>jakarta-turbine-jcs/src/java/org/apache/jcs/engine/control/CompositeCacheManager.java
> >
> > Index: CompositeCacheManager.java
> > ===================================================================
> > RCS file:
>/home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/engine/control/CompositeCacheManager.java,v
> > retrieving revision 1.5
> > retrieving revision 1.6
> > diff -u -r1.5 -r1.6
> > --- CompositeCacheManager.java 7 Aug 2002 15:28:12 -0000 1.5
> > +++ CompositeCacheManager.java 5 Nov 2002 16:14:51 -0000 1.6
> > @@ -320,7 +320,7 @@
> > /** */
> > public void freeCache( String name, boolean fromRemote )
> > {
> > - CompositeCache cache = ( CompositeCache ) caches.get( name );
> > + CompositeCache cache = ( CompositeCache ) caches.remove( name );
> >
> > if ( cache != null )
> > {
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:turbine-jcs-dev-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail: <mailto:turbine-jcs-dev-help@;jakarta.apache.org>
> >
>
> --
>
> Daniel Rall <[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-jcs-dev-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-jcs-dev-help@;jakarta.apache.org>
>
--
To unsubscribe, e-mail: <mailto:turbine-jcs-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-jcs-dev-help@;jakarta.apache.org>