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)
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.
|« May||Jul »|
- Android (3)
- Apple (30)
- Books (7)
- Eclipse (14)
- Errors (5)
- Firefox (7)
- Git (3)
- Hardware (18)
- Horror Code (8)
- Internet (21)
- Java (106)
- Life, universe and everything (45)
- Lifehacks (26)
- Linux (53)
- Opinions (26)
- OSX (11)
- OWNER API (3)
- Python (1)
- Software (35)
- Speeches and Conferences (8)
- Unix (5)
- Web (23)
- Windows (19)
Android apple architecture Bash bsd configuration CSS Development Düsseldorf framework free Git Google Hardware hdr How-To howto Java Karmic library Linux lion MacBook maven opensource Open Source Opinion os x OSX owner owner api patterns Pitfalls Practices properties Software TDD Testing tip tonemapped Tricks Ubuntu unix video Web