[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: -Xrun library failed to init: piAgent

I run the following command:

java -XrunpiAgent:help

which generates

Error occurred during initialization of VM
-Xrun library failed to init: piAgent

at the end of the output.

I am running on Windows XP SP2 with JDK 1.4.2_04

Here's my serviceconfig.xml:

<?xml version="1.0" encoding="UTF-8"?>
<AgentControllerConfiguration activeConfiguration="default" loggingDetail="LOW" loggingLevel="DEBUG" port="10002" securedPort="10003" version="3.1.0" filePort="10005" processPolling="true" jvm="C:\Program Files\Java\j2re1.4.2_04\bin\client\jvm.dll">
<AgentControllerEnvironment configuration="default">
<Variable name="JAVA_PATH" value="C:\j2sdk1.4.2_04\bin\java.exe" position="replace"/>
<Variable name="RASERVER_HOME" value="C:\RAServer" position="replace"/>
<Variable name="PATH" value="%RASERVER_HOME%\bin" position="prepend"/>
<Variable name="SYS_TEMP_DIR" value="C:\DOCUME~1\THOMA~1.VAN\LOCALS~1\Temp" position="replace"/>
<Variable name="LOCAL_AGENT_TEMP_DIR" value="%SYS_TEMP_DIR%" position="replace"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\commons-logging.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hcframe.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hexcore.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hexl.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hexr.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hl14.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hlcommons.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hlcore.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hlevents.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\hlcbe101.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\ecore.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%\lib\common.jar" position="append"/>
</AgentControllerEnvironment>
<Application configuration="default" executable="java.exe" path="%JAVA_PATH%" location="%SYS_TEMP_DIR%"/>
<Hosts configuration="default">
<Allow host="LOCAL"/>
</Hosts>
<Plugin path="%RASERVER_HOME%\plugins"/>
</AgentControllerConfiguration>


Here's the output of the log after switching to DEBUG:


<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Service starting"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Using plugin directory C:\RAServer\plugins"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Parsing plugin file: C:\RAServer\plugins\org.eclipse.hyades.datacollection\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started processing Configuration C:\RAServer\plugins\org.eclipse.hyades.datacollection\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed processing Configuration C:\RAServer\plugins\org.eclipse.hyades.datacollection\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Successfully loaded plugin: org.eclipse.hyades.datacollection"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Parsing plugin file: C:\RAServer\plugins\org.eclipse.hyades.logging.parsers\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started processing Configuration C:\RAServer\plugins\org.eclipse.hyades.logging.parsers\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed processing Configuration C:\RAServer\plugins\org.eclipse.hyades.logging.parsers\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Successfully loaded plugin: org.eclipse.hyades.logging.parsers"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Parsing plugin file: C:\RAServer\plugins\org.eclipse.hyades.perfmon.jmxagent\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started processing Configuration C:\RAServer\plugins\org.eclipse.hyades.perfmon.jmxagent\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed processing Configuration C:\RAServer\plugins\org.eclipse.hyades.perfmon.jmxagent\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Successfully loaded plugin: org.eclipse.hyades.perfmon.jmxagent"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Parsing plugin file: C:\RAServer\plugins\org.eclipse.hyades.test\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started processing Configuration C:\RAServer\plugins\org.eclipse.hyades.test\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed processing Configuration C:\RAServer\plugins\org.eclipse.hyades.test\config\pluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Successfully loaded plugin: org.eclipse.hyades.test"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Active configuration set to: default"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set PATH = C:\RAServer\bin;C:\Program Files\Compaq\Compaq Management Agents\Dmi\Win32\Bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;c:\program files\winzip;c:\data\notes;c:\program files\notes;C:\Program Files\Rational\common;C:\PROGRA~1\ATT\Graphviz\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar;C:\RAServer\lib\hlcore.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar;C:\RAServer\lib\hlcore.jar;C:\RAServer\lib\hlevents.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar;C:\RAServer\lib\hlcore.jar;C:\RAServer\lib\hlevents.jar;C:\RAServer\lib\hlcbe101.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar;C:\RAServer\lib\hlcore.jar;C:\RAServer\lib\hlevents.jar;C:\RAServer\lib\hlcbe101.jar;C:\RAServer\lib\ecore.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar;C:\RAServer\lib\hlcore.jar;C:\RAServer\lib\hlevents.jar;C:\RAServer\lib\hlcbe101.jar;C:\RAServer\lib\ecore.jar;C:\RAServer\lib\common.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar;C:\RAServer\lib\hlcore.jar;C:\RAServer\lib\hlevents.jar;C:\RAServer\lib\hlcbe101.jar;C:\RAServer\lib\ecore.jar;C:\RAServer\lib\common.jar;C:\RAServer/plugins/org.eclipse.hyades.perfmon.jmxagent/lib/jmxagent.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully set CLASSPATH = ;C:\RAServer\lib\commons-logging.jar;C:\RAServer\lib\hcframe.jar;C:\RAServer\lib\hexcore.jar;C:\RAServer\lib\hexl.jar;C:\RAServer\lib\hexr.jar;C:\RAServer\lib\hl14.jar;C:\RAServer\lib\hlcommons.jar;C:\RAServer\lib\hlcore.jar;C:\RAServer\lib\hlevents.jar;C:\RAServer\lib\hlcbe101.jar;C:\RAServer\lib\ecore.jar;C:\RAServer\lib\common.jar;C:\RAServer/plugins/org.eclipse.hyades.perfmon.jmxagent/lib/jmxagent.jar;C:\RAServer\plugins\org.eclipse.hyades.test\lib\junit.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Loaded configuration: default"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="INFORMATION" text="Service started successfully"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Loaded JVM library C:\Program Files\Java\j2re1.4.2_04\bin\client\jvm.dll"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Resolved entrypoint for JNI_CreateJavaVM"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Process polling thread created, tid = 324"/>





Samson Wai wrote:

Hello,

Which Java VM and what version are you using? Is it running on Windows?

Can you crank up the logging level of the data collection engine by changing
the "loggingLevel" attribute to "DEBUG" under the "config/serviceconfig.xml"
file of the data collection engine?

It would be a great help if you can post the files
"config/serviceconfig.xml" and "config/servicelog.log". Thanks.

Sam


"Thomas Van de Velde" <thomas.van.de.velde@xxxxxxxxxxxxx> wrote in message
news:cp6t18$n1n$1@xxxxxxxxxxxxxxxxxx
Hi,

I've installed Hyades 3.1.0_20041019_1201.  When I try to launch an
application with the Java Profiling Agent, I get the following error:

Error occurred during initialization of VM
-Xrun library failed to init: piAgent

Any ideas what goes wrong?