Thanks a bunch for this clear explanation Ben.
On 08/19/2011 10:27 AM, Ben Wolfe wrote:
The application data directory was never in the same folder as the
runtime properties, it was the other way around. The first place
openmrs tries to put the runtime properties is in the define
application data dir. If you define your runtime props with an env
var, that means that file can be anywhere on the system.
With 1.8 we changed the logic behind how the runtime props folder and
hence the application data dir location is chosen. It is now:
1) Try current tomcat folder
2) Look for env var for props file
3) Try current user folder
I started this page for you:
https://wiki.openmrs.org/display/docs/Application+Data+Directory
Ben
On Thu, Aug 18, 2011 at 4:01 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR)
<[email protected] <mailto:[email protected]>> wrote:
Thanks Ben. Is there a ticket or wiki page I can read to
understand the thinking behind this? Is there a reason why the
tomcat_home rather than the directory with the runtime properties
file chosen as the default base? Am I misremembering that the
pattern in earlier versions was to have directories for reports,
data dumps, etc. come off of the runtime properties directory?
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected]
<mailto:[email protected]>] *On Behalf Of *Ben Wolfe
*Sent:* Thursday, August 18, 2011 6:32 AM
*To:* [email protected]
<mailto:[email protected]>
*Subject:* Re: [OPENMRS-IMPLEMENTERS] tomcat/openmrs
This means your application app directory is in that folder. When
a module tries to save something to disk it will go into that
folder. You can change the location of the app dir in a runtime
property.
Ben
On Wed, Aug 17, 2011 at 10:19 PM, Friedman, Roger (CDC/CGH/DGHA)
(CTR) <[email protected] <mailto:[email protected]>> wrote:
It's in tomcat_home (for me, C:\Program Files\Apache Software
Foundation\Tomcat 6.0), it's called openmrs, it contains a Modules
subdirectory which in turn contains installed modules (I think
only user-installed modules, not core-included modules, at the
moment it's empty), I think it's new with 1.8, it appears when
deploying.
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected]
<mailto:[email protected]>] *On Behalf Of *Jeremy Keiper
*Sent:* Wednesday, August 17, 2011 2:02 PM
*To:* [email protected]
<mailto:[email protected]>
*Subject:* Re: [OPENMRS-IMPLEMENTERS] tomcat/openmrs
Roger, which directory are you talking about? Where is it
located, which operating system, and when did it appear?
Jeremy Keiper
OpenMRS Core Developer
AMPATH / IU-Kenya Support
On Wed, Aug 17, 2011 at 8:23 AM, Friedman, Roger (CDC/CGH/DGHA)
(CTR) <[email protected] <mailto:[email protected]>> wrote:
What is this tomcat/openmrs directory that now appears? Is there
some documentation on this?
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l> from
OpenMRS Implementers' mailing list
_________________
University Computing Centre - 'Professionalism, Customer Care and Technological
foresight'
_________________________________________
To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to
[email protected] with "SIGNOFF openmrs-implement-l" in the body
(not the subject) of your e-mail.
[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]