When I tried to
test the activation and passivation of a stateful session bean, I met a problem.
I copied the conf/standardjboss.xml to deploy/jboss-service.xml,and made the following changes:
<container-configuration>
<container-name>Standard Stateful SessionBean</container-name>
......
<container-pool-conf>
<MaximumSize>2</MaximumSize>
</container-pool-conf>
</container-configuration>
In my stateful session bean, I created 3 stateful beans. But in the console of the server, the following messages are given:
16:07:43,740 INFO [STDOUT] call ejbCreate();
16:07:43,981 INFO [STDOUT] call count();
16:07:44,531 INFO [STDOUT] call ejbCreate();
16:07:44,592 INFO [STDOUT] call count();
16:07:45,102 INFO [STDOUT] call ejbCreate();
16:07:45,132 INFO [STDOUT] call count();
16:07:45,633 INFO [STDOUT] call count();
16:07:46,154 INFO [STDOUT] call count();
16:07:46,675 INFO [STDOUT] call count();
16:07:47,716 INFO [STDOUT] call ejbRemove();
16:07:47,726 INFO [STDOUT] call ejbRemove();
16:07:47,736 INFO [STDOUT] call ejbRemove();
No activation/passivation messages are given. Is there anything wrong?
Please help me. Thanks first!