openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joe <fischauto...@yahoo.de>
Subject second ejbd port
Date Thu, 24 Feb 2011 13:24:25 GMT
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?

Mime
View raw message