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<[email protected]>
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<[email protected]>
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

Reply via email to