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 |
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-----
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 |
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.GenericDispatcher.<init>(GenericDispatcher.java:46) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j 2006/1/31, Vinay Agarwal <[hidden email]>:
-- / ** Вадим К. **/ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
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 |
Free forum by Nabble | Edit this page |