Changeset 29645

Show
Ignore:
Timestamp:
01/25/08 20:57:17 (10 months ago)
Author:
onazarov
Message:

HTTP patching XSL stylesheets: invoker's web-app deployment descriptor patch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nuxeo-ep/trunk/jboss-patch/src/main/xsl/jboss-service.xsl

    r29624 r29645  
    3939        <xsl:comment>Nuxeo patch: mbean[jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory] replaced</xsl:comment><xsl:text> 
    4040      </xsl:text><mbean code="org.jboss.invocation.http.server.HttpProxyFactory" name="jboss.jmx:type=adaptor,name=Invoker,protocol=http,service=proxyFactory"><xsl:text> 
    41          </xsl:text><attribute name="InvokerURL">https://${https.hostname}/invoker/JMXInvokerServlet</attribute><xsl:text> 
     41         </xsl:text><attribute name="InvokerURL">https://${jboss.bind.address}/invoker/JMXInvokerServlet</attribute><xsl:text> 
    4242         </xsl:text><depends optional-attribute-name="InvokerName">jboss.jmx:type=adaptor,name=Invoker</depends><xsl:text> 
    4343         </xsl:text><depends>jboss:service=invoker,type=https</depends><xsl:text> 
     
    7676        <xsl:comment>Nuxeo patch: mbean[jboss.remoting:service=Connector,transport=socket] replaced</xsl:comment><xsl:text> 
    7777   </xsl:text><mbean code="org.jboss.remoting.transport.Connector" name="jboss.remoting:service=Connector,transport=SSLServlet" display-name="SSL Servlet transport Connector"><xsl:text> 
    78       </xsl:text><attribute name="InvokerLocator">sslservlet://${https.hostname}/invoker/ServerInvokerServlet</attribute><xsl:text> 
     78      </xsl:text><attribute name="InvokerLocator">sslservlet://${jboss.bind.address}/invoker/ServerInvokerServlet</attribute><xsl:text> 
    7979      </xsl:text><attribute name="Configuration"><xsl:text> 
    8080         </xsl:text><config><xsl:text> 
     
    147147  <xsl:template match="mbean/attribute[@name='InvokerURLSuffix']"> 
    148148                <xsl:comment>Nuxeo patch: replacing attribute[InvokerURLSuffix]</xsl:comment><xsl:text> 
    149          </xsl:text><attribute name="InvokerURL"><xsl:value-of select="concat('https://${https.hostname}/invoker/',substring-after(text(),'/invoker/'))"/></attribute> 
     149         </xsl:text><attribute name="InvokerURL"><xsl:value-of select="concat('https://${jboss.bind.address}/invoker/',substring-after(text(),'/invoker/'))"/></attribute> 
    150150  </xsl:template> 
    151151 
     
    153153  <xsl:template match="mbean/attribute[@name='InvokerURL']"> 
    154154                <xsl:comment>Nuxeo patch: replacing attribute[InvokerURL]</xsl:comment><xsl:text> 
    155          </xsl:text><attribute name="InvokerURL"><xsl:value-of select="concat('https://${https.hostname}/invoker/',substring-after(text(),'/invoker/'))"/></attribute> 
     155         </xsl:text><attribute name="InvokerURL"><xsl:value-of select="concat('https://${jboss.bind.address}/invoker/',substring-after(text(),'/invoker/'))"/></attribute> 
    156156  </xsl:template> 
    157157 
     
    165165  </xsl:template> 
    166166 
     167  <!-- Updating EJB3 connector --> 
     168  <xsl:template match="mbean[@name='jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3']/attribute[@name='InvokerLocator']"> 
     169      <xsl:comment>Nuxeo patch: mbean[jboss.j2ee:service=EARDeployer] now depends on HTTP invoker</xsl:comment><xsl:text> 
     170      </xsl:text><depends>jboss:service=invoker,type=https</depends><xsl:text> 
     171      </xsl:text><attribute name="InvokerLocator">sslservlet://${jboss.bind.address}/invoker/Ejb3InvokerServlet</attribute> 
     172  </xsl:template> 
     173 
    167174</xsl:stylesheet>