Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » TPTP Agent Controller troubles
TPTP Agent Controller troubles [message #109448] Sat, 18 August 2007 01:02 Go to next message
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 #109462 is a reply to message #109448] Sat, 18 August 2007 01:23 Go to previous messageGo to next message
Eclipse User
Originally posted by: yaaangNOSPAM.REMOVECAPSgmail.com

Yang wrote:
> 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.

I just tried Java 1.6.0.02 as well, with the exact same error.
Re: TPTP Agent Controller troubles [message #109513 is a reply to message #109462] Mon, 20 August 2007 07:27 Go to previous message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
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
Previous Topic:Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no long
Next Topic:Which version of BIRT should be used for RAD6 + LWI ?
Goto Forum:
  


Current Time: Tue Sep 30 21:58:47 GMT 2014

Powered by FUDForum. Page generated in 0.02505 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software