You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "m.jimen.blazquez" <m....@gmail.com> on 2012/02/28 16:44:59 UTC

Alternatives to JConsole

Hi,

I can connect to every java process but I cannot connect to the java
processes which use camel.

I have tried every possible solution I have seen in goole but I haven't
found a solution to my problem.

¿anybody have had this problem?

¿could somebody recommend me another jmx-console?

Thanks

--
View this message in context: http://camel.465427.n5.nabble.com/Alternatives-to-JConsole-tp5522208p5522208.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Alternatives to JConsole

Posted by Christian Schneider <ch...@die-schneider.net>.
JConsole uses files in the temp folder of your user directory. So you 
might have a problem with the rights on that folder?

On my machine it is:
C:\Users\cschneider\AppData\Local\Temp\hsperfdata_cschneider

Just try to remove this folder while no java processes run. Then start 
one and check if a file with the process number is inside.

Christian

Am 29.02.2012 09:37, schrieb m.jimen.blazquez:
> Hi,
>
> OS: Windows XP SP 3
> JDK: jdk1.6.0_29
> CAMEL: 2.8.2
> I have tested the same app on my colleague’s machines (with the same OS and
> Windows 7) and it connects.
> I’ve tried to change ports and I’ve tried too to change the jdk version and
> camel version.
> I’ve tried to enabled the JMX connector by this way:
> context.getManagementStrategy().getManagementAgent().setCreateConnector(true);
> It’s ok?
>
> The jconsole is always in state connecting but never connects…
>
> Thanks!
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Alternatives-to-JConsole-tp5522208p5524369.html
> Sent from the Camel - Users mailing list archive at Nabble.com.


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Re: Alternatives to JConsole

Posted by "m.jimen.blazquez" <m....@gmail.com>.
Hi,

OS: Windows XP SP 3
JDK: jdk1.6.0_29
CAMEL: 2.8.2
I have tested the same app on my colleague’s machines (with the same OS and
Windows 7) and it connects.
I’ve tried to change ports and I’ve tried too to change the jdk version and
camel version.
I’ve tried to enabled the JMX connector by this way:
context.getManagementStrategy().getManagementAgent().setCreateConnector(true);
It’s ok?

The jconsole is always in state connecting but never connects…

Thanks!

--
View this message in context: http://camel.465427.n5.nabble.com/Alternatives-to-JConsole-tp5522208p5524369.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Alternatives to JConsole

Posted by Kleczka Peter John <pk...@gmail.com>.
What OS are you using?


On Feb 28, 2012, at 8:44 AM, "m.jimen.blazquez" <m....@gmail.com> wrote:

> Hi,
> 
> I can connect to every java process but I cannot connect to the java
> processes which use camel.
> 
> I have tried every possible solution I have seen in goole but I haven't
> found a solution to my problem.
> 
> ¿anybody have had this problem?
> 
> ¿could somebody recommend me another jmx-console?
> 
> Thanks
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/Alternatives-to-JConsole-tp5522208p5522208.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Alternatives to JConsole

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

It usually works fine with jconsole.

So what is your OS, Camel and JDK version used. And have it worked before?

And have you enabled the JMX connector, which can be needed for remote
connections?






On Tue, Feb 28, 2012 at 4:44 PM, m.jimen.blazquez
<m....@gmail.com> wrote:
> Hi,
>
> I can connect to every java process but I cannot connect to the java
> processes which use camel.
>
> I have tried every possible solution I have seen in goole but I haven't
> found a solution to my problem.
>
> ¿anybody have had this problem?
>
> ¿could somebody recommend me another jmx-console?
>
> Thanks
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Alternatives-to-JConsole-tp5522208p5522208.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/