perfsonar-dev - Re: [pS-dev] RC5 of Java RRD MA 2.0
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Jon K Hellan <>
- Cc: Loukik Kudarimoti <>, Tsompanidis Ilias <>,
- Subject: Re: [pS-dev] RC5 of Java RRD MA 2.0
- Date: Thu, 15 Feb 2007 12:02:58 +0100
Hi
Loukik Kudarimoti wrote:
Hi Jon,
Roman is on leave for a few days. In his absence, I will try to answer this question. He maybe able to give you a more precise answer when he is back.
Jon K Hellan wrote:
<snip>
Yes. Every time you restart tomcat, you have to make sure that LD_LIBRARY_PATH is set and contains the values for rrdtool (the value is prompted during installation).
I've installed RC5 in two places. In both, the installation worked at first. But after stopping tomcat, I had to add the jrrd directory explicitly to LD_LIBRARY_PATH before starting tomcat again.
I used
ant tomcat-shutdown
and
LD_LIBRARY_PATH=<blah>/perfsonar/contrib/rrdjtool/build ant \
tomcat-start
Is this the right way?
Yes, this is true if you start Tomcat manually. If you want the Ant script (deploy action) to start Tomcat you don't have to worry about LD_LIBRARY_PATH. The script will set this variable for you.
The best way to do this is to add the LD_LIBRARY_PATH declaration to the .bash_profile file in the home directory where Tomcat (and RRD MA) are installed. That way, you won't have to recall
Another way is to copy the .so files from rrdtool and rrdjtool to the existing directories in LD_LIBRARY_PATH.
Please make sure that you test the servicer (ant test) after you restart the tomcat. You can also test the service with the help of perfSONAR UI.
(I will add this info to our FAQ)
I am not sure if it makes a difference (will wait for Roman to confirm). Its however important that the name and location of this xml file is configured inside service.properties.
And what is the right incantation to use after you've changed rrd-database_XXX.xml? Does it make a difference if the exist database is in use?
There is no specific rules for metadata file names. It's up to you how you want to call it.
If you are using an eXist database, the test xml file has to be *replaced* with your actual one. You can do this either manually.
Its quite easy - go to http://$serverName:$port/exist/
Scroll down on the left navigation bar and look for Admin.
Log in using either the admin username and password or the perfsonar user name and password. (I recommend logging in using the non-admin user name and password that you provided to ant installer)
Browse to the collections, choose the xml file (make sure you choose the xml file and not the collections). Delete the file and upload your new file.
Or you can do this by repeated ant -q configure and ant -q deploy. Note, you will need to restart tomcat.
or eXist GUI client application can be used if you have installed eXist using jar file (installer based on izPack; see eXist web page)
Roman
If you have problems, feel free to ask.
Loukik.
Regards
Jon
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Tsompanidis Ilias, 02/12/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Tsompanidis Ilias, 02/13/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Roman Lapacz, 02/13/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Loukik Kudarimoti, 02/13/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Roman Lapacz, 02/13/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Jon K Hellan, 02/14/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Loukik Kudarimoti, 02/14/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Roman Lapacz, 02/15/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Loukik Kudarimoti, 02/14/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Jon K Hellan, 02/14/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Roman Lapacz, 02/13/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Loukik Kudarimoti, 02/13/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Roman Lapacz, 02/13/2007
- Re: [pS-dev] RC5 of Java RRD MA 2.0, Tsompanidis Ilias, 02/13/2007
Archive powered by MHonArc 2.6.16.