A good practice to follow is to check the online demo - which is built
every night: https://demo.hotwaxmedia.com/catalog/control/main If the problem doesn't exist in the online demo, then there is a chance there is something wrong with your local copy. Try doing a fresh SVN checkout, or on an existing copy run ant clean-all and ant run-install. Also, this type of message should be posted on the user mailing list. -Adrian Ritesh Trivedi wrote: > Here is the exception stacktrace > > Exception: java.lang.Exception > Message: Error in simple-method [Get visual theme resources > [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: > ; [Visual Theme resources not found.] > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception: Error in simple-method [Get visual theme resources > [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: > ; [Visual Theme resources not found.] > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) > org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.java:473) > org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:217) > |
I did do clean build with ant clean-all and ant.
Dug little further and I dont see VisualTheme* tables in the db and I have check-on-start="true" add-missing-on-start="true" Any clue why?
|
look to see if the entity for visualthemes is there.
Ritesh Trivedi sent the following on 10/22/2008 10:46 AM: > I did do clean build with ant clean-all and ant. > > Dug little further and I dont see VisualTheme* tables in the db and I have > check-on-start="true" > add-missing-on-start="true" > Any clue why? > > > > > Adrian Crum wrote: >> A good practice to follow is to check the online demo - which is built >> every night: https://demo.hotwaxmedia.com/catalog/control/main >> >> If the problem doesn't exist in the online demo, then there is a chance >> there is something wrong with your local copy. >> >> Try doing a fresh SVN checkout, or on an existing copy run ant clean-all >> and ant run-install. >> >> Also, this type of message should be posted on the user mailing list. >> >> -Adrian >> >> >> Ritesh Trivedi wrote: >>> Here is the exception stacktrace >>> >>> Exception: java.lang.Exception >>> Message: Error in simple-method [Get visual theme resources >>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>> ; [Visual Theme resources not found.] >>> ---- stack trace >>> --------------------------------------------------------------- >>> java.lang.Exception: Error in simple-method [Get visual theme resources >>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>> ; [Visual Theme resources not found.] >>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311) >>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258) >>> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880) >>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) >>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) >>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) >>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) >>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) >>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) >>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) >>> org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.java:473) >>> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:217) >>> >> > |
In reply to this post by Ritesh Trivedi
Check the Enumeration entity for values that have an enumId starting
with VT_. If they don't exist, then your data wasn't loaded. Try running ant run-install again. -Adrian Ritesh Trivedi wrote: > I did do clean build with ant clean-all and ant. > > Dug little further and I dont see VisualTheme* tables in the db and I have > check-on-start="true" > add-missing-on-start="true" > Any clue why? > > > > > Adrian Crum wrote: >> A good practice to follow is to check the online demo - which is built >> every night: https://demo.hotwaxmedia.com/catalog/control/main >> >> If the problem doesn't exist in the online demo, then there is a chance >> there is something wrong with your local copy. >> >> Try doing a fresh SVN checkout, or on an existing copy run ant clean-all >> and ant run-install. >> >> Also, this type of message should be posted on the user mailing list. >> >> -Adrian >> >> >> Ritesh Trivedi wrote: >>> Here is the exception stacktrace >>> >>> Exception: java.lang.Exception >>> Message: Error in simple-method [Get visual theme resources >>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>> ; [Visual Theme resources not found.] >>> ---- stack trace >>> --------------------------------------------------------------- >>> java.lang.Exception: Error in simple-method [Get visual theme resources >>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>> ; [Visual Theme resources not found.] >>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311) >>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258) >>> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880) >>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) >>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) >>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) >>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) >>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) >>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) >>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) >>> org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.java:473) >>> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:217) >>> >> > |
I do have VisualTheme* entities defined under common/entitydef/entitymodel.xml and I do have VT_* entries in the Enumeration table as well. Also I noticed there is no entity-group.xml files for a lot of the ofbiz entitymodel.xml is this normal?
When I run ant run-install-seed, I get bunch of warning which actually also has exceptions, I think those are related to olap - which I have disabled - no olap data group-map entries. I havent looked much into olap and related settings. Is this safe thing to do? do I need olap enabled for ofbiz to run properly?
|
I do not see any entity-group entries for Visual* and a few other tables. Isnt it required?
|
No, entity-group elements are no longer required. All entites default to
the org.ofbiz group. As I said before, the online demo works. If you're having problems, then it's specific to your local copy. A good strategy to follow is to avoid making changes to OFBiz unless you have a very good reason to do so. You should especially avoid changing things you know little about. -Adrian Ritesh Trivedi wrote: > I do not see any entity-group entries for Visual* and a few other tables. > Isnt it required? > > > Ritesh Trivedi wrote: >> I do have VisualTheme* entities defined under >> common/entitydef/entitymodel.xml and I do have VT_* entries in the >> Enumeration table as well. Also I noticed there is no entity-group.xml >> files for a lot of the ofbiz entitymodel.xml is this normal? >> >> When I run ant run-install-seed, I get bunch of warning which actually >> also has exceptions, I think those are related to olap - which I have >> disabled - no olap data group-map entries. I havent looked much into olap >> and related settings. Is this safe thing to do? do I need olap enabled for >> ofbiz to run properly? >> >> >> Adrian Crum wrote: >>> Check the Enumeration entity for values that have an enumId starting >>> with VT_. If they don't exist, then your data wasn't loaded. Try running >>> ant run-install again. >>> >>> -Adrian >>> >>> Ritesh Trivedi wrote: >>>> I did do clean build with ant clean-all and ant. >>>> >>>> Dug little further and I dont see VisualTheme* tables in the db and I >>>> have >>>> check-on-start="true" >>>> add-missing-on-start="true" >>>> Any clue why? >>>> >>>> >>>> >>>> >>>> Adrian Crum wrote: >>>>> A good practice to follow is to check the online demo - which is built >>>>> every night: https://demo.hotwaxmedia.com/catalog/control/main >>>>> >>>>> If the problem doesn't exist in the online demo, then there is a chance >>>>> there is something wrong with your local copy. >>>>> >>>>> Try doing a fresh SVN checkout, or on an existing copy run ant >>>>> clean-all >>>>> and ant run-install. >>>>> >>>>> Also, this type of message should be posted on the user mailing list. >>>>> >>>>> -Adrian >>>>> >>>>> >>>>> Ritesh Trivedi wrote: >>>>>> Here is the exception stacktrace >>>>>> >>>>>> Exception: java.lang.Exception >>>>>> Message: Error in simple-method [Get visual theme resources >>>>>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>>>>> ; [Visual Theme resources not found.] >>>>>> ---- stack trace >>>>>> --------------------------------------------------------------- >>>>>> java.lang.Exception: Error in simple-method [Get visual theme >>>>>> resources >>>>>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>>>>> ; [Visual Theme resources not found.] >>>>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311) >>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258) >>>>>> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880) >>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) >>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) >>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) >>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) >>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) >>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) >>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) >>>>>> org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.java:473) >>>>>> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) >>>>>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:217) >>>>>> >>> >> > |
In reply to this post by Ritesh Trivedi
this things have been discussed in the dev ml.
if your subscribe go back a month or two. Ritesh Trivedi sent the following on 10/22/2008 11:14 AM: > I do have VisualTheme* entities defined under > common/entitydef/entitymodel.xml and I do have VT_* entries in the > Enumeration table as well. Also I noticed there is no entity-group.xml files > for a lot of the ofbiz entitymodel.xml is this normal? > > When I run ant run-install-seed, I get bunch of warning which actually also > has exceptions, I think those are related to olap - which I have disabled - > no olap data group-map entries. I havent looked much into olap and related > settings. Is this safe thing to do? do I need olap enabled for ofbiz to run > properly? > > > Adrian Crum wrote: >> Check the Enumeration entity for values that have an enumId starting >> with VT_. If they don't exist, then your data wasn't loaded. Try running >> ant run-install again. >> >> -Adrian >> >> Ritesh Trivedi wrote: >>> I did do clean build with ant clean-all and ant. >>> >>> Dug little further and I dont see VisualTheme* tables in the db and I >>> have >>> check-on-start="true" >>> add-missing-on-start="true" >>> Any clue why? >>> >>> >>> >>> >>> Adrian Crum wrote: >>>> A good practice to follow is to check the online demo - which is built >>>> every night: https://demo.hotwaxmedia.com/catalog/control/main >>>> >>>> If the problem doesn't exist in the online demo, then there is a chance >>>> there is something wrong with your local copy. >>>> >>>> Try doing a fresh SVN checkout, or on an existing copy run ant clean-all >>>> and ant run-install. >>>> >>>> Also, this type of message should be posted on the user mailing list. >>>> >>>> -Adrian >>>> >>>> >>>> Ritesh Trivedi wrote: >>>>> Here is the exception stacktrace >>>>> >>>>> Exception: java.lang.Exception >>>>> Message: Error in simple-method [Get visual theme resources >>>>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>>>> ; [Visual Theme resources not found.] >>>>> ---- stack trace >>>>> --------------------------------------------------------------- >>>>> java.lang.Exception: Error in simple-method [Get visual theme resources >>>>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>>>> ; [Visual Theme resources not found.] >>>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311) >>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258) >>>>> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880) >>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) >>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) >>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) >>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) >>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) >>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) >>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) >>>>> org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.java:473) >>>>> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) >>>>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:217) >>>>> >> > |
In reply to this post by Adrian Crum
I know see the tables created. I ran ant run-install-seed couple of times. Not sure what the issue was.
Appreciate the responses, keeping in mind its open source, ppl respond but they dont have to etc... but not sure what gave the impression that 1. I had modified the ofbiz sources and 2. even if I did, I didnt have any good reason. I think its fair to assume that ofbiz-users would atleast know the implications of modifying sources and fact that if they modify the source, it will be very difficult to get support as well as maintain unless the changes were submitted back to trunk as patches - atleast in most cases.
|
Ritesh Trivedi wrote:
> Appreciate the responses, keeping in mind its open source, ppl respond but > they dont have to etc... but not sure what gave the impression that 1. I had > modified the ofbiz sources and 2. even if I did, I didnt have any good > reason. From one of your replies: "When I run ant run-install-seed, I get bunch of warning which actually also has exceptions, I think those are related to olap - which I have disabled - no olap data group-map entries. I havent looked much into olap and related settings. Is this safe thing to do? do I need olap enabled for ofbiz to run properly?" -Adrian |
Free forum by Nabble | Edit this page |