Hello Mike,

> If I understand your question correctly, yes (well, no to the 'dreaming'
> question :-) ). The 'default' list of ports would either be in the config
> file (like example below), or in each of the services' respective config
> files.
>
> I think this is what you mean (?). At config-time, just specify the server
> (default, serverA, etc) you want to run, in servicebinding-service.xml.
> Sacha - let me know if this is NOT what you mean!

Well, not exactly. In fact, I should simply read more carefuly your doc. I
was thinking to something like that:

<server name="default">
    <service name="jboss:service=Naming">
      <listen-host-name></listen-host-name>
      <listen-port>1099</listen-port>
    </service>
    <service name="jboss:service=Hypersonic">
      <listen-host-name></listen-host-name>
      <listen-port>1476</listen-port>
    </service>
    ...
</server>
<server name="serverA">
    <default-host-name>serverA_hostname</default-host-name>
    <!-- no service tag necessary... implicit "extend" statement -->
</server>

or something like

<server name="default">
    <service name="jboss:service=Naming">
      <listen-host-name></listen-host-name>
      <listen-port>1099</listen-port>
    </service>
    <service name="jboss:service=Hypersonic">
      <listen-host-name></listen-host-name>
      <listen-port>1476</listen-port>
    </service>
    ...
</server>
<server name="serverA" extends="default">
    <default-host-name>serverA_hostname</default-host-name>
    <!-- no service tag necessary -->
</server>

but the default-host-name could be in the server tag as:
<server name="serverA" extends="default"
default-host-name="serverA_hostname"/>

It is just that on multi-homed computer, the port is generally the same,
only the IP changes.

Cheers,


                                Sacha




-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to