[jboss-cvs] JBossAS SVN: r108699 - in branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker: httpha and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 21 11:46:02 EDT 2010
Author: rachmatowicz at jboss.com
Date: 2010-10-21 11:46:02 -0400 (Thu, 21 Oct 2010)
New Revision: 108699
Modified:
branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/http/jboss-service.xml
branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/httpha/jboss-service.xml
Log:
Update http and httpha involker URLs for JBAS-8540
Modified: branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/http/jboss-service.xml
===================================================================
--- branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/http/jboss-service.xml 2010-10-21 15:41:37 UTC (rev 108698)
+++ branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/http/jboss-service.xml 2010-10-21 15:46:02 UTC (rev 108699)
@@ -12,17 +12,16 @@
where <hostname> is InetAddress.getHostname value on which the server
is running.
-->
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
- <!-- To get value, ask the ServiceBindingManager to do a string
- replacement operation using the HTTP connector port -->
+ <attribute name="InvokerURL">
+ <!-- To get value, ask the ServiceBindingManager to do a host and string
+ replacement operation using the HTTP connector port
+ see JBAS-8540 -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/EJBInvokerServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/EJBInvokerServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
</mbean>
<!-- Expose the Naming service interface via HTTP -->
@@ -31,17 +30,15 @@
<!-- The Naming service we are proxying -->
<attribute name="InvokerName">jboss:service=NamingBeanImpl</attribute>
<!-- Compose the invoker URL from the cluster node address -->
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
+ <attribute name="InvokerURL">
<!-- To get value, ask the ServiceBindingManager to do a string
replacement operation using the HTTP connector port -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/JMXInvokerServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/JMXInvokerServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
<attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ClientInterceptors">
@@ -60,17 +57,15 @@
<mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
name="jboss:service=invoker,type=http,target=Naming,readonly=true">
<attribute name="InvokerName">jboss:service=NamingBeanImpl</attribute>
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
+ <attribute name="InvokerURL">
<!-- To get value, ask the ServiceBindingManager to do a string
replacement operation using the HTTP connector port -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/readonly/JMXInvokerServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/readonly/JMXInvokerServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
<attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ClientInterceptors">
Modified: branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/httpha/jboss-service.xml
===================================================================
--- branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/httpha/jboss-service.xml 2010-10-21 15:41:37 UTC (rev 108698)
+++ branches/JBoss-AS-6.0.x_ipv6/varia/src/resources/services/invoker/httpha/jboss-service.xml 2010-10-21 15:46:02 UTC (rev 108699)
@@ -12,17 +12,16 @@
where <hostname> is InetAddress.getHostname value on which the server
is running.
-->
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
+ <attribute name="InvokerURL">
<!-- To get value, ask the ServiceBindingManager to do a string
- replacement operation using the HTTP connector port -->
+ replacement operation using the HTTP connector host and port
+ see JBAS-8540 -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/EJBInvokerServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/EJBInvokerServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
</mbean>
<mbean code="org.jboss.invocation.http.server.HttpInvokerHA"
@@ -31,17 +30,15 @@
where <hostname> is InetAddress.getHostname value on which the server
is running.
-->
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
+ <attribute name="InvokerURL">
<!-- To get value, ask the ServiceBindingManager to do a string
replacement operation using the HTTP connector port -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/EJBInvokerHAServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/EJBInvokerHAServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
</mbean>
<!-- Expose the Naming service interface via HTTP -->
@@ -50,17 +47,15 @@
<!-- The Naming service we are proxying -->
<attribute name="InvokerName">jboss:service=NamingBeanImpl</attribute>
<!-- Compose the invoker URL from the cluster node address -->
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
+ <attribute name="InvokerURL">
<!-- To get value, ask the ServiceBindingManager to do a string
replacement operation using the HTTP connector port -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/JMXInvokerServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/JMXInvokerServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
<attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ClientInterceptors">
@@ -79,17 +74,15 @@
<mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
name="jboss:service=invoker,type=http,target=Naming,readonly=true">
<attribute name="InvokerName">jboss:service=NamingBeanImpl</attribute>
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
+ <attribute name="InvokerURL">
<!-- To get value, ask the ServiceBindingManager to do a string
replacement operation using the HTTP connector port -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/readonly/JMXInvokerServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/readonly/JMXInvokerServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
<attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ClientInterceptors">
@@ -108,17 +101,15 @@
<!-- The Naming service we are proxying -->
<attribute name="InvokerName">jboss:service=HAJNDI</attribute>
<!-- Compose the invoker URL from the cluster node address -->
- <attribute name="InvokerURLPrefix">http://</attribute>
- <attribute name="InvokerURLSuffix">
+ <attribute name="InvokerURL">
<!-- To get value, ask the ServiceBindingManager to do a string
replacement operation using the HTTP connector port -->
<value-factory bean="ServiceBindingManager" method="getStringBinding">
<parameter>jboss.web:service=WebServer</parameter>
<parameter>HttpConnector</parameter>
- <parameter>:${port}/invoker/JMXInvokerHAServlet</parameter>
+ <parameter>http://${hostforurl}:${port}/invoker/JMXInvokerHAServlet</parameter>
</value-factory>
</attribute>
- <attribute name="UseHostName">true</attribute>
<attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ClientInterceptors">
More information about the jboss-cvs-commits
mailing list