- This topic has 7 replies, 6 voices, and was last updated 17 years, 4 months ago by
Riyad Kalla.
-
AuthorPosts
-
scarrierMemberHow does it works on MYEclipse 3.8.1
August 23, 2004 at 3:49 pm #213103
Riyad KallaMember1) 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.August 24, 2004 at 7:12 am #213170
venkksMemberIts 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!
August 24, 2004 at 8:32 am #213218
Scott AndersonParticipantThe monitor works as a proxy. So, you configure for monitoring port 8080 by setting:
Monitor
Hostname: localhost
Port: 8080
Protocol: HTTPand 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.
December 20, 2004 at 10:06 am #221586
ErezMemberI 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: 8080THe 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
December 20, 2004 at 10:23 am #221589
Riyad KallaMemberErez,
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.jspI 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.jspCan 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.
March 16, 2008 at 6:01 pm #282968
shadangiMemberThis message has not been recovered.
March 17, 2008 at 7:45 am #282981
Riyad KallaMemberThis message has not been recovered.
-
AuthorPosts