TPTP profiler using SSH tunnel [message #106736] |
Thu, 26 July 2007 13:52  |
Eclipse User |
|
|
|
Hi,
I am trying to profile a web application deployed on production
environment. I have successfully installed and tested the agent
controller on remote machine. I have modified the catalina.sh to
including profiling agent parameters and every thing is working fine. I
could verify from the logs (using MARTINI log setup).
I have created a ssh tunnel to the remove host. I could test the tunnel
successfully with telnet (telnet localhost 10002) and I see the port
accepting the connection.
However, Eclipse workbench is not able to attach to remote agent
controller. I have tried all listening port (10002, 10005, 10006).
Testing connection from Profile dialog box says Agent Controller is not
running or port is not correct. My thinking is Eclipse Profiler should
attach to SSH tunneled agent controller in a similar way to controller
running on the same machine (BTW, I tried it with local running agent
controller and it works fine).
Has anyone experienced similar problem?
Thanks,
Raj
|
|
|
Re: TPTP profiler using SSH tunnel [message #106804 is a reply to message #106736] |
Fri, 27 July 2007 15:11  |
Eclipse User |
|
|
|
Replying to my thread. May be it can help others:
When open ssh tunnel give bind local bind address to a IP (e.g.
192.168.x.x) address other than loopback address
Thanks,
Raj
Raj Saini wrote:
> Hi,
>
> I am trying to profile a web application deployed on production
> environment. I have successfully installed and tested the agent
> controller on remote machine. I have modified the catalina.sh to
> including profiling agent parameters and every thing is working fine. I
> could verify from the logs (using MARTINI log setup).
>
> I have created a ssh tunnel to the remove host. I could test the tunnel
> successfully with telnet (telnet localhost 10002) and I see the port
> accepting the connection.
>
> However, Eclipse workbench is not able to attach to remote agent
> controller. I have tried all listening port (10002, 10005, 10006).
> Testing connection from Profile dialog box says Agent Controller is not
> running or port is not correct. My thinking is Eclipse Profiler should
> attach to SSH tunneled agent controller in a similar way to controller
> running on the same machine (BTW, I tried it with local running agent
> controller and it works fine).
>
> Has anyone experienced similar problem?
>
> Thanks,
>
> Raj
|
|
|
Powered by
FUDForum. Page generated in 0.03641 seconds