Data loading fails in current trunk r937263

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

Data loading fails in current trunk r937263

Ashish Vijaywargiya
Anyone else observing the same behavior?

 [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
     [java] 2010-04-23 18:02:20,600 (main)
[EntityDataLoadContainer.java:402:INFO ] The following errors occured
in the data load:
     [java] 2010-04-23 18:02:20,600 (main)
[EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
loading XML Resource
"file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
Error was: A transaction error occurred reading data
     [java] 2010-04-23 18:02:20,600 (main)
[EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
loading XML Resource
"file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
Error was: A transaction error occurred reading data
     [java] 2010-04-23 18:02:20,600 (main)
[EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
data load with 14976 rows changed.
     [java] 2010-04-23 18:02:20,600 (main) [
ContainerLoader.java:113:INFO ] Shutting down containers

BUILD SUCCESSFUL
Total time: 2 minutes 26 seconds

--
Ashish
Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Rishi Solanki
Ashish,
Observing same behavior on 937273 and same apply to other threads i.e me to
got the same behavior of ecommerce and partymgr.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com


On Fri, Apr 23, 2010 at 6:19 PM, Ashish Vijaywargiya <
[hidden email]> wrote:

> Anyone else observing the same behavior?
>
>  [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
>
> file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:402:INFO ] The following errors occured
> in the data load:
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
>
> "file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
> Error was: A transaction error occurred reading data
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
>
> "file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
> Error was: A transaction error occurred reading data
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
> data load with 14976 rows changed.
>     [java] 2010-04-23 18:02:20,600 (main) [
> ContainerLoader.java:113:INFO ] Shutting down containers
>
> BUILD SUCCESSFUL
> Total time: 2 minutes 26 seconds
>
> --
> Ashish
>
Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Jacopo Cappellato-4
In reply to this post by Ashish Vijaywargiya
I am not seeing this issue on a fresh checkout.

Jacopo

On Apr 23, 2010, at 2:49 PM, Ashish Vijaywargiya wrote:

> Anyone else observing the same behavior?
>
> [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
> file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:402:INFO ] The following errors occured
> in the data load:
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
> "file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
> Error was: A transaction error occurred reading data
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
> "file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
> Error was: A transaction error occurred reading data
>     [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
> data load with 14976 rows changed.
>     [java] 2010-04-23 18:02:20,600 (main) [
> ContainerLoader.java:113:INFO ] Shutting down containers
>
> BUILD SUCCESSFUL
> Total time: 2 minutes 26 seconds
>
> --
> Ashish

Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Erwan de FERRIERES
In reply to this post by Ashish Vijaywargiya
Le 23/04/2010 14:49, Ashish Vijaywargiya a écrit :
> Anyone else observing the same behavior?
../..
> --
> Ashish
>
which Ant version are you using for compilation ?

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Erwan de FERRIERES
In reply to this post by Ashish Vijaywargiya
Le 23/04/2010 14:49, Ashish Vijaywargiya a écrit :

> Anyone else observing the same behavior?
>
>   [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
> file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
>       [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:402:INFO ] The following errors occured
> in the data load:
>       [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
> "file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
> Error was: A transaction error occurred reading data
>       [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
> "file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
> Error was: A transaction error occurred reading data
>       [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
> data load with 14976 rows changed.
>       [java] 2010-04-23 18:02:20,600 (main) [
> ContainerLoader.java:113:INFO ] Shutting down containers
>
> BUILD SUCCESSFUL
> Total time: 2 minutes 26 seconds
>
> --
> Ashish
>
you should be using at least ant 1.7.1 or the one included in OFBiz !

HTH,

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Ashish Vijaywargiya
Thanks Erwan - it worked by using ant version distributed with trunk.
Today, I will update external ant on my machine.

--
Ashish

On Fri, Apr 23, 2010 at 7:18 PM, Erwan de FERRIERES
<[hidden email]> wrote:

> Le 23/04/2010 14:49, Ashish Vijaywargiya a écrit :
>>
>> Anyone else observing the same behavior?
>>
>>  [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
>>
>> file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
>>      [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:402:INFO ] The following errors occured
>> in the data load:
>>      [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
>> loading XML Resource
>>
>> "file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
>> Error was: A transaction error occurred reading data
>>      [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
>> loading XML Resource
>>
>> "file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
>> Error was: A transaction error occurred reading data
>>      [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
>> data load with 14976 rows changed.
>>      [java] 2010-04-23 18:02:20,600 (main) [
>> ContainerLoader.java:113:INFO ] Shutting down containers
>>
>> BUILD SUCCESSFUL
>> Total time: 2 minutes 26 seconds
>>
>> --
>> Ashish
>>
> you should be using at least ant 1.7.1 or the one included in OFBiz !
>
> HTH,
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>
Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Deepak Dixit-2
In reply to this post by Ashish Vijaywargiya
I am also facing the same issue. Here are some log from my side :

================================================================================
     [java] 2010-04-23 19:24:19,875 (main) [    
EntitySaxReader.java:277:INFO ] Finished 234 values from
file:/home/deepak/ofbiz_dev/plain-ofbiz/framework/common/data/UnitData.xml
     [java] 2010-04-23 19:24:19,875 (main) [    
EntitySaxReader.java:220:INFO ] Beginning import from URL:
file:/home/deepak/ofbiz_dev/plain-ofbiz/framework/common/data/PeriodData.xml
     [java] 2010-04-23 19:24:19,875 (main) [    
EntitySaxReader.java:258:INFO ] Transaction Timeout set to 2 hours (7200
seconds)
     [java] 2010-04-23 19:24:19,932 (main) [        
Converters.java:102:WARN ] *** No converter found, converting from
java.math.BigDecimal to java.lang.Long. Please report this message to
the developer community so a suitable converter can be created. ***
     [java] 2010-04-23 19:24:19,942 (main) [        
SqlJdbcUtil.java:528:ERROR]
     [java] ---- exception report
----------------------------------------------------------
     [java] Exception: java.lang.ClassNotFoundException
     [java] Message: No converter found for
java.math.BigDecimal->java.lang.Long
     [java] ---- stack trace
---------------------------------------------------------------
     [java] java.lang.ClassNotFoundException: No converter found for
java.math.BigDecimal->java.lang.Long
     [java]
org.ofbiz.base.conversion.Converters.getConverter(Converters.java:107)
     [java] org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:525)
     [java]
org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:526)
     [java]
org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:488)
     [java]
org.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:79)
     [java]
org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1430)
     [java]
org.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:285)
     [java]
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:264)
     [java]
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:221)
     [java]
org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:213)
     [java]
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:383)
     [java]
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
     [java] org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
     [java] org.ofbiz.base.start.Start.startServer(Start.java:322)
     [java] org.ofbiz.base.start.Start.start(Start.java:326)
     [java] org.ofbiz.base.start.Start.main(Start.java:411)
     [java]
--------------------------------------------------------------------------------
     [java]
     [java] 2010-04-23 19:24:19,943 (main) [        
SqlJdbcUtil.java:541:INFO ] Unable to convert, falling back on switch
statement
     [java] 2010-04-23 19:24:19,956 (main) [        
SqlJdbcUtil.java:528:ERROR]
     [java] ---- exception report
----------------------------------------------------------
     [java] Exception: java.lang.ClassNotFoundException
     [java] Message: No converter found for
java.math.BigDecimal->java.lang.Long
     [java] ---- stack trace
---------------------------------------------------------------
     [java] java.lang.ClassNotFoundException: No converter found for
java.math.BigDecimal->java.lang.Long
     [java]
org.ofbiz.base.conversion.Converters.getConverter(Converters.java:86)
     [java] org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:525)
     [java]
org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:526)
     [java]
org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:488)
     [java]
