On 05/10/2011 11:54 AM, Max Rydahl Andersen wrote:
Note, I fixed it by just using the any-address.
But fixing the xml was not the question here.
My question was about the xml containing an error ( at least XSD validation is broken,
right?)
is it expected that no error about this is shown and its just failing
with a "cannot resolve network interface default" error ?
In general resolving a network interface can fail. But yeah, a clearer
error message and some additional checks while parsing won't hurt.
On May 10, 2011, at 11:27, Emanuel Muckenhuber wrote:
> On 05/10/2011 08:45 AM, Max Rydahl Andersen wrote:
>> in an attempt to fix that quickly I tried to add an extra inet-address:
>>
>> <interface name="default">
>> <inet-address value="192.168.3.1"/>
>> <inet-address value="192.168.2.10"/>
>> </interface>
>
> This is valid from an xml standpoint - however it tries to match all
> criteria, however you can try something like this:
>
> <interface name="default">
> <any>
> <inet-address value="192.168.3.1"/>
> <inet-address value="192.168.2.10"/>
> </any>
> </interface>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
/max
http://about.me/maxandersen