Multitenancy not working trunk,14.12,15.12

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

Multitenancy not working trunk,14.12,15.12

ahmad ludin
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)
Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

Jacques Le Roux
Administrator
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)
>
Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

Jacques Le Roux
Administrator
Sorry that was with trunk, I'll test others also...

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)
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

Jacques Le Roux
Administrator
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)
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

ahmad ludin
Jacques,

Thanks for confirming it works for you; I also tried on the following
settings:

(1) AWS micro windows server 2012

(2) JDK 1.8

(3) github zip download of trunk; 14.12 and 15.12

(4) used Derby as the test DB first and then if successful will use postgre
9.5

(5) unziped downloaded trunk..etc

(6) ant clean-all

(7) ant build

(8) ant load-demo

(9) logged in fine without tenant property set to Y

(10) set the tenant property set to Y

(11) ant create-tenant

(12)and passed all the parameters to  ant create-tenant: tenant id comp2,
name comp2, localhost, ofbiz ofbiz, y

and it hangs here

 [java] 2016-01-29 06:33:20,338 |delegator-startup-1  |DelegatorFactoryImpl
         |I| Creating new delegator [default#camp2] (delegator-startup-1)

If you want i can create a Jira;

Thanks






On Fri, Jan 29, 2016 at 6:22 AM, Jacques Le Roux <
[hidden email]> wrote:

> 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)
>>>>
>>>>
>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

