Users - Totally disable application

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

Users - Totally disable application

Вадим K.
Hello all,
 
   May be this is stupid question, but: Is there any easy (one click) way to disable some applications? For example, I don't use HR or Ecommerce and want to switch them off totally (preventing unnecessary class loading). I know how to disable application view (from Party Manager), so this is not the case.
 
Thank you,

--
/ ** Вадим К. **/

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Totally disable application

Vinay Agarwal

Really easy to do. Applications directory has component-load.xml file which has the following statements:

 

<component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/component-loader.xsd">

 

    <load-component component-location="${ofbiz.home}/applications/party"/>

    <load-component component-location="${ofbiz.home}/applications/securityext"/>

    <load-component component-location="${ofbiz.home}/applications/content"/>

    <load-component component-location="${ofbiz.home}/applications/workeffort"/>

    <load-component component-location="${ofbiz.home}/applications/humanres"/>

    <load-component component-location="${ofbiz.home}/applications/product"/>

    <load-component component-location="${ofbiz.home}/applications/manufacturing"/>

    <load-component component-location="${ofbiz.home}/applications/accounting"/>

    <load-component component-location="${ofbiz.home}/applications/order"/>

    <load-component component-location="${ofbiz.home}/applications/marketing"/>

    <load-component component-location="${ofbiz.home}/applications/ecommerce"/>

    <load-component component-location="${ofbiz.home}/applications/pos"/>

</component-loader>

 

If you simply comment out the applications that you don’t need, they won’t load.

 

Regards,

Vinay Agarwal

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Âàäèì K.
Sent: Tuesday, January 31, 2006 1:14 AM
To: OFBiz Users / Usage Discussion
Subject: [OFBiz] Users - Totally disable application

 

Hello all,

 

   May be this is stupid question, but: Is there any easy (one click) way to disable some applications? For example, I don't use HR or Ecommerce and want to switch them off totally (preventing unnecessary class loading). I know how to disable application view (from Party Manager), so this is not the case.

 

Thank you,


--
/ ** Вадим К. **/


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Totally disable application

Вадим K.
In reply to this post by Вадим K.
No, it is not so simple. I tried that and always have error:
 
(I have commented out POS, HUMANRES and ECOMMERCE)

Exception in thread "main" java.lang.NullPointerException
        at org.ofbiz.service.job.JobManager.reloadCrashedJobs(JobManager.java:20
6)
        at org.ofbiz.service.job.JobPoller.<init>( JobPoller.java:69)
        at org.ofbiz.service.job.JobManager.<init>(JobManager.java:80)
        at org.ofbiz.service.ServiceDispatcher.<init>(ServiceDispatcher.java:109
)
        at org.ofbiz.service.ServiceDispatcher.getInstance (ServiceDispatcher.jav
a:152)
        at org.ofbiz.service.GenericDispatcher.init(GenericDispatcher.java:81)
        at org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:58)

        at org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:46)

        at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j
ava:128)
        at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8
9)
        at org.ofbiz.base.start.Start.startStartLoaders (Start.java:272)
        at org.ofbiz.base.start.Start.startServer(Start.java:323)
        at org.ofbiz.base.start.Start.start(Start.java:327)
        at org.ofbiz.base.start.Start.main(Start.java:413)



 
2006/1/31, Vinay Agarwal <[hidden email]>:

Really easy to do. Applications directory has component-load.xml file which has the following statements:

 

<component-loader xmlns:xsi="<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"> http://www.w3.org/2001/XMLSchema-instance"

        xsi:noNamespaceSchemaLocation="<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.ofbiz.org/dtds/component-loader.xsd" target="_blank"> http://www.ofbiz.org/dtds/component-loader.xsd">

 

    <load-component component-location="${ofbiz.home}/applications/party"/>

    <load-component component-location="${ofbiz.home}/applications/securityext"/>

    <load-component component-location="${ofbiz.home}/applications/content"/>

    <load-component component-location="${ofbiz.home}/applications/workeffort"/>

    <load-component component-location="${ofbiz.home}/applications/humanres"/>

    <load-component component-location="${ofbiz.home}/applications/product"/>

    <load-component component-location="${ofbiz.home}/applications/manufacturing"/>

    <load-component component-location="${ofbiz.home}/applications/accounting"/>

    <load-component component-location="${ofbiz.home}/applications/order"/>

    <load-component component-location="${ofbiz.home}/applications/marketing"/>

    <load-component component-location="${ofbiz.home}/applications/ecommerce"/>

    <load-component component-location="${ofbiz.home}/applications/pos"/>

</component-loader>

 

If you simply comment out the applications that you don't need, they won't load.

 

Regards,

Vinay Agarwal

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Âàäèì K.
Sent: Tuesday, January 31, 2006 1:14 AM
To: OFBiz Users / Usage Discussion
Subject: [OFBiz] Users - Totally disable application

 

Hello all,

 

   May be this is stupid question, but: Is there any easy (one click) way to disable some applications? For example, I don't use HR or Ecommerce and want to switch them off totally (preventing unnecessary class loading). I know how to disable application view (from Party Manager), so this is not the case.

 

Thank you,


--
/ ** Вадим К. **/



_______________________________________________
Users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/users




--
/ ** Вадим К. **/
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Totally disable application

Jacopo Cappellato
Hi Вадим,

not sure but... do not comment the "humanres" component (there are
probably some references to it from other components), just remove the
ecommerce and pos components and it SHOULD work.
If you can, also please get the latest SVN revision (6629) because I've
removed some bad references to the ecommerce component from the order
component.

Jacopo

Вадим K. wrote:
> No, it is not so simple. I tried that and always have error:
>  
> (I have commented out POS, HUMANRES and ECOMMERCE)
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users