org.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:79)
     [java]
org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1430)
     [java]
org.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:285)
     [java]
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:264)
     [java]
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:221)
     [java]
org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:213)
     [java]
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:383)
     [java]
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
     [java] org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
     [java] org.ofbiz.base.start.Start.startServer(Start.java:322)
     [java] org.ofbiz.base.start.Start.start(Start.java:326)
     [java] org.ofbiz.base.start.Start.main(Start.java:411)
     [java]
--------------------------------------------------------------------------------
     [java]
     [java] 2010-04-23 19:24:19,958 (main) [        
SqlJdbcUtil.java:541:INFO ] Unable to convert, falling back on switch
statement
     [java] 2010-04-23 19:24:19,959 (main) [        
SqlJdbcUtil.java:528:ERROR]
     [java] ---- exception report
----------------------------------------------------------
     [java] Exception: java.lang.ClassNotFoundException
     [java] Message: No
================================================================================

Thanks & Regards
--
Deepak Dixit
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Contact :- +91-98267-54548


Ashish Vijaywargiya wrote:

> Anyone else observing the same behavior?
>
>  [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
> file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
>      [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:402:INFO ] The following errors occured
> in the data load:
>      [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
> "file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
> Error was: A transaction error occurred reading data
>      [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
> loading XML Resource
> "file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
> Error was: A transaction error occurred reading data
>      [java] 2010-04-23 18:02:20,600 (main)
> [EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
> data load with 14976 rows changed.
>      [java] 2010-04-23 18:02:20,600 (main) [
> ContainerLoader.java:113:INFO ] Shutting down containers
>
> BUILD SUCCESSFUL
> Total time: 2 minutes 26 seconds
>
> --
> Ashish
>  


Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Jacopo Cappellato-4
which database are you using?

Jacopo

On Apr 23, 2010, at 3:57 PM, Deepak Dixit wrote:

> I am also facing the same issue. Here are some log from my side :
>
> ================================================================================
>    [java] 2010-04-23 19:24:19,875 (main) [    EntitySaxReader.java:277:INFO ] Finished 234 values from file:/home/deepak/ofbiz_dev/plain-ofbiz/framework/common/data/UnitData.xml
>    [java] 2010-04-23 19:24:19,875 (main) [    EntitySaxReader.java:220:INFO ] Beginning import from URL: file:/home/deepak/ofbiz_dev/plain-ofbiz/framework/common/data/PeriodData.xml
>    [java] 2010-04-23 19:24:19,875 (main) [    EntitySaxReader.java:258:INFO ] Transaction Timeout set to 2 hours (7200 seconds)
>    [java] 2010-04-23 19:24:19,932 (main) [         Converters.java:102:WARN ] *** No converter found, converting from java.math.BigDecimal to java.lang.Long. Please report this message to the developer community so a suitable converter can be created. ***
>    [java] 2010-04-23 19:24:19,942 (main) [        SqlJdbcUtil.java:528:ERROR]
>    [java] ---- exception report ----------------------------------------------------------
>    [java] Exception: java.lang.ClassNotFoundException
>    [java] Message: No converter found for java.math.BigDecimal->java.lang.Long
>    [java] ---- stack trace ---------------------------------------------------------------
>    [java] java.lang.ClassNotFoundException: No converter found for java.math.BigDecimal->java.lang.Long
>    [java] org.ofbiz.base.conversion.Converters.getConverter(Converters.java:107)
>    [java] org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:525)
>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:526)
>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:488)
>    [java] org.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:79)
>    [java] org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1430)
>    [java] org.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:285)
>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:264)
>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:221)
>    [java] org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:213)
>    [java] org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:383)
>    [java] org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
>    [java] org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>    [java] org.ofbiz.base.start.Start.startServer(Start.java:322)
>    [java] org.ofbiz.base.start.Start.start(Start.java:326)
>    [java] org.ofbiz.base.start.Start.main(Start.java:411)
>    [java] --------------------------------------------------------------------------------
>    [java]
>    [java] 2010-04-23 19:24:19,943 (main) [        SqlJdbcUtil.java:541:INFO ] Unable to convert, falling back on switch statement
>    [java] 2010-04-23 19:24:19,956 (main) [        SqlJdbcUtil.java:528:ERROR]
>    [java] ---- exception report ----------------------------------------------------------
>    [java] Exception: java.lang.ClassNotFoundException
>    [java] Message: No converter found for java.math.BigDecimal->java.lang.Long
>    [java] ---- stack trace ---------------------------------------------------------------
>    [java] java.lang.ClassNotFoundException: No converter found for java.math.BigDecimal->java.lang.Long
>    [java] org.ofbiz.base.conversion.Converters.getConverter(Converters.java:86)
>    [java] org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:525)
>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:526)
>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:488)
>    [java] org.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:79)
>    [java] org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1430)
>    [java] org.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:285)
>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:264)
>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:221)
>    [java] org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:213)
>    [java] org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:383)
>    [java] org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
>    [java] org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>    [java] org.ofbiz.base.start.Start.startServer(Start.java:322)
>    [java] org.ofbiz.base.start.Start.start(Start.java:326)
>    [java] org.ofbiz.base.start.Start.main(Start.java:411)
>    [java] --------------------------------------------------------------------------------
>    [java]
>    [java] 2010-04-23 19:24:19,958 (main) [        SqlJdbcUtil.java:541:INFO ] Unable to convert, falling back on switch statement
>    [java] 2010-04-23 19:24:19,959 (main) [        SqlJdbcUtil.java:528:ERROR]
>    [java] ---- exception report ----------------------------------------------------------
>    [java] Exception: java.lang.ClassNotFoundException
>    [java] Message: No
> ================================================================================
>
> Thanks & Regards
> --
> Deepak Dixit
> HotWax Media Pvt. Ltd.
> Website :- www.hotwaxmedia.com
> Contact :- +91-98267-54548
>
>
> Ashish Vijaywargiya wrote:
>> Anyone else observing the same behavior?
>>
>> [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
>> file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
>>     [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:402:INFO ] The following errors occured
>> in the data load:
>>     [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
>> loading XML Resource
>> "file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
>> Error was: A transaction error occurred reading data
>>     [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
>> loading XML Resource
>> "file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
>> Error was: A transaction error occurred reading data
>>     [java] 2010-04-23 18:02:20,600 (main)
>> [EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
>> data load with 14976 rows changed.
>>     [java] 2010-04-23 18:02:20,600 (main) [
>> ContainerLoader.java:113:INFO ] Shutting down containers
>>
>> BUILD SUCCESSFUL
>> Total time: 2 minutes 26 seconds
>>
>> --
>> Ashish
>>  
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Erwan de FERRIERES
Le 23/04/2010 16:05, Jacopo Cappellato a écrit :
> which database are you using?

Not a database problem, just the Ant version which is not the good one.
We have to use at least ant 1.7.1.

Cheers,


--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Deepak Dixit-2
In reply to this post by Jacopo Cappellato-4
Postgres, But it worked fine with ofbiz ant (./ant).

Thnaks & Regards
--
Deepak Dixit
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Contact :- +91-98267-54548



Jacopo Cappellato wrote:

> which database are you using?
>
> Jacopo
>
> On Apr 23, 2010, at 3:57 PM, Deepak Dixit wrote:
>
>  
>> I am also facing the same issue. Here are some log from my side :
>>
>> ================================================================================
>>    [java] 2010-04-23 19:24:19,875 (main) [    EntitySaxReader.java:277:INFO ] Finished 234 values from file:/home/deepak/ofbiz_dev/plain-ofbiz/framework/common/data/UnitData.xml
>>    [java] 2010-04-23 19:24:19,875 (main) [    EntitySaxReader.java:220:INFO ] Beginning import from URL: file:/home/deepak/ofbiz_dev/plain-ofbiz/framework/common/data/PeriodData.xml
>>    [java] 2010-04-23 19:24:19,875 (main) [    EntitySaxReader.java:258:INFO ] Transaction Timeout set to 2 hours (7200 seconds)
>>    [java] 2010-04-23 19:24:19,932 (main) [         Converters.java:102:WARN ] *** No converter found, converting from java.math.BigDecimal to java.lang.Long. Please report this message to the developer community so a suitable converter can be created. ***
>>    [java] 2010-04-23 19:24:19,942 (main) [        SqlJdbcUtil.java:528:ERROR]
>>    [java] ---- exception report ----------------------------------------------------------
>>    [java] Exception: java.lang.ClassNotFoundException
>>    [java] Message: No converter found for java.math.BigDecimal->java.lang.Long
>>    [java] ---- stack trace ---------------------------------------------------------------
>>    [java] java.lang.ClassNotFoundException: No converter found for java.math.BigDecimal->java.lang.Long
>>    [java] org.ofbiz.base.conversion.Converters.getConverter(Converters.java:107)
>>    [java] org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:525)
>>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:526)
>>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:488)
>>    [java] org.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:79)
>>    [java] org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1430)
>>    [java] org.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:285)
>>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:264)
>>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:221)
>>    [java] org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:213)
>>    [java] org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:383)
>>    [java] org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
>>    [java] org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>>    [java] org.ofbiz.base.start.Start.startServer(Start.java:322)
>>    [java] org.ofbiz.base.start.Start.start(Start.java:326)
>>    [java] org.ofbiz.base.start.Start.main(Start.java:411)
>>    [java] --------------------------------------------------------------------------------
>>    [java]
>>    [java] 2010-04-23 19:24:19,943 (main) [        SqlJdbcUtil.java:541:INFO ] Unable to convert, falling back on switch statement
>>    [java] 2010-04-23 19:24:19,956 (main) [        SqlJdbcUtil.java:528:ERROR]
>>    [java] ---- exception report ----------------------------------------------------------
>>    [java] Exception: java.lang.ClassNotFoundException
>>    [java] Message: No converter found for java.math.BigDecimal->java.lang.Long
>>    [java] ---- stack trace ---------------------------------------------------------------
>>    [java] java.lang.ClassNotFoundException: No converter found for java.math.BigDecimal->java.lang.Long
>>    [java] org.ofbiz.base.conversion.Converters.getConverter(Converters.java:86)
>>    [java] org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:525)
>>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:526)
>>    [java] org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:488)
>>    [java] org.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:79)
>>    [java] org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1430)
>>    [java] org.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:285)
>>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:264)
>>    [java] org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:221)
>>    [java] org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:213)
>>    [java] org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:383)
>>    [java] org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
>>    [java] org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>>    [java] org.ofbiz.base.start.Start.startServer(Start.java:322)
>>    [java] org.ofbiz.base.start.Start.start(Start.java:326)
>>    [java] org.ofbiz.base.start.Start.main(Start.java:411)
>>    [java] --------------------------------------------------------------------------------
>>    [java]
>>    [java] 2010-04-23 19:24:19,958 (main) [        SqlJdbcUtil.java:541:INFO ] Unable to convert, falling back on switch statement
>>    [java] 2010-04-23 19:24:19,959 (main) [        SqlJdbcUtil.java:528:ERROR]
>>    [java] ---- exception report ----------------------------------------------------------
>>    [java] Exception: java.lang.ClassNotFoundException
>>    [java] Message: No
>> ================================================================================
>>
>> Thanks & Regards
>> --
>> Deepak Dixit
>> HotWax Media Pvt. Ltd.
>> Website :- www.hotwaxmedia.com
>> Contact :- +91-98267-54548
>>
>>
>> Ashish Vijaywargiya wrote:
>>    
>>> Anyone else observing the same behavior?
>>>
>>> [EntityDataLoadContainer.java:397:INFO ] 00004 of 14976 from
>>> file:/home/ashish/ofbiz_dev/testing/specialpurpose/webpos/data/WebPosSecurityData.xml
>>>     [java] 2010-04-23 18:02:20,600 (main)
>>> [EntityDataLoadContainer.java:402:INFO ] The following errors occured
>>> in the data load:
>>>     [java] 2010-04-23 18:02:20,600 (main)
>>> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
>>> loading XML Resource
>>> "file:/home/ashish/ofbiz_dev/testing/applications/accounting/data/DemoPaymentsInvoices.xml";
>>> Error was: A transaction error occurred reading data
>>>     [java] 2010-04-23 18:02:20,600 (main)
>>> [EntityDataLoadContainer.java:404:INFO ] [install.loadData]: Error
>>> loading XML Resource
>>> "file:/home/ashish/ofbiz_dev/testing/specialpurpose/ecommerce/data/DemoOrderTestData.xml";
>>> Error was: A transaction error occurred reading data
>>>     [java] 2010-04-23 18:02:20,600 (main)
>>> [EntityDataLoadContainer.java:408:INFO ] =-=-=-=-=-=-= Finished the
>>> data load with 14976 rows changed.
>>>     [java] 2010-04-23 18:02:20,600 (main) [
>>> ContainerLoader.java:113:INFO ] Shutting down containers
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 2 minutes 26 seconds
>>>
>>> --
>>> Ashish
>>>  
>>>      
>>    
>
>  


Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

