[
https://issues.jboss.org/browse/AS7-1004?page=com.atlassian.jira.plugin.s...
]
Darran Lofthouse commented on AS7-1004:
---------------------------------------
After further investigation I believe the behaviour you are describing is the correct
behaviour.
The inet-address element causes a search criteria to be used that searches all network
interfaces to identify the interface with that name bound, as you don't have a network
interface with 127.0.1.1 bound no network interface is found so there is no interface for
services to bind to.
The loopback-address when searching only needs to detect that an interface is a loopback
interface to be able to select it to bind to, this is why the loopback-address works as it
no longer needs to search by exact address.
"failed to resolve interface default" if default interface
inet-address value set to a local address other than 127.0.0.1
-------------------------------------------------------------------------------------------------------------------------
Key: AS7-1004
URL:
https://issues.jboss.org/browse/AS7-1004
Project: Application Server 7
Issue Type: Bug
Environment: Fedora 15, Sun JDK 1.6.0_24-b07, jboss-7.0.0.Beta4-SNAPSHOT-1194,
standalone
Reporter: Marek Schmidt
Assignee: Darran Lofthouse
Priority: Minor
Setting the "default" interface to, e.g.:
{code}
<interface name="default">
<inet-address value="127.0.1.1"/>
</interface>
{code}
throws the following exception at startup, even if the 127.0.1.1 address is set up in
/etc/hosts (not that it should matter)
I have noticed there exists a loopback-address element which seems to work, but I fail to
see why this one shouldn't.
{quote}
12:06:18,660 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service
jboss.network.default: org.jboss.msc.service.StartException in service
jboss.network.default: failed to resolve interface default
at
org.jboss.as.server.services.net.NetworkInterfaceService.start(NetworkInterfaceService.java:106)
[jboss-as-server-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
[jboss-msc-1.0.0.Beta8.jar:1.0.0.Beta8]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
{quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira