Changing the Jar files loading order

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

Changing the Jar files loading order

Ajay Lashkari
Hi All,

when we start the ofbiz,
it loads framework->applications->specialpurpose and then hot-deploy.
so please tell me that if there is a way to change the loading order of
there relevant jar files , from where i can change it?
if there is any file exist for that configuration please tell me the name of
it.

Thanks in advance.

----
Regards,
Ajay Lashkari
Reply | Threaded
Open this post in threaded view
|

Re: Changing the Jar files loading order

Ankit Jain-3
Hello Ajay,

You can do this by changing the order in the file component-load.xml
(ofbiz/framework/base/config/component-load.xml).

PS: Please use User Mailing List([hidden email]) for these types
of questions.

Thanks & Regards,
Ankit Jain

On Monday 11 July 2011 04:20 PM, Ajay Lashkari wrote:

> Hi All,
>
> when we start the ofbiz,
> it loads framework->applications->specialpurpose and then hot-deploy.
> so please tell me that if there is a way to change the loading order of
> there relevant jar files , from where i can change it?
> if there is any file exist for that configuration please tell me the name of
> it.
>
> Thanks in advance.
>
> ----
> Regards,
> Ajay Lashkari
>

Reply | Threaded
Open this post in threaded view
|

Re: Changing the Jar files loading order

Adam Heath-2
In reply to this post by Ajay Lashkari
On 07/11/2011 05:50 AM, Ajay Lashkari wrote:
> Hi All,
>
> when we start the ofbiz,
> it loads framework->applications->specialpurpose and then hot-deploy.
> so please tell me that if there is a way to change the loading order of
> there relevant jar files , from where i can change it?
> if there is any file exist for that configuration please tell me the name of
> it.

If you want to change the order of things that are loaded from
hot-deploy, then just change the name to something that will sort
earlier alphabetically.  Ie:

hot-deploy/foo loads *after* hot-deploy/bar.  hot-deploy/00-foo would
load *before* bar.
Reply | Threaded
Open this post in threaded view
|

Re: Changing the Jar files loading order

Scott Gray-2
On 14/07/2011, at 8:12 AM, Adam Heath wrote:

> On 07/11/2011 05:50 AM, Ajay Lashkari wrote:
>> Hi All,
>>
>> when we start the ofbiz,
>> it loads framework->applications->specialpurpose and then hot-deploy.
>> so please tell me that if there is a way to change the loading order of
>> there relevant jar files , from where i can change it?
>> if there is any file exist for that configuration please tell me the name of
>> it.
>
> If you want to change the order of things that are loaded from hot-deploy, then just change the name to something that will sort earlier alphabetically.  Ie:
>
> hot-deploy/foo loads *after* hot-deploy/bar.  hot-deploy/00-foo would load *before* bar.
Or you can just drop a component-load.xml into the hot-deploy folder and explicitly define the load order.

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

Re: Changing the Jar files loading order

Bruno Busco
Info about that are contained in the README.txt file in the hot-deploy
folder.

-Bruno

2011/7/14 Scott Gray <[hidden email]>

> On 14/07/2011, at 8:12 AM, Adam Heath wrote:
>
> > On 07/11/2011 05:50 AM, Ajay Lashkari wrote:
> >> Hi All,
> >>
> >> when we start the ofbiz,
> >> it loads framework->applications->specialpurpose and then hot-deploy.
> >> so please tell me that if there is a way to change the loading order of
> >> there relevant jar files , from where i can change it?
> >> if there is any file exist for that configuration please tell me the
> name of
> >> it.
> >
> > If you want to change the order of things that are loaded from
> hot-deploy, then just change the name to something that will sort earlier
> alphabetically.  Ie:
> >
> > hot-deploy/foo loads *after* hot-deploy/bar.  hot-deploy/00-foo would
> load *before* bar.
>
> Or you can just drop a component-load.xml into the hot-deploy folder and
> explicitly define the load order.