I'm getting the following error when in run ant run-install:
[java] 2009-09-02 17:09:16,853 (main) [ DelegatorImpl.java:169:INFO ] Doing entity definition check... [java] 2009-09-02 17:09:16,869 (main) [ ModelEntityChecker.java:501:INFO ] [initReservedWords] array length=1023 [java] Exception in thread "main" java.lang.NullPointerException [java] at org.ofbiz.entity.DelegatorImpl.getEntityFieldType(DelegatorImpl.java:1480) [java] at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) [java] at org.ofbiz.entity.DelegatorImpl.<init>(DelegatorImpl.java:171) [java] at org.ofbiz.entity.DelegatorFactory.getGenericDelegator(DelegatorFactory.java:40) [java] at org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:228) [java] at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101) [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) [java] at org.ofbiz.base.start.Start.startServer(Start.java:322) [java] at org.ofbiz.base.start.Start.start(Start.java:326) [java] at org.ofbiz.base.start.Start.main(Start.java:409) [java] 2009-09-02 17:09:16,978 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:114:INFO ] Shutting down containers [java] Java Result: 1 Anybody have ideas on the cause? Thanks. |
What changes have you made to the entityengine.xml file?
Regards Scott HotWax Media http://www.hotwaxmedia.com On 3/09/2009, at 12:16 PM, exmbly wrote: > > I'm getting the following error when in run ant run-install: > > [java] 2009-09-02 17:09:16,853 (main) [ DelegatorImpl.java: > 169:INFO ] > Doing entity definition check... > [java] 2009-09-02 17:09:16,869 (main) [ > ModelEntityChecker.java:501:INFO ] [initReservedWords] array > length=1023 > [java] Exception in thread "main" java.lang.NullPointerException > [java] at > org.ofbiz.entity.DelegatorImpl.getEntityFieldType(DelegatorImpl.java: > 1480) > [java] at > org > .ofbiz > .entity > .model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) > [java] at > org.ofbiz.entity.DelegatorImpl.<init>(DelegatorImpl.java:171) > [java] at > org > .ofbiz > .entity.DelegatorFactory.getGenericDelegator(DelegatorFactory.java:40) > [java] at > org > .ofbiz > .entityext > .data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:228) > [java] at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: > 101) > [java] at > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > [java] at org.ofbiz.base.start.Start.startServer(Start.java:322) > [java] at org.ofbiz.base.start.Start.start(Start.java:326) > [java] at org.ofbiz.base.start.Start.main(Start.java:409) > [java] 2009-09-02 17:09:16,978 (OFBiz_Shutdown_Hook) [ > ContainerLoader.java:114:INFO ] Shutting down containers > [java] Java Result: 1 > > Anybody have ideas on the cause? > Thanks. > -- > View this message in context: http://www.nabble.com/entity-definition-check-error-on-installation-tp25267853p25267853.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > smime.p7s (3K) Download Attachment |
Scott,
Here's my delegators. I set things to localmysql datasourc and commented out the olap stuff. I wasn't sure about the default-no-eca so I changed that to localmysql datasource as well. Same for test. <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false"> <group-map group-name="org.ofbiz" datasource-name="localmysql"/> </delegator> <delegator name="default-no-eca" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" entity-eca-enabled="false" distributed-cache-clear-enabled="false"> <group-map group-name="org.ofbiz" datasource-name="localmysql"/> </delegator> <delegator name="test" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main"> <group-map group-name="org.ofbiz" datasource-name="localmysql"/> </delegator> <delegator name="other" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main"> <group-map group-name="org.ofbiz" datasource-name="localpostgres"/> </delegator> The only other change I made was to the localmysql datasource inline-jdbc element to point to my instance of MySQL with my username and password. I created the ofbiz schema in MySQL as well. <inline-jdbc jdbc-driver="com.mysql.jdbc.Driver" jdbc-uri="jdbc:mysql://127.0.0.1/ofbiz?autoReconnect=true" jdbc-username="<myusername>" jdbc-password="<mypassword>" isolation-level="ReadCommitted" pool-minsize="2" pool-maxsize="250"/> Do you think I did something wrong here? Thanks for your help. Glenn...
|
Free forum by Nabble | Edit this page |