perfsonar-dev - Re: [pS-dev] Re: Few things to change in ant targets
Subject: perfsonar development work
List archive
- From: Loukik Kudarimoti <>
- To: Roman Lapacz <>
- Cc: "" <>
- Subject: Re: [pS-dev] Re: Few things to change in ant targets
- Date: Wed, 14 Feb 2007 17:01:01 +0000
Roman Lapacz wrote:
Thanks for the changes Roman, I have one question. How does this work if, for example, I am installing the service with the help of perfSONAR-2.0 bundle installer?
1) Change the location of log directory and log4j.propertiesdone
** logs should be created inside webapps/perfSONAR-RRDMA-1.1/WEB-INF/logs
** log4j.properties should be present inside the webapps directory as well
(here: /home/loukik/perfSONAR/perfSONAR-SQL-MA-1.0-RC3/webapps/perfSONAR-SQL-MA-1.0-RC3/WEB-INF/classes/perfsonar/conf)
2) Change the location of objects.config filedone
Move inside WEB-INF directory
(here: /home/loukik/perfSONAR/perfSONAR-SQL-MA-1.0-RC3/webapps/perfSONAR-SQL-MA-1.0-RC3/WEB-INF/classes/perfsonar/conf)
done
3) Change the location of test of default metadata config file
The test or default metadata config file should be moved inside WEB-INF as well
to here: /home/loukik/perfSONAR/perfSONAR-SQL-MA-1.0-RC3/webapps/perfSONAR-SQL-MA-1.0-RC3/WEB-INF/classes/perfsonar/conf
4) Change the default webapps directory locationnow you may have /home/loukik/webapps/perfSONAR-RRD-MA-2.0
The default location should be /home/loukik/perfSONAR-2.0/webapps/
In the case, the RRD MA would be installed in (/home/loukik/perfSONAR-2.0/JAVA-RRDMA-2.0/)
This way under webapps dir you will be able to have other services, for example
/home/loukik/webapps/perfSONAR-XML-LS-1.0
/home/loukik/webapps/perfSONAR-SQL-MA-1.0
i.e., I extract perfSONAR-2.0.tar.gz into the following directory
/home/loukik/testing/
Thus creating the following directories
/home/loukik/testing/perfSONAR-2.0
/home/loukik/testing/perfSONAR-2.0/install.pl
/home/loukik/testing/perfSONAR-2.0/perfSONAR-RRD-MA-2.0/ (auto created by install.pl when I asked it to install RRD-MA)
/home/loukik/testing/perfSONAR-2.0/perfSONAR-SQL-MA-2.0/ (auto created by install.pl when I asked it to install SQL-MA)
what will be the default value for the location of webapps directory?
thanks,
Loukik.
...
I was following the approach that is present in Tomcat (apache-tomcat-xxx/webapps/; in webapps dir you may have many web applications).
Info for service developers: all you have to do is:
- update of service configure script (target set-service-properties-for-xxx, properties: service.log.log4j.config and service.sax_parser.config)
- update of service deploy script (target copy-jars-for-xxx) but only if you are using metadata config file (just like it is in MA)
take a look at RRD or SQL MA Ant scripts (in svn trunk) to see examples
Roman
The idea behind points 1,2 & 3 is that the micro-release product is essentially an installer which creates the webapps directory. So, if two instances of the same service need to be installed on the same machine, we don't have to use two different downloads of RRDMA service tar file.
Let me know if you have any questions. Also, I hope that you can make these changes by tomorrow so that we can get the other development teams to make similar changes to their JAVA developments by end of this week
thanks,
Loukik.
- Few things to change in ant targets, Loukik Kudarimoti, 02/13/2007
- Re: Few things to change in ant targets, Roman Lapacz, 02/13/2007
- Re: Few things to change in ant targets, Roman Lapacz, 02/14/2007
- Re: [pS-dev] Re: Few things to change in ant targets, Loukik Kudarimoti, 02/14/2007
- Re: [pS-dev] Re: Few things to change in ant targets, Roman Lapacz, 02/15/2007
- Re: [pS-dev] Re: Few things to change in ant targets, Loukik Kudarimoti, 02/14/2007
Archive powered by MHonArc 2.6.16.