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)
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
Free forum by Nabble | Edit this page |