If you ever had the need to trace HTTP requests (and if you ever did advanced web development you did!), you probably found invaluable tools like TCPTrace for Windows.
On Linux I found a good replacement:
- Download apache axis: axis-bin-1_4.tar.gz
- Install it where you prefer.
- Create a script to launch tcpmon
#! /bin/sh export JAVA_HOME=/usr/lib/jvm/java-6-sun $JAVA_HOME/bin/java -cp ~/tools/axis-1_4/lib/axis.jar org.apache.axis.utils.tcpmon
It’s also possible to set tcpmon as proxy. Then you need to specify to your program to use a localhost as proxy.
You can do that specifying system properties (-D at java command line)
http.proxyHost
http.proxyPort
http.nonProxyHosts
See: Networking Properties on Java 6 network guide.
If you know why you need it, you know also how to use it ;)
More info on axis tcp monitor here.
Update: with axis 1.5 tcpmon tool is nomore available in the axis jar. But you can still download it from here. It looks old; but if somebody knows a newer version, please leave a comment.
Search
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « May | Jul » | |||||
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | ||||||
Archives
Categories
- Android (3)
- Apple (26)
- Books (7)
- Eclipse (14)
- Errors (3)
- Firefox (7)
- Git (2)
- Hardware (16)
- Horror Code (8)
- Internet (18)
- Java (98)
- JavaScript (9)
- Life, universe and everything (45)
- Lifehacks (25)
- Linux (50)
- Opinions (25)
- OSX (4)
- Python (1)
- Software (27)
- Speeches and Conferences (8)
- Unix (3)
- Web (21)
- Windows (19)
Tag Cloud
Android apple architecture Bash colors configuration CSS Development Düsseldorf Eclipse germany Git Google Hardware hdr How-To Java JAXB job junit Karmic Linux MacBook music night Open Source Opinion oracle OSX patterns Pitfalls Practices Resume Security Software Suspend TDD Testing tip tonemapped Tricks Ubuntu video Web XML
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Blog License
Blogs I like
Books on the desk
Friends' Blogs
- Antonio Terreno & Valter Bernardini
- Bruno Bossola
- Daniele Galluccio
- Domenico Ventura
- Ed Schepis
- Fabrizio Gianneschi
- Luca Grulla
- Luigi Zanderighi
- Marcello Teodori
- Mida Boghetich
- Muralidharan Chandrasekaran
- Piero Ricca
- Renzo Borgatti
- Simone Bordet
- Simone Bruno
- Uberto Barbini
- Valvolog
- Webtide blogs (Greg Wilkins & Jan Bartel)
Links




















An alternative to TCPMON is Membrane Monitor. Contrary to TCPMON it knows something about HTTP, supports HTTP Keep Alive and chunking.