-
1. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
dprakash Sep 27, 2012 11:40 PM (in response to dprakash)Any update on this will be very useful. Thanks.
-
2. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
nickarls Sep 28, 2012 2:01 AM (in response to dprakash)try binding to
<interface name="public"> <any-address/> </interface>
-
3. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
xin.zhang.song Sep 28, 2012 2:09 AM (in response to dprakash)also you can run this command when you start the as7 server:
standalone.bat -b 0.0.0.0
-
4. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
dprakash Sep 28, 2012 2:10 AM (in response to nickarls)When I configure the following, http://localhost:8080/index.html does not work but, both http://x.x.x.x:8080/index.html and http://prakash-win7:8080/index.html works fine.
<interface name="public">
<inet-address value="prakash-win7"/>
</interface>
Any other configuration required to get all the three URLs up?
-
5. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
nickarls Sep 28, 2012 2:11 AM (in response to dprakash)you mean neither any-address or -b 0.0.0.0 worked?
-
6. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
jaikiran Sep 28, 2012 2:11 AM (in response to nickarls)./standalone.sh -b 0.0.0.0
should work too
-
7. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
dprakash Sep 28, 2012 2:11 AM (in response to xin.zhang.song)I am running AS 7 as windows service...How can I achieve standalone -b 0.0.0.0 here?
-
8. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
nickarls Sep 28, 2012 2:13 AM (in response to dprakash)you could add it to standalone.bat
Message was edited by: Nicklas Karlsson
-
9. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
xin.zhang.song Sep 28, 2012 2:21 AM (in response to dprakash)you can add it like this (${JBoss}/bin/standalone.bat):
"%JAVA%" %JAVA_OPTS% ^
"-Dorg.jboss.boot.log.file=%JBOSS_LOG_DIR%\boot.log" ^
"-Dlogging.configuration=file:%JBOSS_CONFIG_DIR%/logging.properties" ^
"-Djboss.server.base.dir=%JBOSS_BASE_DIR%" ^
"-Djboss.home.dir="%JBOSS_HOME%"" ^
-jar "%JBOSS_HOME%\jboss-modules.jar" ^
-mp "%JBOSS_MODULEPATH%" ^
-jaxpmodule "javax.xml.jaxp-provider" ^
org.jboss.as.standalone ^
-b 0.0.0.0 ^
%*
-
10. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
dprakash Sep 28, 2012 2:19 AM (in response to xin.zhang.song)I added -b 0.0.0.0 ^ in standalone.bat but URL with localhost is not coming up...Any idea?
-
11. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
xin.zhang.song Sep 28, 2012 2:24 AM (in response to dprakash)Is there something changed in standalone.xml ? the standalone.xml does not need to change!
-
12. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
nickarls Sep 28, 2012 2:25 AM (in response to dprakash)Show the sun.java.command line from boot.log (make sure the change got in)
-
13. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
dprakash Sep 28, 2012 2:26 AM (in response to xin.zhang.song)The following change I did it in standalone.xml...
<interface name="public">
<inet-address value="prakash-win7"/>
</interface>
Should I revert back?
-
14. Re: JBoss-7.1.1-Acess index.html from ROOT using localhost/hostname/IP address
dprakash Sep 28, 2012 2:27 AM (in response to nickarls)Here is the sun.java.command:
sun.java.command = D:\Prakash\Softwares\JBoss_Home\jboss-as-7.1.1.Final\jboss-modules.jar -mp D:\Prakash\Softwares\JBoss_Home\jboss-as-7.1.1.Final\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -b 0.0.0.0 -Djboss.home.dir=D:\Prakash\Softwares\JBoss_Home\jboss-as-7.1.1.Final