Thanks Scott, it worked. I was mistakenly using 3.2.2 bindingservice-plugin.jar with 3.2.3.
> -----Original Message----- > From: Scott M Stark [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 03, 2004 7:09 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] service-bindings.xml in jboss 3.2.3 > > > See the jboss-3.2.3/docs/examples/binding-manager/sample-bindings.xml > > <service-config name="jboss:service=Naming" > > delegateClass="org.jboss.services.binding.AttributeMappingDelegate"> > <delegate-config portName="Port" hostName="BindAddress"> > <attribute name="RmiPort">1098</attribute> > </delegate-config> > <binding port="1099" host="${jboss.bind.address}"/> > </service-config> > > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > > > ________________________________ > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Boulatian, > Misak > Sent: Tuesday, February 03, 2004 10:56 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] service-bindings.xml in jboss 3.2.3 > > > 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 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _ 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.
<<application/ms-tnef>>
