[
https://issues.apache.org/activemq/browse/SM-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54083#action_54083
]
Jean-Baptiste Onofré commented on SM-1892:
------------------------------------------
I checked in the JbiTask source code: we have a port attribute initialized to
the default one (1099) and used in the JMX URL.
The problem is so in the servicemix-ant-task.xml file.
> Port property is not passed to any Servicemix Ant tasks in
> servicemix-ant-tasks.xml (install-component, etc)
> ------------------------------------------------------------------------------------------------------------
>
> Key: SM-1892
> URL: https://issues.apache.org/activemq/browse/SM-1892
> Project: ServiceMix
> Issue Type: Bug
> Components: tooling
> Reporter: Alexander Zobkov
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
>
> Port property (sm.port) is not passed to and has no affect on any servicemix
> ant tasks, but printed before each task execution. Such issue limit user to
> use servicemix-ant-task.xml only with default jmx/rmi port and confused.
> For example:
> {code:xml}
> <target name="install-component" description="Installs service engine or
> binding component with installation parameters.">
> <echo message=" install-component" />
> <echo message=" Installing a service engine or binding component."/>
> <echo message=" host=${sm.host}" />
> <echo message=" port=${sm.port}" /> <!-- Printed -->
> <echo message=" file=${sm.install.file}" />
> <jbi-install-component <!-- But not passed =( -->
> username="${sm.username}"
> password="${sm.password}"
> host="${sm.host}"
> file="${sm.install.file}"/>
> </target>
> {code}
> have to be
> {code:xml}
> <target name="install-component" description="Installs service engine or
> binding component with installation parameters.">
> <echo message=" install-component" />
> <echo message=" Installing a service engine or binding component."/>
> <echo message=" host=${sm.host}" />
> <echo message=" port=${sm.port}" /> <!-- Printed -->
> <echo message=" file=${sm.install.file}" />
> <jbi-install-component
> username="${sm.username}"
> password="${sm.password}"
> host="${sm.host}"
> port="${sm.port}" <!-- passed =) -->
> file="${sm.install.file}"/>
> </target>
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.