-
1. Re: To change the
peterj Jul 31, 2007 11:54 AM (in response to vjger)The mistake is thinking that changing this value causes the app server to rebind the ports. It doesn't.
If you want to bind to 0.0.0.0, start the app server as follows:
run -b 0.0.0.0 -
2. Re: To change the
vjger Aug 1, 2007 5:28 AM (in response to vjger)ok...thanks.
But why the "address" field is editable? -
3. Re: To change the
peterj Aug 1, 2007 11:00 AM (in response to vjger)Because the address field is initialized from data kept in a configuration file, so the field must be write-able. Consider it a write-once field.
-
4. Re: To change the
vjger Aug 2, 2007 5:00 AM (in response to vjger)"PeterJ" wrote:
Because the address field is initialized from data kept in a configuration file
I imagine this file is "server.xml".
If so, where and how is valorized the ${jboss.bind.address}?
Is it possible to map more ip addresses?<Connector port="8080" address="${jboss.bind.address}" maxThreads="250" strategy="ms" maxHttpHeaderSize="8192" emptySessionPath="true" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true"/>
Thanks again. -
5. Re: To change the
peterj Aug 2, 2007 11:18 AM (in response to vjger)No, you can map only one IP address. This is a limitation of the sockets library (so you cannot blame this one either Java or JBoss AS).
'valorized'? Not sure what you mean. But the typical way to set jboss.bind.address is to start the app server using the -b option, as I mentioned earlier. You could, alternately, set the system property directly:
run -Djboss.bind-address=0.0.0.0 -
6. Re: To change the
ag03902 Aug 2, 2007 7:10 PM (in response to vjger)Peter,
I have a question also, my app is remedy web-tier and it uses the Jboss/jboss tomcat ... I am on 4.0.4 and I cannot keep jboss up and running, also .remedy support told me that if I wanted to run on port 80 that I would need to edit the server.xml file which I did, it comes up and stays up for about 15 minutes or so than jboss goes down whether or not it is on 8080 or 80. -
7. Re: To change the
peterj Aug 3, 2007 11:05 AM (in response to vjger)ag03902, please do not post unrelated questions on the end of someone else's post; instead start a new post.