Hi,

Since 3.1.4(?) OpenEJB seems to use 2 ejbd ports.

Starting OpenEJB:
openejb start -Dejbd.bind=mars -Dadmin.port=4200 -Dejbd.port=32332 -Dtelnet.disabled=true -Dhsql.disabled=true -Dhttpejbd.disabled=true

** Starting Services **
  NAME                 IP              PORT
  admin thread         127.0.0.1       4200
  ejbd                 mars            32332
  ejbd                 127.0.0.1       4203
-------
Ready!


When i start a second server on a different port the following happens:

** Starting Services **
  NAME                 IP              PORT
  admin thread         127.0.0.1       3999
  ejbd                 mars            40000
  ejbd                 ----            FAILED
-------
Ready!

In openejb.log erverything is fine until:
2011-02-24 14:10:23,887 - FATAL - Service Start Failed: ejbd 127.0.0.1 4203: Service failed to open socket: Address already in use: JVM_Bind

Both containers seem to work, but this looks scary.
Whats the job of the second ejbd service and how can i configure the port number?

Reply via email to