Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Please help my by Agent Controller
Please help my by Agent Controller [message #99700] Thu, 31 May 2007 11:18 Go to next message
Eclipse UserFriend
Originally posted by: hjp1011.163.com

Hello, how does the use of the Agent Controller, dished out procedures for
how the case is unusual? I run the sample Lane examples procedures. My
environment is beta. 5.0+Eclipse3.2.1+TPTP4.3.0+agntctrl.win_
ia32-TPTP-4.3.0. error message as follows :
Connecting to Host localhost
Connecting to AC..
Connected to localhost at port number 10006
org.xml.sax.SAXParseException: XML document structures must start and end
within the same entity.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. createSAXParseException(Unknown
Source)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. fatalError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.rep ortError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.rep ortError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFat alError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.endEntity(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.endEntity(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.end Entity(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.loa d(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.ski pSpaces(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at
org.eclipse.tptp.platform.execution.util.internal.TPTPXMLPar se.setParser(TPTPXMLParse.java:105)
at
org.eclipse.tptp.platform.execution.client.core.internal.Con trolMessage.readACCommands(ControlMessage.java:279)
at
org.eclipse.tptp.platform.execution.client.core.internal.Con trolMessage.readFromBuffer(ControlMessage.java:259)
at
org.eclipse.tptp.platform.execution.client.core.internal.Con nectionImpl.processControlMessage(ConnectionImpl.java:596)
at
org.eclipse.tptp.platform.execution.client.core.internal.Con nectionImpl$SocketReaderThread.run(ConnectionImpl.java:773)
org.xml.sax.SAXParseException: XML document structures must start and end
within the same entity.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. createSAXParseException(Unknown
Source)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. fatalError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.rep ortError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.rep ortError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFat alError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.endEntity(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.endEntity(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.end Entity(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.loa d(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.ski pSpaces(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at
org.eclipse.tptp.platform.execution.util.internal.TPTPXMLPar se.setParser(TPTPXMLParse.java:105)
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.getAgent(AgentController.java:276)
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.getAgent(AgentController.java:190)
at
org.eclipse.tptp.platform.execution.samples.SampleClientAC.m ain(SampleClientAC.java:87)

Please you must help me, I have in this part of a lengthy delay, start, I
suspect version of the problem, I have According to the instructions on the
eclipse, the allocation of environmental, can run Java normal procedures.
But I run C + + programs can be. Also ask : Client side Java procedures,
Server-use C + + program, the normal data collection?


I wish you good health


Junpeng HU
2007.5.31
Re: Please help my by Agent Controller [message #99771 is a reply to message #99700] Fri, 01 June 2007 06:48 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
Hi,

Try to refresh TPTP runtime and TPTP Agent Controller to a last stable
build of 4.4.0 version.

To test Agent Controller your can use sample applications form the
%AC_HOME%\bin directory:
- start SetConfig
- start ACServer
- start SampleClient

Regards,
Igor
Re: Please help my by Agent Controller [message #99795 is a reply to message #99771] Fri, 01 June 2007 08:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hjp1011.163.com

hi, Igor
First of all thank you for your help, I changed to the latest version, is
the same problem. Lane running sample C + + examples do not have any
problem, I wrote the application can operate normally But running
org\eclipse\tptp\platform\execution\samples of examples to normal operation.
what is the problem?
error message as follows :
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/core/runtime/Platform
at
org.eclipse.tptp.platform.execution.client.core.internal.Nod eImpl.connect(NodeImpl.java:114)
at
org.eclipse.tptp.platform.execution.samples.SampleClientAC.m ain(SampleClientAC.java:79)

look forward to your reply .

Junpeng Hu
2007/06/01


"Igor Alelekov" <igor.alelekov@intel.com>
??????:505aa9e0c27bc347565f9034d4b5607e$1@www.eclipse.org...
> Hi,
>
> Try to refresh TPTP runtime and TPTP Agent Controller to a last stable
> build of 4.4.0 version.
>
> To test Agent Controller your can use sample applications form the
> %AC_HOME%\bin directory: - start SetConfig
> - start ACServer
> - start SampleClient
>
> Regards,
> Igor
>
Re: Please help my by Agent Controller [message #99807 is a reply to message #99795] Fri, 01 June 2007 10:31 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
Hi,

Currently TPTP Java framework (org.eclipse.tptp.execution) is Eclipse
dependent.
To run TPTP Java samples you can create new Eclipse plugin project, set
dependence from org.eclipse.tptp.execution, copy a sample to this project.

Or, if you have installed TPTP sdk, you can import execution plugin with
sources into your workbench, modify and launch code.

Regards,
Igor.
Re: Please help my by Agent Controller [message #99819 is a reply to message #99807] Fri, 01 June 2007 10:34 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
Misprint: instead of org.eclipse.tptp.execution should be
org.eclipse.tptp.platform.execution.
Re: Please help my by Agent Controller [message #99861 is a reply to message #99819] Sat, 02 June 2007 13:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hjp1011.163.com

Hi, Igor, thank you for the answer. Are you saying that the new Eclipse
plug-Lane project? instead of Java projects? My approach is to establish a
JA VA project, which is building the project on the distribution path
org.eclipse.tptp.platform.execution choice of t ptpcore.jar joined. then
make org.eclipse.tptp.pla tform.executiong the sample Lane copy of the
procedures for the establishment of a new category inside. is This a
problem?


"Igor Alelekov" <igor.alelekov@intel.com>
??????:4f19d32ddd993de6e4ec31ff74a7b93f$1@www.eclipse.org...
> Misprint: instead of org.eclipse.tptp.execution should be
> org.eclipse.tptp.platform.execution.
>
Re: Please help my by Agent Controller [message #99984 is a reply to message #99861] Mon, 04 June 2007 09:31 Go to previous message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
There could be various approaches. You need to have
org.eclipse.core.runtime.Platform plugin visible in your CLASSPATH.
Simplest way - to create new plugin project and set its dependence on
Platform and execution plugins.

Regards,
Igor
Previous Topic:tptp 4.3.1 throws NullPointerException
Next Topic:Met problem when Invocation of the Java Profiler from the Eclipse Workbench
Goto Forum:
  


Current Time: Fri Apr 19 15:59:19 GMT 2024

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

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

Back to the top