quintonm    2003/02/04 15:15:01

  Modified:    xdocs    changes.xml
               src/java/org/apache/turbine/services/xmlrpc
                        TurbineXmlRpcService.java
  Log:
  The non-secure web server for handling xml-rpc requests
  will now use the services.XmlRpcService.address setting for
  the address on which to listen for requests.  If the setting
  is not found in TR.props, it will use the default of 0.0.0.0.
  This address will cause the server to listen on all
  addresses of a multi-homed machine.
  
  Revision  Changes    Path
  1.37      +8 -0      jakarta-turbine-2/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/xdocs/changes.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- changes.xml       31 Jan 2003 16:04:05 -0000      1.36
  +++ changes.xml       4 Feb 2003 23:15:00 -0000       1.37
  @@ -237,6 +237,14 @@
           A new SessionService has been added.  This will allow access to all
           sessions in the current context.
       </li>
  +    <li>
  +        The non-secure web server for handling xml-rpc requests
  +        will now use the services.XmlRpcService.address setting for
  +        the address on which to listen for requests.  If the setting
  +        is not found in TR.props, it will use the default of 0.0.0.0.
  +        This address will cause the server to listen on all
  +        addresses of a multi-homed machine.
  +    </li>
     </ul>
   </p>
   </subsection>
  
  
  
  1.15      +4 -3      
jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java
  
  Index: TurbineXmlRpcService.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TurbineXmlRpcService.java 21 Jan 2003 21:00:08 -0000      1.14
  +++ TurbineXmlRpcService.java 4 Feb 2003 23:15:01 -0000       1.15
  @@ -101,6 +101,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jason van Zyl</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Daniel Rall</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Martin Poeschl</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Quinton McCombs</a>
    * @version $Id$
    */
   public class TurbineXmlRpcService
  @@ -152,7 +153,7 @@
               setSystemPropertiesFromConfiguration(secureServerOptions);
   
               // Host and port information for the WebServer
  -            String addr = getConfiguration().getString("address", null);
  +            String addr = getConfiguration().getString("address", "0.0.0.0");
               port = getConfiguration().getInt("port", 0);
   
               if(port != 0)
  @@ -175,7 +176,7 @@
                   }
                   else
                   {
  -                    webserver = new WebServer(port);
  +                    webserver = new WebServer(port, address);
                   }
               }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to