[jboss-cvs] JBossAS SVN: r62434 - branches/Branch_4_2/server/src/etc/conf/default.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 19 17:22:50 EDT 2007


Author: dimitris at jboss.org
Date: 2007-04-19 17:22:50 -0400 (Thu, 19 Apr 2007)
New Revision: 62434

Modified:
   branches/Branch_4_2/server/src/etc/conf/default/jboss-service.xml
Log:
JBAS-3325, Fix the handling of BindAddress and Host in org.jboss.web.WebService

Modified: branches/Branch_4_2/server/src/etc/conf/default/jboss-service.xml
===================================================================
--- branches/Branch_4_2/server/src/etc/conf/default/jboss-service.xml	2007-04-19 21:22:16 UTC (rev 62433)
+++ branches/Branch_4_2/server/src/etc/conf/default/jboss-service.xml	2007-04-19 21:22:50 UTC (rev 62434)
@@ -202,9 +202,14 @@
    <!-- Class Loading                                                        -->
    <!-- ==================================================================== -->
 
+   <!-- A mini webserver used for dynamic and class and resource loading --> 
    <mbean code="org.jboss.web.WebService"
       name="jboss:service=WebService">
+      <!-- The Bind address and Port -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>      
       <attribute name="Port">8083</attribute>
+      <!--  The address to use for the host portion of the RMI codebase URL -->
+      <attribute name="Host">${java.rmi.server.hostname}</attribute>
       <!-- Should non-EJB .class files be downloadable -->
       <attribute name="DownloadServerClasses">true</attribute>
       <!-- Should resources other than .class files be downloadable. Both
@@ -214,8 +219,7 @@
          information can be accessed.
        -->
       <attribute name="DownloadResources">false</attribute>
-      <attribute name="Host">${jboss.bind.address}</attribute>
-      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+
       <!-- Use the default thread pool for dynamic class loading -->
       <depends optional-attribute-name="ThreadPool"
          proxy-type="attribute">jboss.system:service=ThreadPool</depends>




More information about the jboss-cvs-commits mailing list