Hi Davide,

to skip tomcat in tomee on ejbd invocations you need:
1) set system property (either on the jvm or in
conf/system.properties)
openejb.service.manager.class=org.apache.openejb.server.SimpleServiceManager
2)  set the properties (ejbd.*) you mentionned either as system properties
or simply use conf/conf.d/ejbd.properties (created after one startup if not
already present)

Note: openejb.embedded.remotable is useless in tomee

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/11/22 middleware <davide.pasin...@infocamere.it>

> I'd like to test TomEE ejb remote invocation performance. For this reason,
> I'd like to invoke ejb via TCP socket instead of via HTTP. How do I
> configure the ejb socket daemon in Tomee?
>
> I found somewhere, these properties:
>
> properties.setProperty("openejb.embedded.remotable", "true");
> //Uncomment these properties to change the defaults
> //properties.setProperty("ejbd.port", "4202");
> //properties.setProperty("ejbd.bind", "localhost");
> //properties.setProperty("ejbd.threads", "200");
> //properties.setProperty("ejbd.disabled", "false");
> //properties.setProperty("ejbd.only_from", "127.0.0.1,192.168.1.1");
>
> Are these client or server properties?
>
> Can I configure the deamon in tomee.xml?
>
> Regards
> Davide
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/EJB-socket-deamon-in-tomee-tp4658792.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to