You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by BJ Freeman <bj...@free-man.net> on 2009/01/26 21:31:08 UTC

svn 737782 decimal waring on compile

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

getting a lot of warning like this
2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
WARNING: Column [CANCEL_QUANTITY] of table [OFBIZ.ORDER_ITEM_CHANGE] of
entity [OrderItemChange] has a decimalDigits of [0] in the database, but
is defined to have a decimalDigits of [6] in the entity definition.

so I guess the fieldtypes need to be updated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJfh2MrP3NbaWWqE4RAgjCAKDOBwqTV9IMfSQ6+FZuscZ0QXTjKQCgrNsk
acxAicpynFzggwpfFqNEshg=
=IaWN
-----END PGP SIGNATURE-----

Re: svn 737782 decimal waring on compile

Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i do my best to read.
I will probably blush afterwards
but can you provide the link.
I don't remember this.

David E Jones sent the following on 1/26/2009 12:44 PM:
> 
> Stop guessing and start investigating. This stuff is even documented (ie
> that updates ONLY create missing tables and columns). Most other changes
> are not safe to do automatically.
> 
> -David
> 
> 
> On Jan 26, 2009, at 1:42 PM, BJ Freeman wrote:
> 
> so that does not happen when the database  update flag is set?
> I guess the update flag is only good to give you warnings?
> Maybe should be renamed to Compare.
> 
> 
> David E Jones sent the following on 1/26/2009 12:35 PM:
>>>>
>>>> On Jan 26, 2009, at 1:31 PM, BJ Freeman wrote:
>>>>
>>>>> getting a lot of warning like this
>>>>> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
>>>>> WARNING: Column [CANCEL_QUANTITY] of table [OFBIZ.ORDER_ITEM_CHANGE] of
>>>>> entity [OrderItemChange] has a decimalDigits of [0] in the database,
>>>>> but
>>>>> is defined to have a decimalDigits of [6] in the entity definition.
>>>>>
>>>>> so I guess the fieldtypes need to be updated.
>>>>
>>>> Or perhaps the fieldtypes have been updated and your database hasn't
>>>> been updated yet.
>>>>
>>>> A few fields like that have been fixed to have the detail they lacked
>>>> before. This is a warning from the entity engine to tell you that your
>>>> database meta data (table defs, etc) needs to be updated to match the
>>>> newer code.
>>>>
>>>> -David
>>>>
>>>>
>>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJfiSprP3NbaWWqE4RAmkhAJ4iui70/VmT2vPkIP9zTedQW5Xa5gCcCXh3
7sZoBFt4INUbeHBcSxIaclQ=
=h8Wn
-----END PGP SIGNATURE-----

Re: svn 737782 decimal waring on compile

Posted by David E Jones <da...@hotwaxmedia.com>.
Stop guessing and start investigating. This stuff is even documented  
(ie that updates ONLY create missing tables and columns). Most other  
changes are not safe to do automatically.

-David


On Jan 26, 2009, at 1:42 PM, BJ Freeman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> so that does not happen when the database  update flag is set?
> I guess the update flag is only good to give you warnings?
> Maybe should be renamed to Compare.
>
>
> David E Jones sent the following on 1/26/2009 12:35 PM:
>>
>> On Jan 26, 2009, at 1:31 PM, BJ Freeman wrote:
>>
>>> getting a lot of warning like this
>>> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
>>> WARNING: Column [CANCEL_QUANTITY] of table  
>>> [OFBIZ.ORDER_ITEM_CHANGE] of
>>> entity [OrderItemChange] has a decimalDigits of [0] in the  
>>> database, but
>>> is defined to have a decimalDigits of [6] in the entity definition.
>>>
>>> so I guess the fieldtypes need to be updated.
>>
>> Or perhaps the fieldtypes have been updated and your database hasn't
>> been updated yet.
>>
>> A few fields like that have been fixed to have the detail they lacked
>> before. This is a warning from the entity engine to tell you that  
>> your
>> database meta data (table defs, etc) needs to be updated to match the
>> newer code.
>>
>> -David
>>
>>
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJfiAvrP3NbaWWqE4RAjwHAJ47TiLthsluKbwerYgYdo9Gtwh1EACgoUsi
> xj87VBiH7GQWzCwPKPe7c78=
> =UzkZ
> -----END PGP SIGNATURE-----


