Hi,
Would appreciate any input regarding what manufacturing scheduling features are in OFBiz. I checked out the OFBiz feature list and imagine these features are somewhere in the Work Effort module but I would like more detail than what's listed. Many Thanks, Case Torres http://www.casetorrestech.com [hidden email] |
Hi,
When you are working with files that are not using entity tags ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a method to load the data, or is the file called each time it is used. (I did clear the cache). I would like to understand this better, any guidance would be appreciated. Thanks & Regards, Peter |
Administrator
|
Deploying a classpath resource is similar to deploying a compiled Java class : you have to reload. This article may be of interest in this field : http://www.javaworld.com/javaworld/javatips/jw-javatip125.html Jacques > Hi, > > > When you are working with files that are not using entity tags > ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a method > to load the data, or is the file called each time it is used. (I did clear > the cache). > > I would like to understand this better, any guidance would be appreciated. > > > Thanks & Regards, > > Peter > |
I was under the impression the properties are loaded and cached the first
time the file is used and can be cleared via webtools Scott On 12/04/07, Jacques Le Roux <[hidden email]> wrote: > > > Deploying a classpath resource is similar to deploying a compiled Java > class : you have to reload. > > This article may be of interest in this field : > http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > > Jacques > > > > Hi, > > > > > > When you are working with files that are not using entity tags > > ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a > method > > to load the data, or is the file called each time it is used. (I did > clear > > the cache). > > > > I would like to understand this better, any guidance would be > appreciated. > > > > > > Thanks & Regards, > > > > Peter > > > > |
This would be true except that we use the ResourceBundle class of the Java API, and that class keeps its own cache that prevents reloading. So for now we are stuck with a restart to reload on properties files. We've been talking about rewriting the UtilProperties stuff to not use ResourceBundle (there are various notes in the java file on it), but that hasn't been done yet. -David On Apr 12, 2007, at 2:49 AM, Scott Gray wrote: > I was under the impression the properties are loaded and cached the > first > time the file is used and can be cleared via webtools > > Scott > > On 12/04/07, Jacques Le Roux <[hidden email]> wrote: >> >> >> Deploying a classpath resource is similar to deploying a compiled >> Java >> class : you have to reload. >> >> This article may be of interest in this field : >> http://www.javaworld.com/javaworld/javatips/jw-javatip125.html >> >> Jacques >> >> >> > Hi, >> > >> > >> > When you are working with files that are not using entity tags >> > ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a >> method >> > to load the data, or is the file called each time it is used. (I >> did >> clear >> > the cache). >> > >> > I would like to understand this better, any guidance would be >> appreciated. >> > >> > >> > Thanks & Regards, >> > >> > Peter >> > >> >> smime.p7s (3K) Download Attachment |
Administrator
|
My answer was from experience ;o)
Is there a Jira issue for that, should we create one ? Jacques > > This would be true except that we use the ResourceBundle class of the > Java API, and that class keeps its own cache that prevents reloading. > > So for now we are stuck with a restart to reload on properties files. > We've been talking about rewriting the UtilProperties stuff to not > use ResourceBundle (there are various notes in the java file on it), > but that hasn't been done yet. > > -David > > > On Apr 12, 2007, at 2:49 AM, Scott Gray wrote: > > > I was under the impression the properties are loaded and cached the > > first > > time the file is used and can be cleared via webtools > > > > Scott > > > > On 12/04/07, Jacques Le Roux <[hidden email]> wrote: > >> > >> > >> Deploying a classpath resource is similar to deploying a compiled > >> Java > >> class : you have to reload. > >> > >> This article may be of interest in this field : > >> http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > >> > >> Jacques > >> > >> > >> > Hi, > >> > > >> > > >> > When you are working with files that are not using entity tags > >> > ("<entity-engine-xml>"), such as 'arithmetic.properties' is there > >> method > >> > to load the data, or is the file called each time it is used. (I > >> did > >> clear > >> > the cache). > >> > > >> > I would like to understand this better, any guidance would be > >> appreciated. > >> > > >> > > >> > Thanks & Regards, > >> > > >> > Peter > >> > > >> > >> > > |
It looks like they've fixed it in Java 6, it appears to be a popular issue:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212439 On 12/04/07, Jacques Le Roux <[hidden email]> wrote: > > My answer was from experience ;o) > > Is there a Jira issue for that, should we create one ? > > Jacques > > > > > This would be true except that we use the ResourceBundle class of the > > Java API, and that class keeps its own cache that prevents reloading. > > > > So for now we are stuck with a restart to reload on properties files. > > We've been talking about rewriting the UtilProperties stuff to not > > use ResourceBundle (there are various notes in the java file on it), > > but that hasn't been done yet. > > > > -David > > > > > > On Apr 12, 2007, at 2:49 AM, Scott Gray wrote: > > > > > I was under the impression the properties are loaded and cached the > > > first > > > time the file is used and can be cleared via webtools > > > > > > Scott > > > > > > On 12/04/07, Jacques Le Roux <[hidden email]> wrote: > > >> > > >> > > >> Deploying a classpath resource is similar to deploying a compiled > > >> Java > > >> class : you have to reload. > > >> > > >> This article may be of interest in this field : > > >> http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > > >> > > >> Jacques > > >> > > >> > > >> > Hi, > > >> > > > >> > > > >> > When you are working with files that are not using entity tags > > >> > ("<entity-engine-xml>"), such as 'arithmetic.properties' is there > a > > >> method > > >> > to load the data, or is the file called each time it is used. (I > > >> did > > >> clear > > >> > the cache). > > >> > > > >> > I would like to understand this better, any guidance would be > > >> appreciated. > > >> > > > >> > > > >> > Thanks & Regards, > > >> > > > >> > Peter > > >> > > > >> > > >> > > > > > > |
Administrator
|
Interesting, thanks Scott !
Jacques De : "Scott Gray" <[hidden email]> > It looks like they've fixed it in Java 6, it appears to be a popular issue: > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212439 > > On 12/04/07, Jacques Le Roux <[hidden email]> wrote: > > > > My answer was from experience ;o) > > > > Is there a Jira issue for that, should we create one ? > > > > Jacques > > > > > > > > This would be true except that we use the ResourceBundle class of > > > Java API, and that class keeps its own cache that prevents reloading. > > > > > > So for now we are stuck with a restart to reload on properties files. > > > We've been talking about rewriting the UtilProperties stuff to not > > > use ResourceBundle (there are various notes in the java file on it), > > > but that hasn't been done yet. > > > > > > -David > > > > > > > > > On Apr 12, 2007, at 2:49 AM, Scott Gray wrote: > > > > > > > I was under the impression the properties are loaded and cached the > > > > first > > > > time the file is used and can be cleared via webtools > > > > > > > > Scott > > > > > > > > On 12/04/07, Jacques Le Roux <[hidden email]> wrote: > > > >> > > > >> > > > >> Deploying a classpath resource is similar to deploying a compiled > > > >> Java > > > >> class : you have to reload. > > > >> > > > >> This article may be of interest in this field : > > > >> http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > > > >> > > > >> Jacques > > > >> > > > >> > > > >> > Hi, > > > >> > > > > >> > > > > >> > When you are working with files that are not using entity > > > >> > ("<entity-engine-xml>"), such as 'arithmetic.properties' is there > > a > > > >> method > > > >> > to load the data, or is the file called each time it is used. (I > > > >> did > > > >> clear > > > >> > the cache). > > > >> > > > > >> > I would like to understand this better, any guidance would be > > > >> appreciated. > > > >> > > > > >> > > > > >> > Thanks & Regards, > > > >> > > > > >> > Peter > > > >> > > > > >> > > > >> > > > > > > > > > > > |
So, where does that leave us? Do we just wait for Java 6 or make the change
David suggested? Jacques Le Roux wrote: > Interesting, thanks Scott ! > > Jacques > > De : "Scott Gray" <[hidden email]> > >>It looks like they've fixed it in Java 6, it appears to be a popular > > issue: > >>http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212439 >> >>On 12/04/07, Jacques Le Roux <[hidden email]> wrote: >> >>>My answer was from experience ;o) >>> >>>Is there a Jira issue for that, should we create one ? >>> >>>Jacques >>> >>> >>>>This would be true except that we use the ResourceBundle class of > > the > >>>>Java API, and that class keeps its own cache that prevents > > reloading. > >>>>So for now we are stuck with a restart to reload on properties > > files. > >>>>We've been talking about rewriting the UtilProperties stuff to not >>>>use ResourceBundle (there are various notes in the java file on > > it), > >>>>but that hasn't been done yet. >>>> >>>>-David >>>> >>>> >>>>On Apr 12, 2007, at 2:49 AM, Scott Gray wrote: >>>> >>>> >>>>>I was under the impression the properties are loaded and cached > > the > >>>>>first >>>>>time the file is used and can be cleared via webtools >>>>> >>>>>Scott >>>>> >>>>>On 12/04/07, Jacques Le Roux <[hidden email]> > > wrote: > >>>>>> >>>>>>Deploying a classpath resource is similar to deploying a > > compiled > >>>>>>Java >>>>>>class : you have to reload. >>>>>> >>>>>>This article may be of interest in this field : >>>>>>http://www.javaworld.com/javaworld/javatips/jw-javatip125.html >>>>>> >>>>>>Jacques >>>>>> >>>>>> >>>>>> >>>>>>>Hi, >>>>>>> >>>>>>> >>>>>>>When you are working with files that are not using entity > > tags > >>>>>>>("<entity-engine-xml>"), such as 'arithmetic.properties' is > > there > >>>a >>> >>>>>>method >>>>>> >>>>>>>to load the data, or is the file called each time it is used. > > (I > >>>>>>did >>>>>>clear >>>>>> >>>>>>>the cache). >>>>>>> >>>>>>>I would like to understand this better, any guidance would be >>>>>> >>>>>>appreciated. >>>>>> >>>>>>> >>>>>>>Thanks & Regards, >>>>>>> >>>>>>>Peter >>>>>>> >>>>>> >>>>>> >>>> >>> > > |
All depends on whether it bothers someone enough to code the changes, I
suspect it would be quite some time before OFBiz is using code specific to that version of java. Regards Scott On 13/04/07, Adrian Crum <[hidden email]> wrote: > > So, where does that leave us? Do we just wait for Java 6 or make the > change > David suggested? > > > Jacques Le Roux wrote: > > > Interesting, thanks Scott ! > > > > Jacques > > > > De : "Scott Gray" <[hidden email]> > > > >>It looks like they've fixed it in Java 6, it appears to be a popular > > > > issue: > > > >>http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212439 > >> > >>On 12/04/07, Jacques Le Roux <[hidden email]> wrote: > >> > >>>My answer was from experience ;o) > >>> > >>>Is there a Jira issue for that, should we create one ? > >>> > >>>Jacques > >>> > >>> > >>>>This would be true except that we use the ResourceBundle class of > > > > the > > > >>>>Java API, and that class keeps its own cache that prevents > > > > reloading. > > > >>>>So for now we are stuck with a restart to reload on properties > > > > files. > > > >>>>We've been talking about rewriting the UtilProperties stuff to not > >>>>use ResourceBundle (there are various notes in the java file on > > > > it), > > > >>>>but that hasn't been done yet. > >>>> > >>>>-David > >>>> > >>>> > >>>>On Apr 12, 2007, at 2:49 AM, Scott Gray wrote: > >>>> > >>>> > >>>>>I was under the impression the properties are loaded and cached > > > > the > > > >>>>>first > >>>>>time the file is used and can be cleared via webtools > >>>>> > >>>>>Scott > >>>>> > >>>>>On 12/04/07, Jacques Le Roux <[hidden email]> > > > > wrote: > > > >>>>>> > >>>>>>Deploying a classpath resource is similar to deploying a > > > > compiled > > > >>>>>>Java > >>>>>>class : you have to reload. > >>>>>> > >>>>>>This article may be of interest in this field : > >>>>>>http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > >>>>>> > >>>>>>Jacques > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Hi, > >>>>>>> > >>>>>>> > >>>>>>>When you are working with files that are not using entity > > > > tags > > > >>>>>>>("<entity-engine-xml>"), such as 'arithmetic.properties' is > > > > there > > > >>>a > >>> > >>>>>>method > >>>>>> > >>>>>>>to load the data, or is the file called each time it is used. > > > > (I > > > >>>>>>did > >>>>>>clear > >>>>>> > >>>>>>>the cache). > >>>>>>> > >>>>>>>I would like to understand this better, any guidance would be > >>>>>> > >>>>>>appreciated. > >>>>>> > >>>>>>> > >>>>>>>Thanks & Regards, > >>>>>>> > >>>>>>>Peter > >>>>>>> > >>>>>> > >>>>>> > >>>> > >>> > > > > > |
In reply to this post by Jacques Le Roux
Hi,
Surely it can't be true that to load a change to a file such as (a none <entity-engine-xml> file)'arithmetic.properties' you need to reload all config files. I can't understand this correctly, this can't be true. Can anyone add some clarity to this? Thanks & Regards, Peter -----Original Message----- From: Jacques Le Roux [mailto:[hidden email]] Sent: 12 April 2007 09:39 To: [hidden email]; [hidden email] Subject: Re: Loading of Data Deploying a classpath resource is similar to deploying a compiled Java class : you have to reload. This article may be of interest in this field : http://www.javaworld.com/javaworld/javatips/jw-javatip125.html Jacques > Hi, > > > When you are working with files that are not using entity tags > ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a method > to load the data, or is the file called each time it is used. (I did clear > the cache). > > I would like to understand this better, any guidance would be appreciated. > > > Thanks & Regards, > > Peter > |
Yes, it is true. Welcome to the wonderful world of Java. This is a limitation of ResourceBundle class in the Java standard API. In fact in general Java was not designed for reloading anything from the classpath, though we use certain things to get around that for some types of resources. -David On Apr 16, 2007, at 4:03 AM, <[hidden email]> <[hidden email]> wrote: > Hi, > > > Surely it can't be true that to load a change to a file such as (a > none > <entity-engine-xml> file)'arithmetic.properties' you need to reload > all > config files. > > I can't understand this correctly, this can't be true. > > Can anyone add some clarity to this? > > > Thanks & Regards, > > Peter > > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: 12 April 2007 09:39 > To: [hidden email]; [hidden email] > Subject: Re: Loading of Data > > > Deploying a classpath resource is similar to deploying a compiled Java > class : you have to reload. > > This article may be of interest in this field : > http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > > Jacques > > >> Hi, >> >> >> When you are working with files that are not using entity tags >> ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a > method >> to load the data, or is the file called each time it is used. (I did > clear >> the cache). >> >> I would like to understand this better, any guidance would be > appreciated. >> >> >> Thanks & Regards, >> >> Peter >> > smime.p7s (3K) Download Attachment |
Hi,
Can anyone provide some guidance on what the 'best practice' process on how to reload a none <entity-engine-xml> file, such as 'arithmetic.properties'. Having a nightmare with this. Thanks & Regards, Peter -----Original Message----- From: David E. Jones [mailto:[hidden email]] Sent: 16 April 2007 17:00 To: [hidden email] Subject: Re: Loading of Data Importance: High Yes, it is true. Welcome to the wonderful world of Java. This is a limitation of ResourceBundle class in the Java standard API. In fact in general Java was not designed for reloading anything from the classpath, though we use certain things to get around that for some types of resources. -David On Apr 16, 2007, at 4:03 AM, <[hidden email]> <[hidden email]> wrote: > Hi, > > > Surely it can't be true that to load a change to a file such as (a > none > <entity-engine-xml> file)'arithmetic.properties' you need to reload > all > config files. > > I can't understand this correctly, this can't be true. > > Can anyone add some clarity to this? > > > Thanks & Regards, > > Peter > > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: 12 April 2007 09:39 > To: [hidden email]; [hidden email] > Subject: Re: Loading of Data > > > Deploying a classpath resource is similar to deploying a compiled Java > class : you have to reload. > > This article may be of interest in this field : > http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > > Jacques > > >> Hi, >> >> >> When you are working with files that are not using entity tags >> ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a > method >> to load the data, or is the file called each time it is used. (I did > clear >> the cache). >> >> I would like to understand this better, any guidance would be > appreciated. >> >> >> Thanks & Regards, >> >> Peter >> > |
Just restart ofbiz. -David On Apr 16, 2007, at 11:00 AM, <[hidden email]> <[hidden email]> wrote: > Hi, > > > Can anyone provide some guidance on what the 'best practice' > process on how > to reload a none <entity-engine-xml> file, such as > 'arithmetic.properties'. > > Having a nightmare with this. > > > Thanks & Regards, > > Peter > > > > -----Original Message----- > From: David E. Jones [mailto:[hidden email]] > Sent: 16 April 2007 17:00 > To: [hidden email] > Subject: Re: Loading of Data > Importance: High > > > Yes, it is true. Welcome to the wonderful world of Java. This is a > limitation of ResourceBundle class in the Java standard API. > > In fact in general Java was not designed for reloading anything from > the classpath, though we use certain things to get around that for > some types of resources. > > -David > > > On Apr 16, 2007, at 4:03 AM, <[hidden email]> <[hidden email]> wrote: > >> Hi, >> >> >> Surely it can't be true that to load a change to a file such as (a >> none >> <entity-engine-xml> file)'arithmetic.properties' you need to reload >> all >> config files. >> >> I can't understand this correctly, this can't be true. >> >> Can anyone add some clarity to this? >> >> >> Thanks & Regards, >> >> Peter >> >> >> -----Original Message----- >> From: Jacques Le Roux [mailto:[hidden email]] >> Sent: 12 April 2007 09:39 >> To: [hidden email]; [hidden email] >> Subject: Re: Loading of Data >> >> >> Deploying a classpath resource is similar to deploying a compiled >> Java >> class : you have to reload. >> >> This article may be of interest in this field : >> http://www.javaworld.com/javaworld/javatips/jw-javatip125.html >> >> Jacques >> >> >>> Hi, >>> >>> >>> When you are working with files that are not using entity tags >>> ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a >> method >>> to load the data, or is the file called each time it is used. (I did >> clear >>> the cache). >>> >>> I would like to understand this better, any guidance would be >> appreciated. >>> >>> >>> Thanks & Regards, >>> >>> Peter >>> >> > > smime.p7s (3K) Download Attachment |
Hi,
Thanks for getting back so quick. I take it you mean; logout, login and then clear cache? Thanks & Regards, Peter -----Original Message----- From: David E. Jones [mailto:[hidden email]] Sent: 16 April 2007 18:14 To: [hidden email] Subject: Re: Loading of Data Importance: High Just restart ofbiz. -David On Apr 16, 2007, at 11:00 AM, <[hidden email]> <[hidden email]> wrote: > Hi, > > > Can anyone provide some guidance on what the 'best practice' > process on how > to reload a none <entity-engine-xml> file, such as > 'arithmetic.properties'. > > Having a nightmare with this. > > > Thanks & Regards, > > Peter > > > > -----Original Message----- > From: David E. Jones [mailto:[hidden email]] > Sent: 16 April 2007 17:00 > To: [hidden email] > Subject: Re: Loading of Data > Importance: High > > > Yes, it is true. Welcome to the wonderful world of Java. This is a > limitation of ResourceBundle class in the Java standard API. > > In fact in general Java was not designed for reloading anything from > the classpath, though we use certain things to get around that for > some types of resources. > > -David > > > On Apr 16, 2007, at 4:03 AM, <[hidden email]> <[hidden email]> wrote: > >> Hi, >> >> >> Surely it can't be true that to load a change to a file such as (a >> none >> <entity-engine-xml> file)'arithmetic.properties' you need to reload >> all >> config files. >> >> I can't understand this correctly, this can't be true. >> >> Can anyone add some clarity to this? >> >> >> Thanks & Regards, >> >> Peter >> >> >> -----Original Message----- >> From: Jacques Le Roux [mailto:[hidden email]] >> Sent: 12 April 2007 09:39 >> To: [hidden email]; [hidden email] >> Subject: Re: Loading of Data >> >> >> Deploying a classpath resource is similar to deploying a compiled >> Java >> class : you have to reload. >> >> This article may be of interest in this field : >> http://www.javaworld.com/javaworld/javatips/jw-javatip125.html >> >> Jacques >> >> >>> Hi, >>> >>> >>> When you are working with files that are not using entity tags >>> ("<entity-engine-xml>"), such as 'arithmetic.properties' is there a >> method >>> to load the data, or is the file called each time it is used. (I did >> clear >>> the cache). >>> >>> I would like to understand this better, any guidance would be >> appreciated. >>> >>> >>> Thanks & Regards, >>> >>> Peter >>> >> > > |
No, he means shutdown OFBiz, then restart it.
[hidden email] wrote: > Hi, > > > Thanks for getting back so quick. > > I take it you mean; logout, login and then clear cache? > > > Thanks & Regards, > > Peter > > -----Original Message----- > From: David E. Jones [mailto:[hidden email]] > Sent: 16 April 2007 18:14 > To: [hidden email] > Subject: Re: Loading of Data > Importance: High > > > Just restart ofbiz. > > -David > > > On Apr 16, 2007, at 11:00 AM, <[hidden email]> <[hidden email]> wrote: > > >>Hi, >> >> >>Can anyone provide some guidance on what the 'best practice' >>process on how >>to reload a none <entity-engine-xml> file, such as >>'arithmetic.properties'. >> >>Having a nightmare with this. >> >> >>Thanks & Regards, >> >>Peter >> >> >> >>-----Original Message----- >>From: David E. Jones [mailto:[hidden email]] >>Sent: 16 April 2007 17:00 >>To: [hidden email] >>Subject: Re: Loading of Data >>Importance: High >> >> >>Yes, it is true. Welcome to the wonderful world of Java. This is a >>limitation of ResourceBundle class in the Java standard API. >> >>In fact in general Java was not designed for reloading anything from >>the classpath, though we use certain things to get around that for >>some types of resources. >> >>-David >> >> >>On Apr 16, 2007, at 4:03 AM, <[hidden email]> <[hidden email]> wrote: >> >> >>>Hi, >>> >>> >>>Surely it can't be true that to load a change to a file such as (a >>>none >>><entity-engine-xml> file)'arithmetic.properties' you need to reload >>>all >>>config files. >>> >>>I can't understand this correctly, this can't be true. >>> >>>Can anyone add some clarity to this? >>> >>> >>>Thanks & Regards, >>> >>>Peter >>> >>> >>>-----Original Message----- >>>From: Jacques Le Roux [mailto:[hidden email]] >>>Sent: 12 April 2007 09:39 >>>To: [hidden email]; [hidden email] >>>Subject: Re: Loading of Data >>> >>> >>>Deploying a classpath resource is similar to deploying a compiled >>>Java >>>class : you have to reload. >>> >>>This article may be of interest in this field : >>>http://www.javaworld.com/javaworld/javatips/jw-javatip125.html >>> >>>Jacques >>> >>> >>> >>>>Hi, >>>> >>>> >>>>When you are working with files that are not using entity tags >>>>("<entity-engine-xml>"), such as 'arithmetic.properties' is there a >>> >>>method >>> >>>>to load the data, or is the file called each time it is used. (I did >>> >>>clear >>> >>>>the cache). >>>> >>>>I would like to understand this better, any guidance would be >>> >>>appreciated. >>> >>>> >>>>Thanks & Regards, >>>> >>>>Peter >>>> >>> >> > > > |
In reply to this post by peter-230
Open up the window that you typed startofbiz.bat (Windows) or
startofbiz.sh (Linux/Unix) into and press Ctrl+C. This will completely shutdown the server. When it's done shutting down, start it again. --- [hidden email] wrote: > Hi, > > > Thanks for getting back so quick. > > I take it you mean; logout, login and then clear cache? > > > Thanks & Regards, > > Peter > > -----Original Message----- > From: David E. Jones [mailto:[hidden email]] > Sent: 16 April 2007 18:14 > To: [hidden email] > Subject: Re: Loading of Data > Importance: High > > > Just restart ofbiz. > > -David > > > On Apr 16, 2007, at 11:00 AM, <[hidden email]> <[hidden email]> > wrote: > > > Hi, > > > > > > Can anyone provide some guidance on what the 'best practice' > > process on how > > to reload a none <entity-engine-xml> file, such as > > 'arithmetic.properties'. > > > > Having a nightmare with this. > > > > > > Thanks & Regards, > > > > Peter > > > > > > > > -----Original Message----- > > From: David E. Jones [mailto:[hidden email]] > > Sent: 16 April 2007 17:00 > > To: [hidden email] > > Subject: Re: Loading of Data > > Importance: High > > > > > > Yes, it is true. Welcome to the wonderful world of Java. This is a > > limitation of ResourceBundle class in the Java standard API. > > > > In fact in general Java was not designed for reloading anything > from > > the classpath, though we use certain things to get around that for > > some types of resources. > > > > -David > > > > > > On Apr 16, 2007, at 4:03 AM, <[hidden email]> <[hidden email]> > wrote: > > > >> Hi, > >> > >> > >> Surely it can't be true that to load a change to a file such as (a > >> none > >> <entity-engine-xml> file)'arithmetic.properties' you need to > reload > >> all > >> config files. > >> > >> I can't understand this correctly, this can't be true. > >> > >> Can anyone add some clarity to this? > >> > >> > >> Thanks & Regards, > >> > >> Peter > >> > >> > >> -----Original Message----- > >> From: Jacques Le Roux [mailto:[hidden email]] > >> Sent: 12 April 2007 09:39 > >> To: [hidden email]; [hidden email] > >> Subject: Re: Loading of Data > >> > >> > >> Deploying a classpath resource is similar to deploying a compiled > > >> Java > >> class : you have to reload. > >> > >> This article may be of interest in this field : > >> http://www.javaworld.com/javaworld/javatips/jw-javatip125.html > >> > >> Jacques > >> > >> > >>> Hi, > >>> > >>> > >>> When you are working with files that are not using entity tags > >>> ("<entity-engine-xml>"), such as 'arithmetic.properties' is there > a > >> method > >>> to load the data, or is the file called each time it is used. (I > did > >> clear > >>> the cache). > >>> > >>> I would like to understand this better, any guidance would be > >> appreciated. > >>> > >>> > >>> Thanks & Regards, > >>> > >>> Peter > >>> > >> > > > > > > > |
In reply to this post by Adrian Crum
Hi Adrian,
How do you do that? Is this a console command, or a GUI menu option? Thanks & Regards, Peter -----Original Message----- From: Adrian Crum [mailto:[hidden email]] Sent: 16 April 2007 19:00 To: [hidden email] Subject: Re: Loading of Data No, he means shutdown OFBiz, then restart it. [hidden email] wrote: > Hi, > > > Thanks for getting back so quick. > > I take it you mean; logout, login and then clear cache? > > > Thanks & Regards, > > Peter > > -----Original Message----- > From: David E. Jones [mailto:[hidden email]] > Sent: 16 April 2007 18:14 > To: [hidden email] > Subject: Re: Loading of Data > Importance: High > > > Just restart ofbiz. > > -David > > > On Apr 16, 2007, at 11:00 AM, <[hidden email]> <[hidden email]> wrote: > > >>Hi, >> >> >>Can anyone provide some guidance on what the 'best practice' >>process on how >>to reload a none <entity-engine-xml> file, such as >>'arithmetic.properties'. >> >>Having a nightmare with this. >> >> >>Thanks & Regards, >> >>Peter >> >> >> >>-----Original Message----- >>From: David E. Jones [mailto:[hidden email]] >>Sent: 16 April 2007 17:00 >>To: [hidden email] >>Subject: Re: Loading of Data >>Importance: High >> >> >>Yes, it is true. Welcome to the wonderful world of Java. This is a >>limitation of ResourceBundle class in the Java standard API. >> >>In fact in general Java was not designed for reloading anything from >>the classpath, though we use certain things to get around that for >>some types of resources. >> >>-David >> >> >>On Apr 16, 2007, at 4:03 AM, <[hidden email]> <[hidden email]> wrote: >> >> >>>Hi, >>> >>> >>>Surely it can't be true that to load a change to a file such as (a >>>none >>><entity-engine-xml> file)'arithmetic.properties' you need to reload >>>all >>>config files. >>> >>>I can't understand this correctly, this can't be true. >>> >>>Can anyone add some clarity to this? >>> >>> >>>Thanks & Regards, >>> >>>Peter >>> >>> >>>-----Original Message----- >>>From: Jacques Le Roux [mailto:[hidden email]] >>>Sent: 12 April 2007 09:39 >>>To: [hidden email]; [hidden email] >>>Subject: Re: Loading of Data >>> >>> >>>Deploying a classpath resource is similar to deploying a compiled >>>Java >>>class : you have to reload. >>> >>>This article may be of interest in this field : >>>http://www.javaworld.com/javaworld/javatips/jw-javatip125.html >>> >>>Jacques >>> >>> >>> >>>>Hi, >>>> >>>> >>>>When you are working with files that are not using entity tags >>>>("<entity-engine-xml>"), such as 'arithmetic.properties' is there a >>> >>>method >>> >>>>to load the data, or is the file called each time it is used. (I did >>> >>>clear >>> >>>>the cache). >>>> >>>>I would like to understand this better, any guidance would be >>> >>>appreciated. >>> >>>> >>>>Thanks & Regards, >>>> >>>>Peter >>>> >>> >> > > > |
Free forum by Nabble | Edit this page |