ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: Multitenancy not working trunk,14.12,15.12
Date Fri, 29 Jan 2016 11:22:18 GMT
Le 29/01/2016 11:29, Jacques Le Roux a écrit :
> Sorry that was with trunk, I'll test others also...

Both are SUCCESSFUL as well

Jacques

>
> BTW what options did you use (apart Derby), which "names"?
>
> Jacques
>
> Le 29/01/2016 11:23, Jacques Le Roux a écrit :
>> Just tried and on Pierre's advice let the default values (but for the DB, I used
Derby) it worked perfectly using
>>     svn up && ant clean-all load-demo create-tenant
>> On win7
>>
>> Could you please open a Jira and copy your log below (or more if needed) there to
allow us to easier review the code
>>
>> I will also later create a Jira to have create-tenant chains one of the  download-PG-JDBC,
download-mySQL-JDBC ant targets if you pick those DBMS 
>> to have the driver automatically installed.
>>
>> Thanks
>>
>> Jacques
>>
>> Le 29/01/2016 07:47, Ahmad Ludin a écrit :
>>> Hi,
>>>
>>> I am testing the mutitenancy; everything works in 12.04, and 13.07.02; but
>>> not with 14.12,15.12 and trunk on Derby with the ant target: *ant
>>> create-tenant;*
>>>
>>> The process hangs as if it can't read a file  or goes into an infinite loop:
>>>
>>> I have followed the steps that Pierre mentioned and they work fine in 12.04
>>> and 13.07 but not after that.
>>>
>>> I am on windows 7,
>>> JDK8
>>> Derby as DB
>>>
>>>   here is the location it hangs:
>>>
>>>       *  |I| Starting container dataload-container*
>>> *     [java] 2016-01-29 06:33:20,338 |delegator-startup-1
>>>   |DelegatorFactoryImpl*
>>> *         |I| Creating new delegator [default#camp2] (delegator-startup-1)*
>>>
>>>
>>>
>>> *Detailed log below:*
>>>
>>>
>>>
>>>
>>>
>>>
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/content/servicedef/sec
>>> as.xml
>>>       [java] 2016-01-29 06:33:14,026 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [10] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/workeffort/servicedef/
>>> secas.xml
>>>       [java] 2016-01-29 06:33:14,026 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [24] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/product/servicedef/sec
>>> as.xml
>>>       [java] 2016-01-29 06:33:14,042 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [23] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/product/servicedef/sec
>>> as_shipment.xml
>>>       [java] 2016-01-29 06:33:14,042 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [4] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/applications/manufacturing/servicede
>>> f/secas.xml
>>>       [java] 2016-01-29 06:33:14,042 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [22] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/accounting/servicedef/
>>> secas.xml
>>>       [java] 2016-01-29 06:33:14,042 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [8] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/applications/accounting/servicedef/s
>>> ecas_payment.xml
>>>       [java] 2016-01-29 06:33:14,042 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [22] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/accounting/servicedef/
>>> secas_ledger.xml
>>>       [java] 2016-01-29 06:33:14,057 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [6] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/applications/accounting/servicedef/s
>>> ecas_invoice.xml
>>>       [java] 2016-01-29 06:33:14,073 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [76] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/order/servicedef/secas
>>> .xml
>>>       [java] 2016-01-29 06:33:14,073 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [10] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/applications/marketing/servicedef/s
>>> ecas.xml
>>>       [java] 2016-01-29 06:33:14,073 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [0] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/applications/commonext/servicedef/se
>>> cas.xml
>>>       [java] 2016-01-29 06:33:14,073 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [0] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/solr/servicedef/secas
>>> .xml
>>>       [java] 2016-01-29 06:33:14,088 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [5] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/assetmaint/servicedef
>>> /secas.xml
>>>       [java] 2016-01-29 06:33:14,104 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [8] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/scrum/servicedef/seca
>>> s.xml
>>>       [java] 2016-01-29 06:33:14,120 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [12] Service ECA Rules from
>>> file:/C:/Users/Administrator/Dow
>>> nloads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/googlecheckout/servi
>>> cedef/secas.xml
>>>       [java] 2016-01-29 06:33:14,120 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [1] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/ebay/servicedef/secas
>>> .xml
>>>       [java] 2016-01-29 06:33:14,120 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [4] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/ebaystore/servicedef/
>>> secas.xml
>>>       [java] 2016-01-29 06:33:14,120 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [5] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/bi/servicedef/secas.x
>>> ml
>>>       [java] 2016-01-29 06:33:14,135 |kJoinPool-1-worker-1 |ServiceEcaUtil
>>>           |I| Loaded [1] Service ECA Rules from
>>> file:/C:/Users/Administrator/Down
>>> loads/ofbiz-release15.12/ofbiz-release15.12/specialpurpose/example/servicedef/se
>>> cas.xml
>>>       [java] 2016-01-29 06:33:14,135 |OFBiz-batch-2 |ServiceDispatcher
>>>           |I| Registering dispatcher: entity-default
>>>       [java] 2016-01-29 06:33:14,135 |OFBiz-batch-2 |ServiceContainer
>>>           |I| Created new dispatcher: entity-default
>>>       [java] 2016-01-29 06:33:14,135 |main |EntitySaxReader
>>>           |I| Finished 3 values from
>>> file:/C:/Users/Administrator/Downloads/ofbiz
>>> -release15.12/ofbiz-release15.12/runtime/tmp/tmpFilteredTenantData.xml
>>>       [java] 2016-01-29 06:33:14,135 |main
>>> |EntityDataLoadContain
>>> er       |I| =-=-=-=-=-=-= Here is a summary of the data load:
>>>       [java] 2016-01-29 06:33:14,135 |main
>>> |EntityDataLoadContain
>>> er       |I| 00003 of 00003 from
>>> file:/C:/Users/Administrator/Downloads/ofbiz-re
>>> lease15.12/ofbiz-release15.12/runtime/tmp/tmpFilteredTenantData.xml
>>>       [java] 2016-01-29 06:33:14,135 |main
>>> |EntityDataLoadContain
>>> er       |I| =-=-=-=-=-=-= Finished the data load with 3 rows changed.
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Started container dataload-container
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Shutting down containers
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Stopping container dataload-container
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Stopped container dataload-container
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Stopping container service-container
>>>       [java] 2016-01-29 06:33:14,135 |main |JobPoller
>>>           |I| Shutting down JobPoller.
>>>       [java] 2016-01-29 06:33:14,135 |main |JobPoller
>>>           |I| JobPoller shutdown completed.
>>>       [java] 2016-01-29 06:33:14,135 |main |ServiceContainer
>>>           |I| Removing from cache dispatcher: entity-default
>>>       [java] 2016-01-29 06:33:14,135 |main |ServiceDispatcher
>>>           |I| De-Registering dispatcher: entity-default
>>>       [java] 2016-01-29 06:33:14,135 |main |ServiceDispatcher
>>>           |I| Shutting down the service engine...
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Stopped container service-container
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Stopping container component-container
>>>       [java] 2016-01-29 06:33:14,135 |main |ContainerLoader
>>>           |I| Stopped container component-container
>>>     [delete] Deleting:
>>> C:\Users\Administrator\Downloads\ofbiz-release15.12\ofbiz-
>>> release15.12\runtime\tmp\tmpTenantData.xml
>>>     [delete] Deleting:
>>> C:\Users\Administrator\Downloads\ofbiz-release15.12\ofbiz-
>>> release15.12\runtime\tmp\tmpFilteredTenantData.xml
>>>
>>> load-tenant-data-readers:
>>>       [echo] ------------------------------------
>>>       [echo] Loading selected data-readers in tenant database
>>>       [echo] Delegator = default#camp2
>>>       [echo] Data-readers = seed,demo
>>>       [echo] ------------------------------------
>>>       [java] Start.java using configuration file
>>> org/ofbiz/base/start/load-data.p
>>> roperties
>>>       [java] Set OFBIZ_HOME to -
>>> C:/Users/Administrator/Downloads/ofbiz-release15
>>> .12/ofbiz-release15.12
>>>       [java] Admin socket not configured; set to port 0
>>>       [java] Shutdown hook disabled
>>>       [java] 2016-01-29 06:33:16,166 |main |ContainerLoader
>>>           |I| [Startup] Loading containers from
>>> C:/Users/Administrator/Downloads/
>>> ofbiz-release15.12/ofbiz-release15.12/framework/base/config/ofbiz-containers.xml
>>>   for loaders [load-data]
>>>       [java] 2016-01-29 06:33:16,541 |main |ContainerLoader
>>>           |I| Loading container: component-container
>>>       [java] 2016-01-29 06:33:16,573 |main
>>> |ComponentContainer
>>>           |I| Auto-Loading component directory :
>>> [C:/Users/Administrator/Download
>>> s/ofbiz-release15.12/ofbiz-release15.12/framework]
>>>       [java] 2016-01-29 06:33:16,745 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [base]
>>>       [java] 2016-01-29 06:33:16,823 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [geronimo]
>>>       [java] 2016-01-29 06:33:16,901 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [entity]
>>>       [java] 2016-01-29 06:33:16,948 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [security]
>>>       [java] 2016-01-29 06:33:16,979 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [datafile]
>>>       [java] 2016-01-29 06:33:16,995 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [minilang]
>>>       [java] 2016-01-29 06:33:17,182 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [common]
>>>       [java] 2016-01-29 06:33:17,416 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [service]
>>>       [java] 2016-01-29 06:33:17,620 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [catalina]
>>>       [java] 2016-01-29 06:33:17,651 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [entityext]
>>>       [java] 2016-01-29 06:33:17,713 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [webapp]
>>>       [java] 2016-01-29 06:33:17,745 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [widget]
>>>       [java] 2016-01-29 06:33:17,760 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [testtools]
>>>       [java] 2016-01-29 06:33:17,791 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [webtools]
>>>       [java] 2016-01-29 06:33:17,854 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [images]
>>>       [java] 2016-01-29 06:33:17,870 |main
>>> |ComponentContainer
>>>           |I| Auto-Loading component directory :
>>> [C:/Users/Administrator/Download
>>> s/ofbiz-release15.12/ofbiz-release15.12/themes]
>>>       [java] 2016-01-29 06:33:17,901 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [bizznesstime]
>>>       [java] 2016-01-29 06:33:17,901 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [bluelight]
>>>       [java] 2016-01-29 06:33:17,932 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [droppingcrumbs]
>>>       [java] 2016-01-29 06:33:17,948 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [flatgrey]
>>>       [java] 2016-01-29 06:33:17,995 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [multiflex]
>>>       [java] 2016-01-29 06:33:18,057 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [tomahawk]
>>>       [java] 2016-01-29 06:33:18,057 |main
>>> |ComponentContainer
>>>           |I| Auto-Loading component directory :
>>> [C:/Users/Administrator/Download
>>> s/ofbiz-release15.12/ofbiz-release15.12/applications]
>>>       [java] 2016-01-29 06:33:18,088 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [datamodel]
>>>       [java] 2016-01-29 06:33:18,120 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [party]
>>>       [java] 2016-01-29 06:33:18,182 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [securityext]
>>>       [java] 2016-01-29 06:33:18,260 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [content]
>>>       [java] 2016-01-29 06:33:18,276 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [workeffort]
>>>       [java] 2016-01-29 06:33:18,354 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [product]
>>>       [java] 2016-01-29 06:33:18,385 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [manufacturing]
>>>       [java] 2016-01-29 06:33:18,416 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [accounting]
>>>       [java] 2016-01-29 06:33:18,463 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [humanres]
>>>       [java] 2016-01-29 06:33:18,526 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [order]
>>>       [java] 2016-01-29 06:33:18,526 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [marketing]
>>>       [java] 2016-01-29 06:33:18,573 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [commonext]
>>>       [java] 2016-01-29 06:33:18,573 |main
>>> |ComponentContainer
>>>           |I| Auto-Loading component directory :
>>> [C:/Users/Administrator/Download
>>> s/ofbiz-release15.12/ofbiz-release15.12/specialpurpose]
>>>       [java] 2016-01-29 06:33:18,604 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [lucene]
>>>       [java] 2016-01-29 06:33:18,604 |main
>>> |ComponentContainer
>>>           |W| Location
>>> 'C:/Users/Administrator/Downloads/ofbiz-release15.12/ofbiz
>>> -release15.12/specialpurpose/solr/conf' does not exist
>>>       [java] 2016-01-29 06:33:18,620 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [solr]
>>>       [java] 2016-01-29 06:33:18,651 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [ecommerce]
>>>       [java] 2016-01-29 06:33:18,838 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [pos]
>>>       [java] 2016-01-29 06:33:18,870 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [hhfacility]
>>>       [java] 2016-01-29 06:33:18,870 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [assetmaint]
>>>       [java] 2016-01-29 06:33:18,916 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [cmssite]
>>>       [java] 2016-01-29 06:33:18,932 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [projectmgr]
>>>       [java] 2016-01-29 06:33:19,088 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [scrum]
>>>       [java] 2016-01-29 06:33:19,166 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [oagis]
>>>       [java] 2016-01-29 06:33:19,213 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [googlebase]
>>>       [java] 2016-01-29 06:33:19,245 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [googlecheckout]
>>>       [java] 2016-01-29 06:33:19,260 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [ebay]
>>>       [java] 2016-01-29 06:33:19,354 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [ebaystore]
>>>       [java] 2016-01-29 06:33:19,354 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [myportal]
>>>       [java] 2016-01-29 06:33:19,385 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [ldap]
>>>       [java] 2016-01-29 06:33:19,416 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [webpos]
>>>       [java] 2016-01-29 06:33:19,448 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [birt]
>>>       [java] 2016-01-29 06:33:20,166 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [bi]
>>>       [java] 2016-01-29 06:33:20,198 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [example]
>>>       [java] 2016-01-29 06:33:20,213 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [exampleext]
>>>       [java] 2016-01-29 06:33:20,229 |main
>>> |ComponentContainer
>>>           |I| Loaded component : [passport]
>>>       [java] 2016-01-29 06:33:20,229 |main
>>> |ComponentContainer
>>>           |I| Auto-Loading component directory :
>>> [C:/Users/Administrator/Download
>>> s/ofbiz-release15.12/ofbiz-release15.12/hot-deploy]
>>>       [java] 2016-01-29 06:33:20,229 |main
>>> |ComponentContainer
>>>           |I| All components loaded
>>>       [java] 2016-01-29 06:33:20,229 |main |ContainerLoader
>>>           |I| Loaded container: component-container
>>>       [java] 2016-01-29 06:33:20,229 |main |ContainerLoader
>>>           |I| Loading component's container: service-container
>>>       [java] 2016-01-29 06:33:20,229 |main |ContainerLoader
>>>           |I| Loaded component's container: service-container
>>>       [java] 2016-01-29 06:33:20,229 |main |ContainerLoader
>>>           |I| Loading component's container: dataload-container
>>>       [java] 2016-01-29 06:33:20,244 |main
>>> |EntityDataLoadContain
>>> er       |I| Install Argument - readers = seed,demo
>>>       [java] 2016-01-29 06:33:20,244 |main
>>> |EntityDataLoadContain
>>> er       |I| Install Argument - delegator = default#camp2
>>>       [java] 2016-01-29 06:33:20,244 |main |ContainerLoader
>>>           |I| Loaded component's container: dataload-container
>>>       [java] 2016-01-29 06:33:20,244 |main |ContainerLoader
>>>           |I| [Startup] Starting containers...
>>>       [java] 2016-01-29 06:33:20,244 |main |ContainerLoader
>>>           |I| Starting container component-container
>>>       [java] 2016-01-29 06:33:20,244 |main |ContainerLoader
>>>           |I| Started container component-container
>>>       [java] 2016-01-29 06:33:20,244 |main |ContainerLoader
>>>           |I| Starting container service-container
>>>       [java] 2016-01-29 06:33:20,244 |main |ContainerLoader
>>>           |I| Started container service-container
>>>       [java] 2016-01-29 06:33:20,244 |main |ContainerLoader
>>>           |I| Starting container dataload-container
>>>       [java] 2016-01-29 06:33:20,338 |delegator-startup-1
>>>   |DelegatorFactoryImpl
>>>           |I| Creating new delegator [default#camp2] (delegator-startup-1)
>>>
>>
>

Mime
View raw message