Ashish Vijaywargiya
In reply to this post by Erwan de FERRIERES
>> We have to use at least ant 1.7.1.

Anyone started using ant 1.8 version? - I am planning to use this version.
Any issues?

Thanks!
--
Ashish

On Fri, Apr 23, 2010 at 7:39 PM, Erwan de FERRIERES
<[hidden email]> wrote:

> Le 23/04/2010 16:05, Jacopo Cappellato a écrit :
>>
>> which database are you using?
>
> Not a database problem, just the Ant version which is not the good one. We
> have to use at least ant 1.7.1.
>
> Cheers,
>
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>
Reply | Threaded
Open this post in threaded view
|

Re: Data loading fails in current trunk r937263

BJ Freeman
In reply to this post by Erwan de FERRIERES
if you use the ./ant in the ofbiz folder it will use the correct ant
version built into ofbiz.
no I have not use 1.8

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Ashish Vijaywargiya sent the following on 4/23/2010 8:29 PM:

>>> We have to use at least ant 1.7.1.
>
> Anyone started using ant 1.8 version? - I am planning to use this version.
> Any issues?
>
> Thanks!
> --
> Ashish
>
> On Fri, Apr 23, 2010 at 7:39 PM, Erwan de FERRIERES
> <[hidden email]> wrote:
>> Le 23/04/2010 16:05, Jacopo Cappellato a écrit :
>>> which database are you using?
>> Not a database problem, just the Ant version which is not the good one. We
>> have to use at least ant 1.7.1.
>>
>> Cheers,
>>
>>
>> --
>> Erwan de FERRIERES
>> www.nereide.biz
>>
>


