You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Ravi Kumar <ra...@gmail.com> on 2009/05/19 08:12:11 UTC
Disable a application
Hi,
How to disable a application in webtool.
I command few modules in component-load.xml, but i cant start the Ofbiz
application.
2009-05-18 16:26:26,578 (main) [ ModelViewEntity.java:446:WARN ] No
member found for aliasName - RT
java.lang.RuntimeException: Cannot create View Entity: No member found for
aliasName - RT
at
org.ofbiz.entity.model.ModelViewEntity.getOrCreateModelConversion(ModelViewEntity.java:447)
at
org.ofbiz.entity.model.ModelViewEntity.populateReverseLinks(ModelViewEntity.java:491)
at
org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:334)
at
org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)
at
org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:246)
at
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
at
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:170)
at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
at org.ofbiz.base.start.Start.init(Start.java:97)
at org.ofbiz.base.start.Start.main(Start.java:406)
Please help me to disable few modules.
Thanks in advanced.
Ravi
Re: Disable a application
Posted by David E Jones <da...@hotwaxmedia.com>.
Then just do what I recommended in my previous email... it isn't any
of those other options you listed.
-David
On May 19, 2009, at 12:32 AM, Ravi Kumar wrote:
> All related topics are very old, but I tried all the options given
> in archives.
> Delete application folders, command few modules in component-
> load.xml, i got same error.
>
> I need to disable all applications without order manager.
>
> Bz i want order management system itself from ofbiz.
>
> Please help to me
>
> Thanks
> Ravi
>
> On Tue, May 19, 2009 at 11:50 AM, David E Jones <david.jones@hotwaxmedia.com
> > wrote:
>
> Unless you want to do major refactoring it's best to disable webapps
> and not entire components (can be done in the various ofbiz-
> component.xml files).
>
> If you are interested in reasons for this there have been a number
> of discussions that you can find by searching the mailing list
> archives (or on nabble).
>
> On a side note, because this relates to the use of OFBiz and not the
> development of the software in the project this sort of question
> should go on the user mailing list instead of the dev one.
>
> -David
>
>
>
> On May 19, 2009, at 12:12 AM, Ravi Kumar wrote:
>
> Hi,
>
> How to disable a application in webtool.
>
> I command few modules in component-load.xml, but i cant start the
> Ofbiz
> application.
>
> 2009-05-18 16:26:26,578 (main) [ ModelViewEntity.java:446:WARN ] No
> member found for aliasName - RT
> java.lang.RuntimeException: Cannot create View Entity: No member
> found for
> aliasName - RT
> at
> org
> .ofbiz
> .entity
> .model
> .ModelViewEntity.getOrCreateModelConversion(ModelViewEntity.java:447)
> at
> org
> .ofbiz
> .entity
> .model.ModelViewEntity.populateReverseLinks(ModelViewEntity.java:491)
> at
> org
> .ofbiz
> .entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:334)
> at
> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:
> 270)
> at
> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
> at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:
> 246)
> at
> org
> .ofbiz
> .entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:
> 141)
> at
> org
> .ofbiz
> .catalina.container.CatalinaContainer.init(CatalinaContainer.java:170)
> at
> org
> .ofbiz
> .base.container.ContainerLoader.loadContainer(ContainerLoader.java:
> 190)
> at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
> at org.ofbiz.base.start.Start.init(Start.java:97)
> at org.ofbiz.base.start.Start.main(Start.java:406)
>
>
> Please help me to disable few modules.
>
> Thanks in advanced.
>
> Ravi
>
>
Re: Disable a application
Posted by Ján Valkovič <ya...@samsonzv.sk>.
Hi,
it's not possible disable all modules except one. But you can hide
module tab and then disallow permission to it (only for users!!!).
Add app-bar-display="false" to ofbiz-component.xml
For example:
<webapp name="party"
title="Party"
server="default-server"
location="webapp/partymgr"
base-permission="OFBTOOLS,PARTYMGR"
mount-point="/partymgr"
app-bar-display="false"/>
Security settings are here
https://[your server]/partymgr/control/FindSecurityGroup
ya
Dňa Ut, 2009-05-19 o 12:02 +0530, Ravi Kumar napísal:
> All related topics are very old, but I tried all the options given in
> archives.
> Delete application folders, command few modules in component-load.xml,
> i got same error.
>
> I need to disable all applications without order manager.
>
> Bz i want order management system itself from ofbiz.
>
> Please help to me
>
> Thanks
> Ravi
>
> On Tue, May 19, 2009 at 11:50 AM, David E Jones
> <da...@hotwaxmedia.com> wrote:
>
> Unless you want to do major refactoring it's best to disable
> webapps and not entire components (can be done in the various
> ofbiz-component.xml files).
>
> If you are interested in reasons for this there have been a
> number of discussions that you can find by searching the
> mailing list archives (or on nabble).
>
> On a side note, because this relates to the use of OFBiz and
> not the development of the software in the project this sort
> of question should go on the user mailing list instead of the
> dev one.
>
> -David
>
>
>
>
> On May 19, 2009, at 12:12 AM, Ravi Kumar wrote:
>
> Hi,
>
> How to disable a application in webtool.
>
> I command few modules in component-load.xml, but i
> cant start the Ofbiz
> application.
>
> 2009-05-18 16:26:26,578 (main) [
> ModelViewEntity.java:446:WARN ] No
> member found for aliasName - RT
> java.lang.RuntimeException: Cannot create View Entity:
> No member found for
> aliasName - RT
> at
> org.ofbiz.entity.model.ModelViewEntity.getOrCreateModelConversion(ModelViewEntity.java:447)
> at
> org.ofbiz.entity.model.ModelViewEntity.populateReverseLinks(ModelViewEntity.java:491)
> at
> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:334)
> at
> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)
> at
> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
> at
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:246)
> at
> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
> at
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:170)
> at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
> at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
> at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
> at org.ofbiz.base.start.Start.init(Start.java:97)
> at org.ofbiz.base.start.Start.main(Start.java:406)
>
>
> Please help me to disable few modules.
>
> Thanks in advanced.
>
> Ravi
>
>
>
Re: Disable a application
Posted by Ravi Kumar <ra...@gmail.com>.
All related topics are very old, but I tried all the options given in
archives.
Delete application folders, command few modules in component-load.xml, i got
same error.
I need to disable all applications without order manager.
Bz i want order management system itself from ofbiz.
Please help to me [?]
Thanks
Ravi
On Tue, May 19, 2009 at 11:50 AM, David E Jones <david.jones@hotwaxmedia.com
> wrote:
>
> Unless you want to do major refactoring it's best to disable webapps and
> not entire components (can be done in the various ofbiz-component.xml
> files).
>
> If you are interested in reasons for this there have been a number of
> discussions that you can find by searching the mailing list archives (or on
> nabble).
>
> On a side note, because this relates to the use of OFBiz and not the
> development of the software in the project this sort of question should go
> on the user mailing list instead of the dev one.
>
> -David
>
>
>
> On May 19, 2009, at 12:12 AM, Ravi Kumar wrote:
>
> Hi,
>>
>> How to disable a application in webtool.
>>
>> I command few modules in component-load.xml, but i cant start the Ofbiz
>> application.
>>
>> 2009-05-18 16:26:26,578 (main) [ ModelViewEntity.java:446:WARN ] No
>> member found for aliasName - RT
>> java.lang.RuntimeException: Cannot create View Entity: No member found for
>> aliasName - RT
>> at
>>
>> org.ofbiz.entity.model.ModelViewEntity.getOrCreateModelConversion(ModelViewEntity.java:447)
>> at
>>
>> org.ofbiz.entity.model.ModelViewEntity.populateReverseLinks(ModelViewEntity.java:491)
>> at
>>
>> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:334)
>> at
>> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)
>> at
>> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
>> at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:246)
>> at
>>
>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
>> at
>>
>> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:170)
>> at
>>
>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>> at
>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
>> at org.ofbiz.base.start.Start.init(Start.java:97)
>> at org.ofbiz.base.start.Start.main(Start.java:406)
>>
>>
>> Please help me to disable few modules.
>>
>> Thanks in advanced.
>>
>> Ravi
>>
>
>
Re: Disable a application
Posted by David E Jones <da...@hotwaxmedia.com>.
Unless you want to do major refactoring it's best to disable webapps
and not entire components (can be done in the various ofbiz-
component.xml files).
If you are interested in reasons for this there have been a number of
discussions that you can find by searching the mailing list archives
(or on nabble).
On a side note, because this relates to the use of OFBiz and not the
development of the software in the project this sort of question
should go on the user mailing list instead of the dev one.
-David
On May 19, 2009, at 12:12 AM, Ravi Kumar wrote:
> Hi,
>
> How to disable a application in webtool.
>
> I command few modules in component-load.xml, but i cant start the
> Ofbiz
> application.
>
> 2009-05-18 16:26:26,578 (main) [ ModelViewEntity.java:446:WARN ] No
> member found for aliasName - RT
> java.lang.RuntimeException: Cannot create View Entity: No member
> found for
> aliasName - RT
> at
> org
> .ofbiz
> .entity
> .model
> .ModelViewEntity.getOrCreateModelConversion(ModelViewEntity.java:447)
> at
> org
> .ofbiz
> .entity
> .model.ModelViewEntity.populateReverseLinks(ModelViewEntity.java:491)
> at
> org
> .ofbiz
> .entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:334)
> at
> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:
> 270)
> at
> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
> at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:
> 246)
> at
> org
> .ofbiz
> .entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:
> 141)
> at
> org
> .ofbiz
> .catalina.container.CatalinaContainer.init(CatalinaContainer.java:170)
> at
> org
> .ofbiz
> .base.container.ContainerLoader.loadContainer(ContainerLoader.java:
> 190)
> at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
> at org.ofbiz.base.start.Start.init(Start.java:97)
> at org.ofbiz.base.start.Start.main(Start.java:406)
>
>
> Please help me to disable few modules.
>
> Thanks in advanced.
>
> Ravi