cancel
Showing results for 
Search instead for 
Did you mean: 

MDB MaxSize=1 doesn't work and PoolClass Questions

Former Member
0 Kudos

Hello,

I have a problem.

I configured our MDB with MaxSize=1. We need this configuration to sequentialize our message consumption. If running this in the NetWeaver App-Server, it doesn't work.

Then I tried to set the PoolClass property in the ejb-j2ee-engine.xml and wrote my own ServerSessionPool. This leads to another problem. The classloader of the service ejb doesn't find my class, which is in my own library. Is it possible to change the reference of the service ejb after installation?

Questions:

1. How can I configure sequential message consumption?

2. Otherwise: where can I put my ServerSessionPool.class in order to work with the MDP-Property PoolClass

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

We've run into the same issue with our app. It never worked, esp. in a clustered environment, so we ended up using a JNDI-based locking strategy to ensure a process is run once in the cluster. And BTW, the default server session pool class provided in all help documentation for MDB doesn't work with SAP WAS SS13.