>> I'm testing MDB with Jboss, i wrote a MDB wich destination is a durable
>> topic. When i stop ContainerFactoy service, Jboss clear all instances of
the
>> MDB and it's OK.
>> But when i restart this service, it doesn't re-create the pool of MDB
>> instances. Is it a bug?

>Hi, It is possible that this could be considered a bug, since the stop()
>method tears down everything, but the start method does not build it up
>again.
>However: after checking the code I found the following: there is no way
>to ever invoke start() manually on a container.
But in Agent view (localhost:8082), in service ContainerFactory, there is a
start method??

>The ContainerFactory implements the stopService method, so any stop()
>code is run, but it does not implement the startService() method. This
>means that doing a manual invoke of the ContainerFactory stop() method
>>will result in all Containers beeing stoped - but running start() will
>NOT start them again.
>If this is a bug in ContainerFactory I don't know.
In fact, you're saying there is no way to stop and restart EJB container as
an independant service?

>I will not change the behaviour in JMSContainerInvoker until it really
>matters (since even if i change it, the stop method will stop the
>connection, and the start() of the connection will never be run).

Ok, thanks for responding.

Cécile Saint-Martin
[EMAIL PROTECTED]




_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to