Re: svn 737782 decimal waring on compile

Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

so that does not happen when the database  update flag is set?
I guess the update flag is only good to give you warnings?
Maybe should be renamed to Compare.


David E Jones sent the following on 1/26/2009 12:35 PM:
> 
> On Jan 26, 2009, at 1:31 PM, BJ Freeman wrote:
> 
>> getting a lot of warning like this
>> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
>> WARNING: Column [CANCEL_QUANTITY] of table [OFBIZ.ORDER_ITEM_CHANGE] of
>> entity [OrderItemChange] has a decimalDigits of [0] in the database, but
>> is defined to have a decimalDigits of [6] in the entity definition.
>>
>> so I guess the fieldtypes need to be updated.
> 
> Or perhaps the fieldtypes have been updated and your database hasn't
> been updated yet.
> 
> A few fields like that have been fixed to have the detail they lacked
> before. This is a warning from the entity engine to tell you that your
> database meta data (table defs, etc) needs to be updated to match the
> newer code.
> 
> -David
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJfiAvrP3NbaWWqE4RAjwHAJ47TiLthsluKbwerYgYdo9Gtwh1EACgoUsi
xj87VBiH7GQWzCwPKPe7c78=
=UzkZ
-----END PGP SIGNATURE-----

Re: svn 737782 decimal waring on compile

Posted by David E Jones <da...@hotwaxmedia.com>.
On Jan 26, 2009, at 1:31 PM, BJ Freeman wrote:

> getting a lot of warning like this
> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
> WARNING: Column [CANCEL_QUANTITY] of table [OFBIZ.ORDER_ITEM_CHANGE]  
> of
> entity [OrderItemChange] has a decimalDigits of [0] in the database,  
> but
> is defined to have a decimalDigits of [6] in the entity definition.
>
> so I guess the fieldtypes need to be updated.

Or perhaps the fieldtypes have been updated and your database hasn't  
been updated yet.

A few fields like that have been fixed to have the detail they lacked  
before. This is a warning from the entity engine to tell you that your  
database meta data (table defs, etc) needs to be updated to match the  
newer code.

-David


Re: svn 737782 compile error

Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

if this is the svn then why should I know this.
I mean should not the compile script take this into account?

David E Jones sent the following on 1/26/2009 12:36 PM:
> 
> This is a common issue with persisted sessions and serialized Java
> objects. Google (or a good Java reference or tutorial book) will yield
> the wisdom you seek.
> 
> -David
> 
> 
> On Jan 26, 2009, at 1:33 PM, BJ Freeman wrote:
> 
> 2009-01-26 12:28:25,828 (main) [    StandardManager.java:412:ERROR]
> IOException while loading persisted sessions:
> java.io.InvalidClassException:
> org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
> stream classdesc serialVersionUID = -7555051868591010104, local class
> serialVersionUID = 1149866168308071606
> java.io.InvalidClassException:
> org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
> stream classdesc serialVersionUID = -7555051868591010104, local class
> serialVersionUID = 1149866168308071606
> 
> 
> BJ Freeman sent the following on 1/26/2009 12:31 PM:
>>>> getting a lot of warning like this
>>>> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
>>>> WARNING: Column [CANCEL_QUANTITY] of table [OFBIZ.ORDER_ITEM_CHANGE] of
>>>> entity [OrderItemChange] has a decimalDigits of [0] in the database, but
>>>> is defined to have a decimalDigits of [6] in the entity definition.
>>>>
>>>> so I guess the fieldtypes need to be updated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJfiDnrP3NbaWWqE4RAnilAKDJeyF/fhdovwOd8HnIfsIhopiIcgCfThFs
DoPLzQGbis9sU1r+u5l+yJs=
=eNqy
-----END PGP SIGNATURE-----

Re: svn 737782 compile error

Posted by David E Jones <da...@hotwaxmedia.com>.
This is a common issue with persisted sessions and serialized Java  
objects. Google (or a good Java reference or tutorial book) will yield  
the wisdom you seek.

