| [News.eclipse.test-and-performance] Re: problems with profiling tools |
Hi David,
Thanks, Curt
David Komanek wrote:
Dear all,
I have problem with eclipse profiling tools on WinXP. I am able to start RAServer, monitor it with perfmonagent and generate trace logs in the command line, like
java -XrunpiAgent:server=standalone -classpath "." cz.komanek.test03.Test
(Test.class is a simple "HelloWorld" app with no special imports)
But for some reason eclipse is not able to communicate with the RAServer at both my workplace and home boxes. The message sounds:
IWAT0113E Error launching application.
Reason: IWAT0113E Configuration error on agent controller. Error exists in agent controller configuration file: serviceconfig.xml
Make sure the agent controller installation is correctly configured.
I followed the guide about RASERVER_PATH etc., tried various Java JDK versions, but with no success. What seems to be the point is that manually launched profiling works fine, so I do not expect the problem is really in serviceconfig.xml
When I try to import the profiling file (from the manual attempt) from the disk, it gets the data without problems.
Am I missing something basic or is there a known bug ?
Eclipse 3.0.1 Hyades - build from last Friday Windows XP Pro SP2 All tested software resides in C:Program fileselipse serviceconfig.xml is attached bellow
Please, do you have some advice for me (except the one I should not touch eclipse with my poo rknowledge about it :-)
Sincerely,
David Komanek
<?xml version="1.0" encoding="UTF-8"?>
<AgentControllerConfiguration activeConfiguration="default" filePort="10005" jvm="C:Program FilesJavaj2re1.4.2_06binclientjvm.dll" loggingDetail="LOW" loggingLevel="INFORMATION" port="10002" processPolling="true" securedPort="10003" version="3.1.0">
<AgentControllerEnvironment configuration="default">
<Variable name="JAVA_PATH" position="replace" value="C:Program FilesJavaj2re1.4.2_06binjava.exe"/>
<Variable name="RASERVER_HOME" position="replace" value="C:Program Fileseclipsehyades_rac"/>
<Variable name="PATH" position="prepend" value="%RASERVER_HOME%bin"/>
<Variable name="SYS_TEMP_DIR" position="replace" value="C:DOCUME~1KomanekLOCALS~1Temp"/>
<Variable name="LOCAL_AGENT_TEMP_DIR" position="replace" value="%SYS_TEMP_DIR%"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libcommons-logging.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhcframe.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhexcore.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhexl.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhexr.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhl14.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhlcommons.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhlcore.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhlevents.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libhlcbe101.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libecore.jar"/>
<Variable name="CLASSPATH" position="append" value="%RASERVER_HOME%libcommon.jar"/>
</AgentControllerEnvironment>
<Application configuration="default" executable="java.exe" location="%SYS_TEMP_DIR%" path="%JAVA_PATH%"/>
<Hosts configuration="default">
<Allow host="LOCAL"/>
</Hosts>
<Plugin path="%RASERVER_HOME%plugins"/>
</AgentControllerConfiguration>