[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.test-and-performance] Re: Problem starting RAServer


There is some more information about this type of issue in the "Getting Started with Agent Controller -- Linux on ..." document.


It basically states that if the configuration file ("seviceconfig.xml") points to the server JVM then the library path should also point to the location of the server JVM (and not the client one). I'm assuming the client VM could be used if they both pointed to the client one.

http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/org.eclipse.hyades.datacollection/collection/packaging_md/linux_ia32/getting_started.html

-Scott


Lars wrote:
Hi all,

The same is also applicable for Solaris 8 and RAServer 3.2
If I point out the client libraries the server fails to start.

Perhaps the documentation (and/or the installtion script) should point out
that the server version should be used.
Because when one thinks of it: It makes perfect logical that the server
version should be used (at least from a JDK optimization point of view)

/Lars







"Christian Plesner Hansen" <plesner@xxxxxxxx> skrev i meddelandet
news:41E777C8.8080305@xxxxxxxxxxx

The problem turned out to be that my $LD_LIBRARY_PATH contained
$J2SDK/jre/lib/i386/client instead of $J2SDK/jre/lib/i386/server.  Both
directories contain a libjvm.so but for some reason RAServer would only
work with the one in /server.


-- Christian

Scott E. Schneider wrote:

Hello Christian, have you been able to successfully start the agent
controller since you posted this message?  Please let me know if you're
still having problems (just send me e-mail to
scott.schneider@xxxxxxxxxx) and I'll try to help you out.
-Scott

Christian Plesner Hansen wrote:


Hi,

I'm having some problems starting the Linux IA32 agent controller.  I
have installed it according to 'getting started' and believe I have
set up everything correctly.  When I run RAServer it just exits
immediately without reporting any errors.

Does anyone have an idea what the problem could be?  I have attached
the configuration file and the log written by the agent.

Thanks,
Christian



------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<AgentControllerConfiguration activeConfiguration="default"
loggingDetail="LOW" loggingLevel="INFORMATION" port="10002"
securedPort="10003" version="3.2.0" filePort="10005"
processPolling="true"
jvm="/usr/java/j2sdk1.4.2_05/jre/lib/i386/server/libjvm.so">
   <AgentControllerEnvironment configuration="default">
       <Variable name="JAVA_PATH"
value="/usr/java/j2sdk1.4.2_05/jre/bin/java" position="replace"/>
       <Variable name="RASERVER_HOME"
value="/home/plesner/apps/raserver" position="replace"/>
       <Variable name="LD_LIBRARY_PATH" value="%RASERVER_HOME%/lib"
position="prepend"/>
       <Variable name="SYS_TEMP_DIR" value="/tmp" 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="ALL"/>
   </Hosts>
   <Plugin path="%RASERVER_HOME%/plugins"/>
</AgentControllerConfiguration>


------------------------------------------------------------------------

<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC000749DE0B41B3674696A081" msg="Service
starting" severity="10" version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC000791774E8C2972693DCE6D" msg="Successfully
loaded plugin: org.eclipse.hyades.perfmon.jmxagent" severity="10"
version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC00079F6A0C0973042AE33C8C" msg="Successfully
loaded plugin: org.eclipse.hyades.logging.parsers" severity="10"
version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC0007AED5503CCFE208965788" msg="Successfully
loaded plugin: org.eclipse.hyades.datacollection" severity="10"
version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC0007BBB35C535235327D6394" msg="Successfully
loaded plugin: org.eclipse.hyades.perfmon.linux" severity="10"
version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC0007C9D21858409130CF7813" msg="Successfully
loaded plugin: org.eclipse.hyades.test" severity="10" version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC0007CA5007F545BE62DBE1BE" msg="Active
configuration set to: default" severity="10" version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC0007CC1E0FA1FC3E4E9CE614" msg="Loaded
configuration: default" severity="10" version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC0007CC5330454D7C4932575A" msg="Service
started successfully" severity="10" version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServerConfig/RAServerConfigBinding2.cpp"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2005-01-06T08:32:44.000000Z"
globalInstanceId="k1DCF7AC0007F32B747B5FBE0C06440F" msg="Server
stopping" severity="30" version="1.0.1">
   <sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.11.31.63"
locationType="IPV4" processId="19624"
subComponent="framework/RAServer/RACommS.c"
componentType="Eclipse_TPTP"/>
   <situation categoryName="ReportSituation">
       <situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ReportSituation" reasoningScope="INTERNAL"
reportCategory="LOG"/>
   </situation>
</CommonBaseEvent>