Meanwhile, try it as a System property on the client side before you open any
connections.
>
You can also set it on the server side via an openejb-jar.xml in either of the
properties buckets:
<openejb-jar>
<properties>
openejb.client.connection.strategy=random
</properties>
<ejb-deployment ejb-name="CalculatorImpl">
<properties>
openejb.client.connection.strategy=round-robin
</properties>
</ejb-deployment>
</openejb-jar>
In this case the properties are actually sent up to the client from the server
and work in favor of any system level property.
So order of preference is:
1. bean property (openejb-jar.xml)
2. module property (openejb-jar.xml)
3. system property (client side system property)
Thanks for the hints.
I solved the problem using proposal 1) - thank you very much!
I also tried options 2 and 3, but neither worked. I debugged and found in
org.apache.openejb.client.ConnectionManager.getConnection() that the property
'openejb.client.connection.strategy' is null in either case.
Kinds regards,
Christian