I am using jboss-portal-2.6.2.GA(with jboss 4.2.2GA App Server), JDK 1.5.0.2, windows XP SP2. I have situation from where three ejb threads are accessing to one ejb A randomly. SO everytime any thread access to ejb A , new JNDI handler is creating instead of reusing the existing JNDI from the server pool.( jmx-console for ejb A shows incremental value of CreateCount values)
According to the documentation for jboss 3.0.2, i tried to put
container-pool-conf>
2
4
true
3000
</container-pool-conf>
at jboss.xml of ejb A.
Is there something wrong here ?
Here are the jboss.xml tags.
<container-pool-conf>
< MinimumSize>2</ MinimumSize>
< MaximumSize>4</ MaximumSize>
< strictMaximumSize>true</ strictMaximumSize>
< strictTimeout>3000</ strictTimeout>
</container-pool-conf>