Runtime folder

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Runtime folder

Jacopo Cappellato
What about adding a new "runtime" folder, at the same level of
"applications", "framework" etc..., where all the logs, derby db files
and output (such as the pdf report files that can be created with the
new service)?
I see some advantages in keeping the "framework" folder clean from
runtime data.

Jacopo

Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

David E Jones

This might be a nice addition. There are other things that could go  
there as well, like the catalina (tomcat) runtime data which  
currently goes under the framework/catalina directory.

This should be possible as just a configuration change, and might be  
very nice going forward.

-David


On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:

> What about adding a new "runtime" folder, at the same level of  
> "applications", "framework" etc..., where all the logs, derby db  
> files and output (such as the pdf report files that can be created  
> with the new service)?
> I see some advantages in keeping the "framework" folder clean from  
> runtime data.
>
> Jacopo
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

Jacopo Cappellato
I did the switch in rev. 522914
However I did not change the catalina/work folder, I'm sorry but I have
no idea on how to do it.
Can you help?

Jacopo


David E. Jones wrote:

>
> This might be a nice addition. There are other things that could go
> there as well, like the catalina (tomcat) runtime data which currently
> goes under the framework/catalina directory.
>
> This should be possible as just a configuration change, and might be
> very nice going forward.
>
> -David
>
>
> On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:
>
>> What about adding a new "runtime" folder, at the same level of
>> "applications", "framework" etc..., where all the logs, derby db files
>> and output (such as the pdf report files that can be created with the
>> new service)?
>> I see some advantages in keeping the "framework" folder clean from
>> runtime data.
>>
>> Jacopo
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

David E Jones

Okay, that should now be taken care of.

