Solved

TCPmon error with local host 8081

Posted on 2011-02-11
4
1,008 Views
Last Modified: 2013-12-15
I am running TCPmon and trying to execute this Java command

java -cp ./tcpmon-1.0.jar org.apache.ws.commons.tcpmon.TCPMon

and I am getting this error message:

C:\Documents and Settings\mschwart\StudentWork\JWS\tcpmon>java -cp ./tcpmon-1
jar org.apache.ws.commons.tcpmon.TCPMon
java.lang.NoClassDefFoundError: javax/xml/transform/Source
        at org.apache.ws.commons.tcpmon.AdminPane.<init>(AdminPane.java:418)
        at org.apache.ws.commons.tcpmon.TCPMon.<init>(TCPMon.java:78)mi
        at org.apache.ws.commons.tcpmon.TCPMon.<init>(TCPMon.java:119)
        at org.apache.ws.commons.tcpmon.TCPMon.main(TCPMon.java:172)
0
Comment
Question by:Mike_Szymanski
4 Comments
 

Assisted Solution

by:ezavaleta
ezavaleta earned 62 total points
ID: 34876305
Hi, probably  you should need put the the jar (that contains javax.xml.transform.Source) in the classpath
0
 
LVL 5

Accepted Solution

by:
TomLun earned 63 total points
ID: 34924528
Hmm, this looks like you're running an old java for which you require the additional libs for XML transformations etc.

Check your java version: java -version

Is it possible for you to update to a later version? When I try it on my Java 1.6 TCPMon starts without any problems.
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36042217
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 44
ejb wildfly example 2 75
Selenium docs api java index 3 69
Website checklist for browser compatibility? 2 39
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question