when every you get the latest code it is best
to:
ant clean-all if you are using the embedded derby this remove the
database completely.

ant clean removes all jars if you have a separate db you need to clean
which includes removing the tables.

Then do
ant run-install  this rebuilds the code and re-initialized the db your
connected to. This loads the demo data as well.

if you have a production database, then it is best you back it up before
 doing any of this.


SJW sent the following on 5/6/2009 8:27 PM:
> I download the lastest code and ran it against my database, and still get the
> error on adding product content. I created a new database and ran it against
> the same code, and now I can add product content. Is there something in the
> database that can cause this behavior ?
> 
> Thanks
> 
> 
> SJW wrote:
>> The only change I made were to the configuration by setting up data via
>> the administration interface. 
>>
>>
>> BJ Freeman wrote:
>>> what changes if any did you make, like change svn versions.
>>> if so what version is this one.
>>>
>>> SJW sent the following on 5/5/2009 9:46 AM:
>>>> ofBiz was adding product content fine until yesterday but know get the
>>>> foll=
>>>> owing when trying to add or update new product content:
>>>>
>>>>    
>>>> The Following Errors Occurred:
>>>>
>>>>        
>>>> ERROR:
>>>> Could not complete the Update Content For Product
>>>> [file:/Users/swhyte/workspacejbds/mox/applications/product/script/org/ofbiz=
>>>> /product/product/ProductContentServices.xml#updateProductContent]
>>>> process [problem invoking the [updateContent] service with the map
>>>> named [updateContent] containing [{locale=3Den_US,
>>>> timeZone=3Dsun.util.calendar.ZoneInfo[id=3D"America/Chicago",offs=
>>>> et=3D-21600000,dstSavings=3D3600000,useDaylight=3Dtrue,transitions=3D235,la=
>>>> stRule=3Djava.util.SimpleTimeZone[id=3DAmerica/Chicago,offset=3D-21600000,d=
>>>> stSavings=3D3600000,useDaylight=3Dtrue,startYear=3D0,startMode=3D3,startMon=
>>>> th=3D2,startDay=3D8,startDayOfWeek=3D1,startTime=3D7200000,startTimeMode=3D=
>>>> 0,endMode=3D3,endMonth=3D10,endDay=3D1,endDayOfWeek=3D1,endTime=3D7200000,e=
>>>> ndTimeMode=3D0]],
>>>> userLogin=3D[GenericEntity:UserLogin][createdStamp,2009-03-30
>>>> 07:55:13.0(java.sql.Timestamp)][createdTxStamp,2009-03-30
>>>> 07:55:13.0(java.sql.Timestamp)][currentPassword,b8cbeae24d38d56f08b1e57a6bc=
>>>> ce09729f40723(java.lang.String)][disabledDateTime,null()][enabled,Y(java.la=
>>>> ng.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrency=
>>>> Uom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-0=
>>>> 5-01
>>>> 05:02:43.0(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-01
>>>> 05:02:43.0(java.sql.Timestamp)][partyId,10012(java.lang.String)][passwordHi=
>>>> nt,null()][successiveFailedLogins,0(java.lang.Long)][userLoginId,moxiiadmin=
>>>> (java.lang.String)],
>>>> description=3DBeeLine Quilt Set , contentId=3D10096}]: The following
>>>> required parameter is missing: [IN]
>>>> [updateContent.classificationEnumId]The following required parameter is
>>>> missing: [IN] [updateContent.contentName]] calling service
>>>> updateProductContent in updateSimpleTextContentForProduct
>>>> I h=
>>>> ave not updated any code related to this, so I am assuming that this is
>>>> a c=
>>>> onfiguration change that caused this issue. Any help would be greatly
>>>> appre=
>>>> ciated.
>>> -- 
>>> BJ Freeman
>>> http://www.businessesnetwork.com/automation
>>> http://bjfreeman.elance.com
>>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>> Systems Integrator.
>>>
>>>
>>>
>>
> 

-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply via email to