TPTP Agent Controller troubles [message #109448] |
Fri, 17 August 2007 21:02  |
Eclipse User |
|
|
|
Originally posted by: yaaangNOSPAM.REMOVECAPSgmail.com
I just installed TPTP into Eclipse 3.3 (on x86 Linux) via the Europa
update site, but when profiling my Java app, I get the error: "Make sure
that the service is started and the port number is correct under
preferences." Folks in #eclipse told me to try downloading and running
the agent controller separately, but 4.4.0's bin/SetConfig.sh gives me:
ERROR: The Java Runtime in use does not contain a suitable JAXP feature
RESOLUTION: Use a JRE which supports the JAXP feature
I found this thread, which suggested trying a newer JVM, but I tried
both Java 1.5.0.06 and Java 1.6.0.00, and got the exact same error each
time.
http://dev.eclipse.org/mhonarc/lists/tptp-tracing-profiling- tools-dev/msg00771.html
Thanks in advance for any help.
|
|
|
|
Re: TPTP Agent Controller troubles [message #109513 is a reply to message #109462] |
Mon, 20 August 2007 03:27  |
Eclipse User |
|
|
|
Hi Yang,
Agent Controller has the following simple test program to check required
JAXP classes:
/*********************************************************** ***********
Copyright (c) 2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
$Id: TestJAXP.java,v 1.1 2006/12/05 16:15:40 samwai Exp $
Contributors:
IBM Rational - initial implementation
************************************************************ **********/
public class TestJAXP {
/*
* Classes that are needed for SetConfig to run properly
*/
private static String[] classes = {
"javax.xml.parsers.DocumentBuilder",
"javax.xml.parsers.DocumentBuilderFactory",
"javax.xml.parsers.ParserConfigurationException",
"javax.xml.parsers.SAXParser",
"javax.xml.parsers.SAXParserFactory"
};
public static void main(String[] args) {
for(int i = 0; i < classes.length; i++) {
try {
Class.forName(classes[i]);
} catch (ClassNotFoundException e) {
System.exit(1);
}
}
System.out.println("TestJAXP passed");
}
}
Regards,
Igor
|
|
|
Powered by
FUDForum. Page generated in 0.05833 seconds