i have commented like--
<!-- <load-component
component-location="${ofbiz.home}/applications/workeffort"/> -->
Vinod Kashyap wrote:
>
> YES..
>
>
> BJ Freeman wrote:
>>
>> did you comment it out this way
>>
>> <!--load-component
>> component-location="${ofbiz.home}/applications/workeffort"/-->
>>
>> Vinod Kashyap sent the following on 9/27/2007 6:36 AM:
>>> if I comment out say..
>>>
>>> "<load-component
>>> component-location="${ofbiz.home}/applications/workeffort"/>"
>>>
>>>
>>> from component-load.xml file then the ant run command doesn't work
>>> properly.
>>>> -(
>>>
>>> Instead of running the server, it exits like.--
>>>
>>>
>>> [java] 2007-09-27 18:51:05,390 (main) [ ModelViewEntity.java:461:WARN
>>> ]
>>> Conversion for complex-alias needs to be implemented for cache and
>>> in-memory
>>> eval stuff to work correctly, will not work for alias: quantityOpen of
>>> view-entity OrderItemQuantityReportGroupByProduct
>>> [java] 2007-09-27 18:51:05,401 (main) [
>>> ModelViewEntity.java:311:ERROR] [ModelViewEntity.populateFields] ERROR:
>>> could not find ModelEntity for entity name: WorkEffort
>>> [java] java.lang.NullPointerException
>>> [java] at
>>> org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:319)
>>> [java] at
>>> org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:391)
>>> [java] at
>>> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:328)
>>> [java] at
>>> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:269)
>>> [java] at
>>> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:96)
>>> [java] at
>>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:140)
>>> [java] at
>>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:116)
>>> [java] at
>>> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:165)
>>> [java] at
>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:171)
>>> [java] at
>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:67)
>>> [java] at
>>> org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
>>> [java] at org.ofbiz.base.start.Start.init(Start.java:87)
>>> [java] at org.ofbiz.base.start.Start.main(Start.java:403)
>>> [java] Java Result: 99
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 18 seconds
>>>
>>>
>>>
>>> BJ Freeman wrote:
>>>> clarification:
>>>> are you saying the tables get recreated if you have comment out the
>>>> components from the component-load.xml
>>>> or are you looking at tables that the framework creates.
>>>>
>>>> Vinod Kashyap sent the following on 9/27/2007 1:24 AM:
>>>>> Yes I am only using the framework.
>>>>> I don't want the unneccessory tables to be created and/or loaded when
>>>>> we
>>>>> give ant command.
>>>>>
>>>>> by simply modifying the component-load.xml won't load the components,
>>>>> but
>>>>> tables are still there.
>>>>>
>>>>> if you delete the tables and also modify the xml file, it also gives
>>>>> an
>>>>> error.
>>>>>
>>>>> Please guide.
>>>>> I am in great need.
>>>>>
>>>>> Thanks for your reply.
>>>>> If you need to have more info then also do write me back.
>>>>>
>>>>> Ajay Sodhi..
>>>>>
>>>>> BJ Freeman wrote:
>>>>>> not enough information to help
>>>>>> how are you only using the login modules.
>>>>>> are you just using the framework, not the applications.
>>>>>> if you so then you need to take the applications out of the
>>>>>> component-load.xml.
>>>>>>
>>>>>> Vinod Kashyap sent the following on 9/26/2007 11:40 PM:
>>>>>>> hi..
>>>>>>>
>>>>>>> I want to delete all those default OFBiz tables which are not in use
>>>>>>> for
>>>>>>> my
>>>>>>> project.
>>>>>>>
>>>>>>> if i delete any table, then i get error messages.
>>>>>>>
>>>>>>> How we can recognize the tables and/or modules which are not used in
>>>>>>> the
>>>>>>> project, and the way to delete them, in order to make the size of
>>>>>>> project
>>>>>>> as
>>>>>>> small as possible.
>>>>>>>
>>>>>>> As per my knowledge, i am using only the login/logout
>>>>>>> module(s)/table(s)
>>>>>>> of
>>>>>>> OFBiz
>>>>>>>
>>>>>>> Please guide me with your expert knowledge, ASAP (As Soon As
>>>>>>> Possible).
>>>>>>>
>>>>>>> Thanks..
>>>>>>>
>>>>>>> Ajay Sodhi..
>>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/How-To-DELETE-DEFAULT-TABLES-COMPONENTS-of-OFBiz..---tf4526680.html#a12936113
Sent from the OFBiz - User mailing list archive at Nabble.com.