?
Solved

TCPmon error with local host 8081

Posted on 2011-02-11
4
Medium Priority
?
1,022 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Assisted Solution

by:ezavaleta
ezavaleta earned 248 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 252 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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: …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 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