"Thomas Van de Velde" <thomas.van.de.velde@xxxxxxxxxxxxx> wrote in message
news:cp7l8i$8n2$1@xxxxxxxxxxxxxxxxxx
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
FilesJavaj2re1.4.2_04binclientjvm.dll">
<AgentControllerEnvironment configuration="default">
<Variable name="JAVA_PATH" value="C:j2sdk1.4.2_04binjava.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~1THOMA~1.VANLOCALS~1Temp" position="replace"/>
<Variable name="LOCAL_AGENT_TEMP_DIR" value="%SYS_TEMP_DIR%"
position="replace"/>
<Variable name="CLASSPATH"
value="%RASERVER_HOME%libcommons-logging.jar" position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhcframe.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhexcore.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhexl.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhexr.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhl14.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhlcommons.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhlcore.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhlevents.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libhlcbe101.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libecore.jar"
position="append"/>
<Variable name="CLASSPATH" value="%RASERVER_HOME%libcommon.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:RAServerplugins"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Parsing
plugin file:
C:RAServerpluginsorg.eclipse.hyades.datacollectionconfigpluginconfig.xm
l"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.datacollectionconfigpluginconfig.xm
l"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.datacollectionconfigpluginconfig.xm
l"/>
<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:RAServerpluginsorg.eclipse.hyades.logging.parsersconfigpluginconfig.x
ml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.logging.parsersconfigpluginconfig.x
ml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.logging.parsersconfigpluginconfig.x
ml"/>
<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:RAServerpluginsorg.eclipse.hyades.perfmon.jmxagentconfigpluginconfig.
xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.perfmon.jmxagentconfigpluginconfig.
xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.perfmon.jmxagentconfigpluginconfig.
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:RAServerpluginsorg.eclipse.hyades.testconfigpluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Started
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.testconfigpluginconfig.xml"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Completed
processing Configuration
C:RAServerpluginsorg.eclipse.hyades.testconfigpluginconfig.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:RAServerbin;C:Program FilesCompaqCompaq Management
AgentsDmiWin32Bin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem
;C:Program
FilesSupport Tools;c:program fileswinzip;c:datanotes;c:program
filesnotes;C:Program
FilesRationalcommon;C:PROGRA~1ATTGraphvizbin;C:PROGRA~1ATTGraphviz
bintools"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH = ;C:RAServerlibcommons-logging.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar;C:RAServerlibhlcore.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar;C:RAServerlibhlcore.jar;C:
RAServerlibhlevents.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar;C:RAServerlibhlcore.jar;C:
RAServerlibhlevents.jar;C:RAServerlibhlcbe101.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar;C:RAServerlibhlcore.jar;C:
RAServerlibhlevents.jar;C:RAServerlibhlcbe101.jar;C:RAServerlibecore
..jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar;C:RAServerlibhlcore.jar;C:
RAServerlibhlevents.jar;C:RAServerlibhlcbe101.jar;C:RAServerlibecore
..jar;C:RAServerlibcommon.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar;C:RAServerlibhlcore.jar;C:
RAServerlibhlevents.jar;C:RAServerlibhlcbe101.jar;C:RAServerlibecore
..jar;C:RAServerlibcommon.jar;C:RAServer/plugins/org.eclipse.hyades.perfm
on.jmxagent/lib/jmxagent.jar"/>
<SERVER_MSG time="2004:12:8:20:35:12" severity="DEBUG" text="Successfully
set CLASSPATH =
;C:RAServerlibcommons-logging.jar;C:RAServerlibhcframe.jar;C:RAServer
libhexcore.jar;C:RAServerlibhexl.jar;C:RAServerlibhexr.jar;C:RAServ
erlibhl14.jar;C:RAServerlibhlcommons.jar;C:RAServerlibhlcore.jar;C:
RAServerlibhlevents.jar;C:RAServerlibhlcbe101.jar;C:RAServerlibecore
..jar;C:RAServerlibcommon.jar;C:RAServer/plugins/org.eclipse.hyades.perfm
on.jmxagent/lib/jmxagent.jar;C:RAServerpluginsorg.eclipse.hyades.testlib
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 FilesJavaj2re1.4.2_04binclientjvm.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?
>>