Mysterious warnings when running ant run-install on iSeries / DB2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Mysterious warnings when running ant run-install on iSeries / DB2

André Herbst
Hi,

When I am running ant run-install, I get a lot of warings like the following:

    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:368:WARN ]
Table named [OFBIZ.ACCOMMODATION_CLASS] exists in the
 database but has no corresponding entity
    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:368:WARN ]
Table named [OFBIZ.ACCOMMODATION_MAP] exists in the
 database but has no corresponding entity
    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:368:WARN ]
Table named [OFBIZ.ACCOMMODATION_MAP_TYPE] exists in
 the database but has no corresponding entity
    [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:368:WARN ]
Table named [OFBIZ.ACCOMMODATION_SPOT] exists in the
 daatabase but has no corresponding entity
    [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:368:WARN ]
Table named [OFBIZ.ACCTG_TRANS] exists in the database
  but has no corresponding entity
    [java] 2009-09-04 12:53:00,046 (main) [       DatabaseUtil.java:368:WARN ]
Table named [OFBIZ.ACCTG_TRANS_ATTRIBUTE] exists in
 the database but has no corresponding entity

Can anybody please help me to explain what these warnings mean?

-André

Reply | Threaded
Open this post in threaded view
|

Re: Mysterious warnings when running ant run-install on iSeries / DB2

Scott Gray-2
My guess is that you are using your main database for olap as well so  
the second delegator is just complaining about all the extra tables  
it's seeing but no harm is caused.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 5/09/2009, at 4:21 AM, André Herbst wrote:

> Hi,
>
> When I am running ant run-install, I get a lot of warings like the  
> following:
>
>    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
> 368:WARN ]
> Table named [OFBIZ.ACCOMMODATION_CLASS] exists in the
> database but has no corresponding entity
>    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
> 368:WARN ]
> Table named [OFBIZ.ACCOMMODATION_MAP] exists in the
> database but has no corresponding entity
>    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
> 368:WARN ]
> Table named [OFBIZ.ACCOMMODATION_MAP_TYPE] exists in
> the database but has no corresponding entity
>    [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:
> 368:WARN ]
> Table named [OFBIZ.ACCOMMODATION_SPOT] exists in the
> daatabase but has no corresponding entity
>    [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:
> 368:WARN ]
> Table named [OFBIZ.ACCTG_TRANS] exists in the database
>  but has no corresponding entity
>    [java] 2009-09-04 12:53:00,046 (main) [       DatabaseUtil.java:
> 368:WARN ]
> Table named [OFBIZ.ACCTG_TRANS_ATTRIBUTE] exists in
> the database but has no corresponding entity
>
> Can anybody please help me to explain what these warnings mean?
>
> -André
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mysterious warnings when running ant run-install on iSeries / DB2

André Herbst
Thanks Scott,

Yes you were right about that. I have defined the following in the
entityengine.xml file:

 <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="localdb2i"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localdb2i"/>
    </delegator>

Is it preferrable not to use the main database for olap?

-André

On Friday den 4. September 2009 18:30:19 Scott Gray wrote:

> My guess is that you are using your main database for olap as well so
> the second delegator is just complaining about all the extra tables
> it's seeing but no harm is caused.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 5/09/2009, at 4:21 AM, André Herbst wrote:
> > Hi,
> >
> > When I am running ant run-install, I get a lot of warings like the
> > following:
> >
> >    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
> > 368:WARN ]
> > Table named [OFBIZ.ACCOMMODATION_CLASS] exists in the
> > database but has no corresponding entity
> >    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
> > 368:WARN ]
> > Table named [OFBIZ.ACCOMMODATION_MAP] exists in the
> > database but has no corresponding entity
> >    [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
> > 368:WARN ]
> > Table named [OFBIZ.ACCOMMODATION_MAP_TYPE] exists in
> > the database but has no corresponding entity
> >    [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:
> > 368:WARN ]
> > Table named [OFBIZ.ACCOMMODATION_SPOT] exists in the
> > daatabase but has no corresponding entity
> >    [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:
> > 368:WARN ]
> > Table named [OFBIZ.ACCTG_TRANS] exists in the database
> >  but has no corresponding entity
> >    [java] 2009-09-04 12:53:00,046 (main) [       DatabaseUtil.java:
> > 368:WARN ]
> > Table named [OFBIZ.ACCTG_TRANS_ATTRIBUTE] exists in
> > the database but has no corresponding entity
> >
> > Can anybody please help me to explain what these warnings mean?
> >
> > -André


Reply | Threaded
Open this post in threaded view
|

Re: Mysterious warnings when running ant run-install on iSeries / DB2

Scott Gray-2
It is preferable but not mandatory.

Regards
Scott

On 5/09/2009, at 9:48 AM, André Herbst wrote:

> Thanks Scott,
>
> Yes you were right about that. I have defined the following in the
> entityengine.xml file:
>
> <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="localdb2i"/>
>        <group-map group-name="org.ofbiz.olap" datasource-
> name="localdb2i"/>
>    </delegator>
>
> Is it preferrable not to use the main database for olap?
>
> -André
>
> On Friday den 4. September 2009 18:30:19 Scott Gray wrote:
>> My guess is that you are using your main database for olap as well so
>> the second delegator is just complaining about all the extra tables
>> it's seeing but no harm is caused.
>>
>> Regards
>> Scott
>>
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> On 5/09/2009, at 4:21 AM, André Herbst wrote:
>>> Hi,
>>>
>>> When I am running ant run-install, I get a lot of warings like the
>>> following:
>>>
>>>   [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
>>> 368:WARN ]
>>> Table named [OFBIZ.ACCOMMODATION_CLASS] exists in the
>>> database but has no corresponding entity
>>>   [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
>>> 368:WARN ]
>>> Table named [OFBIZ.ACCOMMODATION_MAP] exists in the
>>> database but has no corresponding entity
>>>   [java] 2009-09-04 12:53:00,016 (main) [       DatabaseUtil.java:
>>> 368:WARN ]
>>> Table named [OFBIZ.ACCOMMODATION_MAP_TYPE] exists in
>>> the database but has no corresponding entity
>>>   [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:
>>> 368:WARN ]
>>> Table named [OFBIZ.ACCOMMODATION_SPOT] exists in the
>>> daatabase but has no corresponding entity
>>>   [java] 2009-09-04 12:53:00,035 (main) [       DatabaseUtil.java:
>>> 368:WARN ]
>>> Table named [OFBIZ.ACCTG_TRANS] exists in the database
>>> but has no corresponding entity
>>>   [java] 2009-09-04 12:53:00,046 (main) [       DatabaseUtil.java:
>>> 368:WARN ]
>>> Table named [OFBIZ.ACCTG_TRANS_ATTRIBUTE] exists in
>>> the database but has no corresponding entity
>>>
>>> Can anybody please help me to explain what these warnings mean?
>>>
>>> -André
>
>


smime.p7s (3K) Download Attachment