Pierre Smits
Being an fairly avid user of the multi-tenancy implementation since 2012 I
have tested (and implemented( it against:

   - 12.07
   - 13.07
   - 14.12
   - 15.12
   - Trunk

But not on a Windows box I must say.

So the settings you used at 12 are against a Derby rdbms?

Best regards,

Pierre Smits

ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Fri, Jan 29, 2016 at 4:47 PM, Ahmad Ludin <[hidden email]> wrote:

> Jacques,
>
> Thanks for confirming it works for you; I also tried on the following
> settings:
>
> (1) AWS micro windows server 2012
>
> (2) JDK 1.8
>
> (3) github zip download of trunk; 14.12 and 15.12
>
> (4) used Derby as the test DB first and then if successful will use postgre
> 9.5
>
> (5) unziped downloaded trunk..etc
>
> (6) ant clean-all
>
> (7) ant build
>
> (8) ant load-demo
>
> (9) logged in fine without tenant property set to Y
>
> (10) set the tenant property set to Y
>
> (11) ant create-tenant
>
> (12)and passed all the parameters to  ant create-tenant: tenant id comp2,
> name comp2, localhost, ofbiz ofbiz, y
>
> and it hangs here
>
>  [java] 2016-01-29 06:33:20,338 |delegator-startup-1  |DelegatorFactoryImpl
>          |I| Creating new delegator [default#camp2] (delegator-startup-1)
>
> If you want i can create a Jira;
>
> Thanks
>
>
>
>
>
>
> On Fri, Jan 29, 2016 at 6:22 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
> > 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)
> >>>>
> >>>>
> >>>
> >>
>
Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

Jacques Le Roux
Administrator
In reply to this post by ahmad ludin
Le 29/01/2016 16:47, Ahmad Ludin a écrit :
> and it hangs here
>
>   [java] 2016-01-29 06:33:20,338 |delegator-startup-1  |DelegatorFactoryImpl
>           |I|  Creating new delegator [default#camp2] (delegator-startup-1)
>
> If you want i can create a Jira;
>
> Thanks
>
Yes, please do

Thanks

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

ahmad ludin
In reply to this post by Pierre Smits
yes Pierre the setting is for Derby;

On Fri, Jan 29, 2016 at 10:52 AM, Pierre Smits <[hidden email]>
wrote:

> Being an fairly avid user of the multi-tenancy implementation since 2012 I
> have tested (and implemented( it against:
>
>    - 12.07
>    - 13.07
>    - 14.12
>    - 15.12
>    - Trunk
>
> But not on a Windows box I must say.
>
> So the settings you used at 12 are against a Derby rdbms?
>
> Best regards,
>
> Pierre Smits
>
> ORRTIZ.COM <http://www.orrtiz.com>
> OFBiz based solutions & services
>
> OFBiz Extensions Marketplace
> http://oem.ofbizci.net/oci-2/
>
> On Fri, Jan 29, 2016 at 4:47 PM, Ahmad Ludin <[hidden email]>
> wrote:
>
> > Jacques,
> >
> > Thanks for confirming it works for you; I also tried on the following
> > settings:
> >
> > (1) AWS micro windows server 2012
> >
> > (2) JDK 1.8
> >
> > (3) github zip download of trunk; 14.12 and 15.12
> >
> > (4) used Derby as the test DB first and then if successful will use
> postgre
> > 9.5
> >
> > (5) unziped downloaded trunk..etc
> >
> > (6) ant clean-all
> >
> > (7) ant build
> >
> > (8) ant load-demo
> >
> > (9) logged in fine without tenant property set to Y
> >
> > (10) set the tenant property set to Y
> >
> > (11) ant create-tenant
> >
> > (12)and passed all the parameters to  ant create-tenant: tenant id comp2,
> > name comp2, localhost, ofbiz ofbiz, y
> >
> > and it hangs here
> >
> >  [java] 2016-01-29 06:33:20,338 |delegator-startup-1
> |DelegatorFactoryImpl
> >          |I| Creating new delegator [default#camp2] (delegator-startup-1)
> >
> > If you want i can create a Jira;
> >
> > Thanks
> >
> >
> >
> >
> >
> >
> > On Fri, Jan 29, 2016 at 6:22 AM, Jacques Le Roux <
> > [hidden email]> wrote:
> >
> > > 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)
> > >>>>
> > >>>>
> > >>>
> > >>
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Multitenancy not working trunk,14.12,15.12

Jacques Le Roux
Administrator
Actually wait Ahmad.

It did not work  for me either when loading only *demo* data as we are used to do in non tenant mode (using only the demo word).
It works though if you use (in this order at least) *seed,seed-initial,ext,demo*

With these parameters:

      [echo] tenantId = tenant1
      [echo] tenantName = tenant1
      [echo] domainName =
      [echo] db-Platform = D
      [echo] db-IP =
      [echo] db-User = ofbiz
      [echo] db-Password = ofbiz
      [echo] ------------------------------------
      [echo] database for tenant data will be 'ofbiz_tenant1'
      [echo] database for tenant olap data will be 'ofbizolap_tenant1'

Note: Using an empty IP or localhost is the same.

I was then able to login as admin in the tenant1 instance with no errors at all in logs.

I already created https://issues.apache.org/jira/browse/OFBIZ-6658 in September so you don't need to create one
Please confirm it works for you also and I will add my new finding in OFBIZ-6658 and close it. I'll then update
https://issues.apache.org/jira/browse/OFBIZ-6720 and related and do the needed work in wiki!

Jacques

Le 29/01/2016 16:55, Ahmad Ludin a écrit :

> yes Pierre the setting is for Derby;
>
> On Fri, Jan 29, 2016 at 10:52 AM, Pierre Smits<[hidden email]>
> wrote:
>
>> Being an fairly avid user of the multi-tenancy implementation since 2012 I
>> have tested (and implemented( it against:
>>
>>     - 12.07
>>     - 13.07
>>     - 14.12
>>     - 15.12
>>     - Trunk
>>
>> But not on a Windows box I must say.
>>
>> So the settings you used at 12 are against a Derby rdbms?
>>
>> Best regards,
>>
>> Pierre Smits
>>
>> ORRTIZ.COM<http://www.orrtiz.com>
>> OFBiz based solutions & services
>>
>> OFBiz Extensions Marketplace
>> http://oem.ofbizci.net/oci-2/
>>
>> On Fri, Jan 29, 2016 at 4:47 PM, Ahmad Ludin<[hidden email]>
>> wrote:
>>
>>> Jacques,
>>>
>>> Thanks for confirming it works for you; I also tried on the following
>>> settings:
>>>
>>> (1) AWS micro windows server 2012
>>>
>>> (2) JDK 1.8
>>>
>>> (3) github zip download of trunk; 14.12 and 15.12
>>>
>>> (4) used Derby as the test DB first and then if successful will use
>> postgre
>>> 9.5
>>>
>>> (5) unziped downloaded trunk..etc
>>>
>>> (6) ant clean-all
>>>
>>> (7) ant build
>>>
>>> (8) ant load-demo
>>>
>>> (9) logged in fine without tenant property set to Y
>>>
>>> (10) set the tenant property set to Y
>>>
>>> (11) ant create-tenant
>>>
>>> (12)and passed all the parameters to  ant create-tenant: tenant id comp2,
>>> name comp2, localhost, ofbiz ofbiz, y
>>>
>>> and it hangs here
>>>
>>>   [java] 2016-01-29 06:33:20,338 |delegator-startup-1
>> |DelegatorFactoryImpl
>>>           |I| Creating new delegator [default#camp2] (delegator-startup-1)
>>>
>>> If you want i can create a Jira;
>>>
>>> Thanks
>>>