Hi all,

I have a server application with embedded OpenEJB:

--
Properties properties = new Properties();
properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
org.apache.openejb.client.LocalInitialContextFactory");
properties.setProperty("openejb.embedded.remotable", "true");

                    
properties.setProperty("ejbd.threads", "200");
properties.setProperty("ejbd.port", ""+port);
properties.setProperty("ejbd.bind", ""+interfaceAddress);
properties.setProperty("ejbd.disabled", "false");

System.setProperty("Default Statless Container.PoolSize", "200");
System.setProperty("Default Statless Container.StrictPooling", "true");
                     
InitialContext context = new InitialContext(properties);
--

And some clients -> start up to 200 threads, every thread retrieves some
object from the remote server.
It seems that the server does not start 200 ejdb threads as it is
configured. Only 5 threads are started.

Client Exception is:

Could somebody please tell me why the server starts only 5 ejbd threads?
Thank You in advance!

-- 
View this message in context: 
http://openejb.979440.n4.nabble.com/embedded-OpenEJB-ejbd-threads-property-doesn-not-work-tp3215733p3215733.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to