You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by psr9988 <su...@gmail.com> on 2014/12/10 07:29:39 UTC

Servicemix 5.3.0 - KARAF_DEBUG=true - 5005 - Connection refused

Hello Experts,I am trying to debug the one of the bundle without success. I
set KARAF_DEBUG to true. When i start my service mix, i see the debug port
is enabled with 5005 during the start up. But when i try to debug from
eclipse, i ended up refusing connection. I tried my level best to make it
work but no luck. Can you please help with this.Thanks In Advance.



--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Servicemix 5.3.0 - KARAF_DEBUG=true - 5005 - Connection refused

Posted by Sobkowiak Krzysztof <kr...@gmail.com>.
I have opened an issue for this
https://issues.apache.org/jira/browse/SM-2408

Regards
Krzysztof

On 10.12.2014 21:54, Sobkowiak Krzysztof wrote:
> Hi
>
> The problem has been solved in Karaf by
> https://issues.apache.org/jira/browse/KARAF-3250.  We should correct
> our servicemix.bat script too
>
> Regards
> Krzysztof
>
>
> On 10.12.2014 20:10, psr9988 wrote:
>> Hello Gert Vanthienen, 
>>
>> Thank you so much for your quick response. The problem is solved. With
>> Servicemix5.3.0, "set KARAF_DEBUG to true" is not enabling the debut port.
>> When we start the service mix using
>> /*C:\apache-servicemix-5.3.0\bin>servicemix debug*/. May be a bug in
>> Servicemix 5.3.0.
>>
>> Thanks.
>>
>> Hi,
>>
>> In Eclipse, the default port in the remote debugging configuration is
>> 8000, so be sure you have that set to port 5005. If that's OK, you
>> could use netstat to check if anything is actually listening on port
>> 5005 and on what interface it is listening. Also, is there a firewall
>> running on your machine that may prevent the connection to be set up?
>>
>> Regards,
>>
>> Gert Vanthienen
>>
>>
>> On Wed, Dec 10, 2014 at 7:29 AM, psr9988 &lt;suri.puli@&gt; wrote:
>>> Hello Experts,I am trying to debug the one of the bundle without success.
>>> I
>>> set KARAF_DEBUG to true. When i start my service mix, i see the debug port
>>> is enabled with 5005 during the start up. But when i try to debug from
>>> eclipse, i ended up refusing connection. I tried my level best to make it
>>> work but no luck. Can you please help with this.Thanks In Advance.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>> --
>> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956p5721960.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
> -- 
> Krzysztof Sobkowiak
>
> JEE & OSS Architect | Technical Architect @ Capgemini | Committer @ ASF
> Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
> <http://www.pl.capgemini-sdm.com/> | Wroclaw
> e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> |
> Twitter: @KSobkowiak
> Calendar: http://goo.gl/yvsebC

-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini | Committer @ ASF
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC

Re: Servicemix 5.3.0 - KARAF_DEBUG=true - 5005 - Connection refused

Posted by Sobkowiak Krzysztof <kr...@gmail.com>.
Hi

The problem has been solved in Karaf by
https://issues.apache.org/jira/browse/KARAF-3250.  We should correct our
servicemix.bat script too

Regards
Krzysztof


On 10.12.2014 20:10, psr9988 wrote:
> Hello Gert Vanthienen, 
>
> Thank you so much for your quick response. The problem is solved. With
> Servicemix5.3.0, "set KARAF_DEBUG to true" is not enabling the debut port.
> When we start the service mix using
> /*C:\apache-servicemix-5.3.0\bin>servicemix debug*/. May be a bug in
> Servicemix 5.3.0.
>
> Thanks.
>
> Hi,
>
> In Eclipse, the default port in the remote debugging configuration is
> 8000, so be sure you have that set to port 5005. If that's OK, you
> could use netstat to check if anything is actually listening on port
> 5005 and on what interface it is listening. Also, is there a firewall
> running on your machine that may prevent the connection to be set up?
>
> Regards,
>
> Gert Vanthienen
>
>
> On Wed, Dec 10, 2014 at 7:29 AM, psr9988 &lt;suri.puli@&gt; wrote:
>> Hello Experts,I am trying to debug the one of the bundle without success.
>> I
>> set KARAF_DEBUG to true. When i start my service mix, i see the debug port
>> is enabled with 5005 during the start up. But when i try to debug from
>> eclipse, i ended up refusing connection. I tried my level best to make it
>> work but no luck. Can you please help with this.Thanks In Advance.
>>
>>
>>
>> --
>> View this message in context:
>> http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956p5721960.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini | Committer @ ASF
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC

Re: Servicemix 5.3.0 - KARAF_DEBUG=true - 5005 - Connection refused

Posted by psr9988 <su...@gmail.com>.
Hello Gert Vanthienen, 

Thank you so much for your quick response. The problem is solved. With
Servicemix5.3.0, "set KARAF_DEBUG to true" is not enabling the debut port.
When we start the service mix using
/*C:\apache-servicemix-5.3.0\bin>servicemix debug*/. May be a bug in
Servicemix 5.3.0.

Thanks.

Hi,

In Eclipse, the default port in the remote debugging configuration is
8000, so be sure you have that set to port 5005. If that's OK, you
could use netstat to check if anything is actually listening on port
5005 and on what interface it is listening. Also, is there a firewall
running on your machine that may prevent the connection to be set up?

Regards,

Gert Vanthienen


On Wed, Dec 10, 2014 at 7:29 AM, psr9988 &lt;suri.puli@&gt; wrote:
> Hello Experts,I am trying to debug the one of the bundle without success.
> I
> set KARAF_DEBUG to true. When i start my service mix, i see the debug port
> is enabled with 5005 during the start up. But when i try to debug from
> eclipse, i ended up refusing connection. I tried my level best to make it
> work but no luck. Can you please help with this.Thanks In Advance.
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956p5721960.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Servicemix 5.3.0 - KARAF_DEBUG=true - 5005 - Connection refused

Posted by Gert Vanthienen <ge...@gmail.com>.
Hi,

In Eclipse, the default port in the remote debugging configuration is
8000, so be sure you have that set to port 5005. If that's OK, you
could use netstat to check if anything is actually listening on port
5005 and on what interface it is listening. Also, is there a firewall
running on your machine that may prevent the connection to be set up?

Regards,

Gert Vanthienen


On Wed, Dec 10, 2014 at 7:29 AM, psr9988 <su...@gmail.com> wrote:
> Hello Experts,I am trying to debug the one of the bundle without success. I
> set KARAF_DEBUG to true. When i start my service mix, i see the debug port
> is enabled with 5005 during the start up. But when i try to debug from
> eclipse, i ended up refusing connection. I tried my level best to make it
> work but no luck. Can you please help with this.Thanks In Advance.
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-5-3-0-KARAF-DEBUG-true-5005-Connection-refused-tp5721956.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.