-David


On Jan 26, 2009, at 1:33 PM, BJ Freeman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 2009-01-26 12:28:25,828 (main) [    StandardManager.java:412:ERROR]
> IOException while loading persisted sessions:
> java.io.InvalidClassException:
> org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
> stream classdesc serialVersionUID = -7555051868591010104, local class
> serialVersionUID = 1149866168308071606
> java.io.InvalidClassException:
> org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
> stream classdesc serialVersionUID = -7555051868591010104, local class
> serialVersionUID = 1149866168308071606
>
>
> BJ Freeman sent the following on 1/26/2009 12:31 PM:
>> getting a lot of warning like this
>> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
>> WARNING: Column [CANCEL_QUANTITY] of table  
>> [OFBIZ.ORDER_ITEM_CHANGE] of
>> entity [OrderItemChange] has a decimalDigits of [0] in the  
>> database, but
>> is defined to have a decimalDigits of [6] in the entity definition.
>>
>> so I guess the fieldtypes need to be updated.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJfh4lrP3NbaWWqE4RArPXAJ49WvCIakLC+A/0QiLaWHA4NL2rSwCeLO5Q
> z7AlxuxMyUsucz8ue2ae0Ns=
> =xr0m
> -----END PGP SIGNATURE-----


Re: svn 737782 runtime errors

Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



2009-01-26 12:28:34,125 (main) [    StandardManager.java:412:ERROR]
IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.ofbiz.webtools.artifactinfo.ControllerRequestArtifactInfo
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.ofbiz.webtools.artifactinfo.ControllerRequestArtifactInfo

BJ Freeman sent the following on 1/26/2009 12:33 PM:
> 2009-01-26 12:28:25,828 (main) [    StandardManager.java:412:ERROR]
> IOException while loading persisted sessions:
> java.io.InvalidClassException:
> org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
> stream classdesc serialVersionUID = -7555051868591010104, local class
> serialVersionUID = 1149866168308071606
> java.io.InvalidClassException:
> org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
> stream classdesc serialVersionUID = -7555051868591010104, local class
> serialVersionUID = 1149866168308071606
> 
> 
> BJ Freeman sent the following on 1/26/2009 12:31 PM:
>> getting a lot of warning like this
>> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
>> WARNING: Column [CANCEL_QUANTITY] of table [OFBIZ.ORDER_ITEM_CHANGE] of
>> entity [OrderItemChange] has a decimalDigits of [0] in the database, but
>> is defined to have a decimalDigits of [6] in the entity definition.
> 
>> so I guess the fieldtypes need to be updated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJfh97rP3NbaWWqE4RAvxnAKC/9VIYMNrZNltfJOr4YLNR3tg2eACg0nZI
n27YagKufyvJ+9vadRw0C3s=
=sY+l
-----END PGP SIGNATURE-----

Re: svn 737782 compile error

Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

2009-01-26 12:28:25,828 (main) [    StandardManager.java:412:ERROR]
IOException while loading persisted sessions:
java.io.InvalidClassException:
org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
stream classdesc serialVersionUID = -7555051868591010104, local class
serialVersionUID = 1149866168308071606
java.io.InvalidClassException:
org.ofbiz.order.shoppingcart.ShoppingCart; local class incompatible:
stream classdesc serialVersionUID = -7555051868591010104, local class
serialVersionUID = 1149866168308071606


BJ Freeman sent the following on 1/26/2009 12:31 PM:
> getting a lot of warning like this
> 2009-01-26 12:23:43,062 (main) [       DatabaseUtil.java:279:WARN ]
> WARNING: Column [CANCEL_QUANTITY] of table [OFBIZ.ORDER_ITEM_CHANGE] of
> entity [OrderItemChange] has a decimalDigits of [0] in the database, but
> is defined to have a decimalDigits of [6] in the entity definition.
> 
> so I guess the fieldtypes need to be updated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJfh4lrP3NbaWWqE4RArPXAJ49WvCIakLC+A/0QiLaWHA4NL2rSwCeLO5Q
z7AlxuxMyUsucz8ue2ae0Ns=
=xr0m
-----END PGP SIGNATURE-----