|
I want JBoss Container passivates all the Session
Beans I created every time it can. I know I can use container configuration tags
to enable and disable this function.
My problem is that I need a new class or something
else to substitute org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache in the <instance-cache>
tags line!
I tried both using
<instance-cache></instance-cache>
and deleting the whole line from the section, but JBoss didn't
deploy.
I know the classes to use within these tags must implement
InstanceCache interface but directory
<jboss-path>\src\org\jboss\ejb\plugins does't contain nothing implementing
InstanceCache interface and different from
NoPassivationStatefulSessionInstanceCache.java
NoPassivationEntityInstanceCache.java What Do I have to fill up instance-cache tag with?
Help me.
Marco.
<container-configuration>
<container-name>Standard
Stateful SessionBean</container-name>
<call-logging>false</call-logging>
<container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
<instance-cache>org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache</instance-cache>
<persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
<container-invoker-conf>
<Optimized>False</Optimized>
</container-invoker-conf>
</container-configuration>
|
- RE: [jBoss-Dev] Set Beans Passivation Marco Pappalardo
- RE: [jBoss-Dev] Set Beans Passivation Bordet, Simone
