Hi,
I am trying to run multiple instance of jboss but unfortunately this version of jboss introduced another port called RmiPort. Now under jboss:service=Naming I have to override two ports that is not possible through just simple AttributeMappingDelegate. It seems like I have to use XSLTConfigDelegate. This is my xsl:
 
  <service-config name="jboss:service=Naming"
   delegateClass="orgjboss.services.binding.XSLTConfigDelegate"
  >
   <delegate-config>
   <xslt-config configName="Port"><![CDATA[
    <xsl:stylesheet
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
 
     <xsl:output method="xml" />
     <xsl:param name="port"/>
     <xsl:template match="*">
      <attribute name="Port"><xsl:value-of select="$port" /></attribute>
     </xsl:template>
    </xsl:stylesheet>
   ]]>
   </xslt-config>
   </delegate-config>
   <binding port="1099" />
  </service-config>
 
This way I get ClassCastException.
 
Is ther any other way to rewrite RmiPort or two ports under the same service.
Thanks,
Misak



This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.

Reply via email to