Reply | Threaded
Open this post in threaded view
|

Multitenant with CAS-LDAP

bpaume.ext
In reply to this post by Erwan de FERRIERES
Hi all,
We are using and testing a multitenant version of Ofbiz/Tercompta with purpose ldap (coupled with CAS).
When ldap purpose is not used, we are able to choose a tenant in GUI during login.
But with ldap/cas there is no GUI!
How can we set correct tenantId ?  what is best procedure to follow ? modify classes in package org.ofbiz.webapp.control?  Customize a LoginWorker for instance?
 
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Multitenant with CAS-LDAP

Shi Jinghai
I haven't read the new multitenant.

If the login page is same for all, you can either customize it for user
to choose his tenant or parse his tenant from the attributes of CAS
service validation. Personally I prefer the latter one.

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2010-04-26一的 12:57 +0200,bpaume.ext@orange-ftgroup.com写道:
> Hi all,
> We are using and testing a multitenant version of Ofbiz/Tercompta with purpose ldap (coupled with CAS).
> When ldap purpose is not used, we are able to choose a tenant in GUI during login.
> But with ldap/cas there is no GUI!
> How can we set correct tenantId ?  what is best procedure to follow ? modify classes in package org.ofbiz.webapp.control?  Customize a LoginWorker for instance?
>  
> Thanks