Issue Details (XML | Word | Printable)

Key: OPENEJB-140
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Blevins
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB

Server service "bind" option was ignored

Created: 21/Apr/06 09:12 AM   Updated: 21/Apr/06 09:16 AM  Due: 25/Sep/06
Component/s: configuration
Affects Version/s: 1.0
Fix Version/s: 1.0, 1.1

Time Tracking:
Not Specified

Resolution Date: 25/Sep/06 12:14 AM
Labels:


 Description  « Hide
_From Luis Edgardo Durán Lebis_

i was trying to configure the host binding
for the OpenEJB services, first, i issued:

openejb start -h 127.0.0.1 (this is because openejb is not binding to
localhost by default, even when *.properties files specified so)

And I had no success, later I tried:

Java -Dejbd.bind=127.0.0.1 -jar $OPENEJB_HOME/lib/openejb-core-1.0.jar start

And no success with that neither.

Every time I start openejb it is bound to the 0.0.0.0 ip address, and I
don't want this. I edited the *.properties files, I know OpenEJB is reading
them because if I change the disable property to true, the specified service
doesn't start. But even when the bind property is set to 127.0.0.1, the
server skip this and start bound to 0.0.0.0
---------------------------------


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Blevins added a comment - 21/Apr/06 09:16 AM
This was a slip up in the creation of ServerSockets and is now fixed. Tested with the following command:

{noformat}
mingus:~/work/openejb1/target/openejb-1.1-SNAPSHOT 11:59:16
$ ./bin/openejb -Dejbd.bind=192.168.42.13 start
OPENEJB_HOME=/Users/dblevins/work/openejb1/target/openejb-1.1-SNAPSHOT
OpenEJB 1.1-SNAPSHOT build: 20060420-2356
http://www.openejb.org
resources 1
OpenEJB ready.
[init] OpenEJB Remote Server
  ** Starting Services **
  NAME IP PORT
  webadmin 127.0.0.1 4203
  httpejbd 127.0.0.1 4204
  telnet 127.0.0.1 4202
  ejbd 192.168.42.13 4201
  admin 127.0.0.1 4200
-------
Ready!
{noformat}