hi,
i'd like to make usage of an excalibur pool in my
embedded merlin container. unfortunately there is
not much documentation about excalibur nor is it
for different merlin lifestyles other than singleton.
i tried to derive a pool from DefaultPool:
import org.apache.avalon.excalibur.pool.DefaultPool;
import org.apache.avalon.excalibur.pool.DefaultPoolController;
import org.apache.avalon.excalibur.pool.ObjectFactory;
import org.apache.avalon.excalibur.pool.PoolController;
/**
* @avalon.component version="1.0" name="buffer-pool" lifestyle="singleton"
*/
public class TransportBufferPool extends DefaultPool
{
public TransportBufferPool(int initial, int maximum, int increment) throws Exception
{
super(TransportBufferFactory.INSTANCE, new DefaultPoolController(increment),
initial, maximum);
}
}
when starting merlin, the console contains the following:
[DEBUG ] (econ): creating child classloader for: [econ]
[DEBUG ] (econ.classloader): base: ${merlin.dir}
[DEBUG ] (econ.classloader): implicit entries: 1
[DEBUG ] (econ.classloader): classpath: file:/${merlin.dir}/bin/;file:/C:/Dokumente
und
Einstellungen/Stepper/.maven/repository/avalon-framework/jars/avalon-framework-impl-4.1.5.jar;file:/C:/Dokumente
und
Einstellungen/Stepper/.maven/repository/commons-collections/jars/commons-collections-2.1.jar
[DEBUG ] (econ.classloader.scanner): scanning: file:/${merlin.dir}/bin/
[WARN ] (econ.classloader.scanner): Ignoring component type
[de.escnet.signalling.common.buffer.TransportBufferPool] as the
implementation class contains a reference to the class
[org/apache/commons/collections/Buffer] which does not exist in the
classloader.
[DEBUG ] (econ.classloader.scanner): scanning: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/avalon-framework/jars/avalon-framework-impl-4.1.5.jar
[DEBUG ] (econ.classloader.scanner): scanning: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/commons-collections/jars/commons-collections-2.1.jar
[DEBUG ] (econ.classloader.types): type install count: 0
the missing org/apache/commons/collections/Buffer must be
referenced by excalibur?! so i included commons-collection
into my block.xml but nothing changed ;-((
do you have a tip?
/eike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]