[jboss-jira] [JBoss JIRA] (WFLY-677) AS fails to boot if hostname is not pingable
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Apr 23 18:13:53 EDT 2013
[ https://issues.jboss.org/browse/WFLY-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFLY-677:
----------------------------------
Assignee: Daniel Bevenius (was: Brian Stansberry)
> AS fails to boot if hostname is not pingable
> --------------------------------------------
>
> Key: WFLY-677
> URL: https://issues.jboss.org/browse/WFLY-677
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: Awaiting Volunteers
> Environment: Fedora 15
> Reporter: Misty Stanley-Jones
> Assignee: Daniel Bevenius
> Fix For: Awaiting Volunteers
>
>
> If hostname is not pingable (such as a made-up value like "cheezel" or a FQDN like "dhcp-111-bne.redhat.com"), the AS fails to start in domain mode, with a bindException. If I change the hostname to "localhost", the AS starts fine.
> AS starts in standalone mode regardless.
> {noformat}
> [mstanley at dhcp-1-111 bin]$ ./domain.sh
> =========================================================================
> JBoss Bootstrap Environment
> JBOSS_HOME: /home/mstanley/git/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT
> JAVA: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64//bin/java
> JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman
> =========================================================================
> 09:47:32,049 INFO [org.jboss.modules] (main) JBoss Modules version 1.0.0.CR3
> Exception in thread "main" java.net.BindException: Cannot assign requested address
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
> at java.net.ServerSocket.bind(ServerSocket.java:336)
> at org.jboss.as.protocol.ProtocolServer.start(ProtocolServer.java:121)
> at org.jboss.as.process.ProcessController.<init>(ProcessController.java:77)
> at org.jboss.as.process.Main.start(Main.java:150)
> at org.jboss.as.process.Main.main(Main.java:59)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.jboss.modules.Module.run(Module.java:270)
> at org.jboss.modules.Main.main(Main.java:313)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list