facebook

TCP/IP Monitoring

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #213101 Reply

    scarrier
    Member

    How does it works on MYEclipse 3.8.1

    #213103 Reply

    Riyad Kalla
    Member

    1) Open the view: Window > Show View > Other… > MyEclipse > TCP/IP Monitor
    2) Add a host to monitor: Click the down button (v) on the top right of the monitor view, select “properties” and click “Add” to add a host to monitor
    3) Select the newly added domain and click “start” to begin monitoring.

    #213170 Reply

    venkks
    Member

    Its doesnt actually seem to work for me. I used the same exact steps. I am running tomcat at port 8080 so I gave localhost and 8080 in port but it doesnt show any monitoring activity though I started it!

    #213218 Reply

    Scott Anderson
    Participant

    The monitor works as a proxy. So, you configure for monitoring port 8080 by setting:

    Monitor
    Hostname: localhost
    Port: 8080
    Protocol: HTTP

    and Local monitoring port to something else, like 80.

    Start your server on 8080 and start the TCP monitor. Direct your browser to http://localhost:80/WebAppContext

    Hitting port 80 will redirect to 8080 through the monitor and the monitoring view will be opened. Hitting port 8080 directly bypasses the monitor.

    #221586 Reply

    Erez
    Member

    I am trying to work with the TCP/IP monitor and I am really newby here.

    I work with Apache2 + JBoss3.2.5 (+ Tomcat 5).

    1. Apache is listenting on port 8080.
    2. I set the TCP/IP monitor to:
    Local monitoring port: 80
    HostName: http://www.site.com
    Type: HTTP
    Port: 8080

    THe first time I go to http://www.site.com the monitor gets it and I see an ew entry. But then the browser is redirected to http://www.site.com:8080 so my next click in the site will bypass the monitor. I am using Sruts as well v1.1, if that helps.
    Please help..

    Thanks in advance,

    Erez

    #221589 Reply

    Riyad Kalla
    Member

    Erez,
    The redirect is causing you to avoid the proxy all together, I would suggest trying to avoid the redirect all together… for example, don’t navigate to http://www.site.com, instead navigate to the front page of the site somehow:
    http://localhost/mySiteApp/index.jsp

    I believe that will hit the HTTP monitor on port 80, which will redirect the request “/mysiteApp/index.jsp” to your monitored app (www.site.com) on port 8080 giving you the eventual request:
    http://www.site.com:8080/mySiteApp/index.jsp

    Can you give that a try? If that doesn’t work, try and think of a way to avoid the redirect while still talking through the proxy.

    #282968 Reply

    shadangi
    Member

    This message has not been recovered.

    #282981 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: TCP/IP Monitoring

You must be logged in to post in the forum log in