The only caveat, for those listening in, is that the "work" directory  
should be manually moved from framework/catalina to runtime/catalina  
if people want to preserve the persisted sessions they have (this  
usually isn't a big deal though).

-David


On Mar 27, 2007, at 8:15 AM, Jacopo Cappellato wrote:

> I did the switch in rev. 522914
> However I did not change the catalina/work folder, I'm sorry but I  
> have no idea on how to do it.
> Can you help?
>
> Jacopo
>
>
> David E. Jones wrote:
>> This might be a nice addition. There are other things that could  
>> go there as well, like the catalina (tomcat) runtime data which  
>> currently goes under the framework/catalina directory.
>> This should be possible as just a configuration change, and might  
>> be very nice going forward.
>> -David
>> On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:
>>> What about adding a new "runtime" folder, at the same level of  
>>> "applications", "framework" etc..., where all the logs, derby db  
>>> files and output (such as the pdf report files that can be  
>>> created with the new service)?
>>> I see some advantages in keeping the "framework" folder clean  
>>> from runtime data.
>>>
>>> Jacopo
>>>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

Adrian Crum
startofbiz.bat needs to be updated. OFBiz won't start on Windows XP with the new
folder.

David E. Jones wrote:

>
> Okay, that should now be taken care of.
>
> The only caveat, for those listening in, is that the "work" directory  
> should be manually moved from framework/catalina to runtime/catalina  if
> people want to preserve the persisted sessions they have (this  usually
> isn't a big deal though).
>
> -David
>
>
> On Mar 27, 2007, at 8:15 AM, Jacopo Cappellato wrote:
>
>> I did the switch in rev. 522914
>> However I did not change the catalina/work folder, I'm sorry but I  
>> have no idea on how to do it.
>> Can you help?
>>
>> Jacopo
>>
>>
>> David E. Jones wrote:
>>
>>> This might be a nice addition. There are other things that could  go
>>> there as well, like the catalina (tomcat) runtime data which  
>>> currently goes under the framework/catalina directory.
>>> This should be possible as just a configuration change, and might  be
>>> very nice going forward.
>>> -David
>>> On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:
>>>
>>>> What about adding a new "runtime" folder, at the same level of  
>>>> "applications", "framework" etc..., where all the logs, derby db  
>>>> files and output (such as the pdf report files that can be  created
>>>> with the new service)?
>>>> I see some advantages in keeping the "framework" folder clean  from
>>>> runtime data.
>>>>
>>>> Jacopo
>>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

Adrian Crum
In reply to this post by David E Jones
One more thing - SVN needs to be updated to exclude the data files in the
runtime folder. Right now if I try to create a patch, SVN tries to include all
of the data files in the runtime folder.


David E. Jones wrote:

>
> Okay, that should now be taken care of.
>
> The only caveat, for those listening in, is that the "work" directory  
> should be manually moved from framework/catalina to runtime/catalina  if
> people want to preserve the persisted sessions they have (this  usually
> isn't a big deal though).
>
> -David
>
>
> On Mar 27, 2007, at 8:15 AM, Jacopo Cappellato wrote:
>
>> I did the switch in rev. 522914
>> However I did not change the catalina/work folder, I'm sorry but I  
>> have no idea on how to do it.
>> Can you help?
>>
>> Jacopo
>>
>>
>> David E. Jones wrote:
>>
>>> This might be a nice addition. There are other things that could  go
>>> there as well, like the catalina (tomcat) runtime data which  
>>> currently goes under the framework/catalina directory.
>>> This should be possible as just a configuration change, and might  be
>>> very nice going forward.
>>> -David
>>> On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:
>>>
>>>> What about adding a new "runtime" folder, at the same level of  
>>>> "applications", "framework" etc..., where all the logs, derby db  
>>>> files and output (such as the pdf report files that can be  created
>>>> with the new service)?
>>>> I see some advantages in keeping the "framework" folder clean  from
>>>> runtime data.
>>>>
>>>> Jacopo
>>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

Jacopo Cappellato
In reply to this post by Adrian Crum
Thanks Adrian,

rev. 523010

Adrian Crum wrote:

> startofbiz.bat needs to be updated. OFBiz won't start on Windows XP with
> the new folder.
>
> David E. Jones wrote:
>>
>> Okay, that should now be taken care of.
>>
>> The only caveat, for those listening in, is that the "work" directory  
>> should be manually moved from framework/catalina to runtime/catalina  
>> if people want to preserve the persisted sessions they have (this  
>> usually isn't a big deal though).
>>
>> -David
>>
>>
>> On Mar 27, 2007, at 8:15 AM, Jacopo Cappellato wrote:
>>
>>> I did the switch in rev. 522914
>>> However I did not change the catalina/work folder, I'm sorry but I  
>>> have no idea on how to do it.
>>> Can you help?
>>>
>>> Jacopo
>>>
>>>
>>> David E. Jones wrote:
>>>
>>>> This might be a nice addition. There are other things that could  go
>>>> there as well, like the catalina (tomcat) runtime data which  
>>>> currently goes under the framework/catalina directory.
>>>> This should be possible as just a configuration change, and might  
>>>> be very nice going forward.
>>>> -David
>>>> On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:
>>>>
>>>>> What about adding a new "runtime" folder, at the same level of  
>>>>> "applications", "framework" etc..., where all the logs, derby db  
>>>>> files and output (such as the pdf report files that can be  created
>>>>> with the new service)?
>>>>> I see some advantages in keeping the "framework" folder clean  from
>>>>> runtime data.
>>>>>
>>>>> Jacopo
>>>>>
>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

jonwimp
Jacopo,

Nice suggestion.

So, are the following are no longer created in /framework but in /runtime?

- /framework/data (database folders, eg hsql, derby)

- /framework/catalina/work

- /framework/log

Jonathon

Jacopo Cappellato wrote:

> Thanks Adrian,
>
> rev. 523010
>
> Adrian Crum wrote:
>> startofbiz.bat needs to be updated. OFBiz won't start on Windows XP
>> with the new folder.
>>
>> David E. Jones wrote:
>>>
>>> Okay, that should now be taken care of.
>>>
>>> The only caveat, for those listening in, is that the "work"
>>> directory  should be manually moved from framework/catalina to
>>> runtime/catalina  if people want to preserve the persisted sessions
>>> they have (this  usually isn't a big deal though).
>>>
>>> -David
>>>
>>>
>>> On Mar 27, 2007, at 8:15 AM, Jacopo Cappellato wrote:
>>>
>>>> I did the switch in rev. 522914
>>>> However I did not change the catalina/work folder, I'm sorry but I  
>>>> have no idea on how to do it.
>>>> Can you help?
>>>>
>>>> Jacopo
>>>>
>>>>
>>>> David E. Jones wrote:
>>>>
>>>>> This might be a nice addition. There are other things that could  
>>>>> go there as well, like the catalina (tomcat) runtime data which  
>>>>> currently goes under the framework/catalina directory.
>>>>> This should be possible as just a configuration change, and might  
>>>>> be very nice going forward.
>>>>> -David
>>>>> On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:
>>>>>
>>>>>> What about adding a new "runtime" folder, at the same level of  
>>>>>> "applications", "framework" etc..., where all the logs, derby db  
>>>>>> files and output (such as the pdf report files that can be  
>>>>>> created with the new service)?
>>>>>> I see some advantages in keeping the "framework" folder clean  
>>>>>> from runtime data.
>>>>>>
>>>>>> Jacopo
>>>>>>
>>>>
>>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Runtime folder

Jacopo Cappellato
Exactly.

Jonathon -- Improov wrote:

> Jacopo,
>
> Nice suggestion.
>
> So, are the following are no longer created in /framework but in /runtime?
>
> - /framework/data (database folders, eg hsql, derby)
>
> - /framework/catalina/work
>
> - /framework/log
>
> Jonathon
>
> Jacopo Cappellato wrote:
>> Thanks Adrian,
>>
>> rev. 523010
>>
>> Adrian Crum wrote:
>>> startofbiz.bat needs to be updated. OFBiz won't start on Windows XP
>>> with the new folder.
>>>
>>> David E. Jones wrote:
>>>>
>>>> Okay, that should now be taken care of.
>>>>
>>>> The only caveat, for those listening in, is that the "work"
>>>> directory  should be manually moved from framework/catalina to
>>>> runtime/catalina  if people want to preserve the persisted sessions
>>>> they have (this  usually isn't a big deal though).
>>>>
>>>> -David
>>>>
>>>>
>>>> On Mar 27, 2007, at 8:15 AM, Jacopo Cappellato wrote:
>>>>
>>>>> I did the switch in rev. 522914
>>>>> However I did not change the catalina/work folder, I'm sorry but I  
>>>>> have no idea on how to do it.
>>>>> Can you help?
>>>>>
>>>>> Jacopo
>>>>>
>>>>>
>>>>> David E. Jones wrote:
>>>>>
>>>>>> This might be a nice addition. There are other things that could  
>>>>>> go there as well, like the catalina (tomcat) runtime data which  
>>>>>> currently goes under the framework/catalina directory.
>>>>>> This should be possible as just a configuration change, and might  
>>>>>> be very nice going forward.
>>>>>> -David
>>>>>> On Mar 27, 2007, at 1:39 AM, Jacopo Cappellato wrote:
>>>>>>
>>>>>>> What about adding a new "runtime" folder, at the same level of  
>>>>>>> "applications", "framework" etc..., where all the logs, derby db  
>>>>>>> files and output (such as the pdf report files that can be  
>>>>>>> created with the new service)?
>>>>>>> I see some advantages in keeping the "framework" folder clean  
>>>>>>> from runtime data.
>>>>>>>
>>>>>>> Jacopo
>>>>>>>
>>>>>
>>>>
>>
>>