Hi,

I need to expose my EJB beans for the remote calls. What's the best way of
doing that?

What I've been doing I tried adding ejbd.properties to $TOMEE_HOME/conf.d/

server      = org.apache.openejb.server.ejbd.EjbServer
bind        = 127.0.0.1
port        = 4201
threads     = 200
disabled = false
backlog     = 2000
discovery   = ejb:ejbd://{bind}:{port}
only_from   = 127.0.0.1,192.168.1.1

which haven't given any results - logs shows only 1 admin service bounded on
4200/tcp
lsof -n -i4TCP:4201 | grep LISTEN also doesn't show anything expected

INFO:   ** Bound Services **
INFO:   NAME                 IP              PORT  
INFO:   admin                127.0.0.1       4200  
INFO: -------
INFO: Ready!

I've also tried putting following to $TOMEE_HOME/conf/system.properties

ejbd.disabled=false
ejbd.bind=127.0.0.1
ejbd.server=org.apache.openejb.server.ejbd.EjbServer
ejbd.port=4201
ejbd.name=ejbd 
ejbd.threads=200
ejbd.only_from=127.0.0.1,192.168.1.1
openejb.embedded.remotable=true

but again without any success.
However for bare OpenEJB 3/4 without tomcat layer such approach works great.

So how should I enable ejbd service for remote EJB interaction in TomEE?

Thanks,
Alex

--
View this message in context: 
http://openejb.979440.n4.nabble.com/OpenEJB-remote-ejbd-provider-in-TomEE-tp4655799.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to