-
1. cant hit jboss pages externally
wdfink Feb 17, 2011 9:38 PM (in response to hoffm263)How do you start the JBoss?
AFAIK JB6 start with bind to localhost (as in 5.x).
If you run vie run.sh you should use '-b 0.0.0.0' or '-b <your IP>'.
A simple test might to use local the URL <myIP>:8080
-
2. cant hit jboss pages externally
hoffm263 Feb 17, 2011 10:04 PM (in response to wdfink)Thanks for such a fast reply! I am running windows 7 64 bit. I start the server through my development environment (Eclipse) server management pane right now. I will try to run directly through the command line. Do you know the syntax for running it in windows?
-
3. cant hit jboss pages externally
hoffm263 Feb 17, 2011 10:53 PM (in response to wdfink)That helped alot actually!
I am able to run the server through the command "run.bat -b 0.0.0.0" and I am able to get the server console from the external ip address. I can then deploy the war using the web console and hit the site also with the external IP address.
Sorry to add one additional question since that technically solved the problem. Where can I add that parameter so I can start a configuration in eclipse and have it correctly set?
I set this in the run.bat file and I can run from the command line without adding the parameters:
set JAVA_OPTS=%JAVA_OPTS% -Djboss.bind.address=0.0.0.0
But the launch configuration from eclipse doesnt seem to use this batch file - Any idea on how to set that up?
-
4. cant hit jboss pages externally
hoffm263 Feb 17, 2011 10:57 PM (in response to hoffm263)Ok I found that I can set the value when I create the server - I just set the "server host name" option to "0.0.0.0" and everything works now! I can deploy from eclipse and hit it externally!
Thanks a bunch for pointing me in the right direction.
-
5. cant hit jboss pages externally
wdfink Feb 17, 2011 11:01 PM (in response to hoffm263)Hmm, I'm not sure about, I did not use ecplipse integration to start JBoss ;-(
But the -b option is a parameter of the jboss.Main class, so do you might find additional parameters of JBoss start ...
-
6. cant hit jboss pages externally
wdfink Feb 17, 2011 11:04 PM (in response to hoffm263)no problem, your welcome within the community ;-)