That should be raised and fixed in Karaf please.
On Thu, Oct 21, 2010 at 03:14, Freeman Fang <[email protected]> wrote:
> Hi Christian,
>
> Sounds good to me.
>
> Could you please create a jira ticket and probably append a patch?
>
> Thanks
> Freeman
>
> On 2010-10-21, at 上午5:26, Christian Mueller wrote:
>
>
>> Hello list!
>>
>> Today, I spend some hours to solve a problem we had to connect jconsole to
>> our ServiveMix instance which is running behind a firewall. In short, if
>> you
>> not defide the RMI server port, a RANDOM port will be chosen for you. This
>> doesn't work if your server is behind a firewall. I found the solution
>> here
>> [1].
>>
>> I propose to change the property 'serviceUrl' in
>> $SERVICEMIX_HOME/etc/org.apache.karaf.management.cfg from
>> 'service:jmx:rmi:///jndi/rmi://localhost:${rmiRegistryPort}/karaf-${
>> karaf.name}'
>> to
>>
>> 'service:jmx:rmi://localhost:${rmiServerPort}/jndi/rmi://localhost:${rmiRegistryPort}/karaf-${
>> karaf.name}'
>> and add the new property 'rmiServerPort' with a good default value - maybe
>> 44444.
>>
>> Because ServiceMix is (also) target for the enterprise, it should consider
>> this conditions.
>>
>> What do you think?
>>
>> [1]
>>
>> http://download.oracle.com/javase/6/docs/technotes/guides/management/agent.html#gdjou
>>
>> Thank you,
>> Christian
>> --
>> View this message in context:
>> http://servicemix.396122.n5.nabble.com/DISCUSS-changing-the-default-JMX-service-uri-tp3229446p3229446.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>
>
> --
> Freeman Fang
>
> ------------------------
> blog: http://freemanfang.blogspot.com
> twitter: http://twitter.com/freemanfang
> Open Source SOA: http://fusesource.com
> Apache Servicemix:http://servicemix.apache.org
> Apache Cxf: http://cxf.apache.org
> Apache Karaf: http://karaf.apache.org
> Apache Felix: http://felix.apache.org
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com