This seems to be related to https://issues.apache.org/jira/browse/OFBIZ-5447
Regards, Pierre Smits *ORRTIZ.COM <http://www.orrtiz.com>* Services & Solutions for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com On Wed, Jan 28, 2015 at 7:37 AM, Arun Patidar <[email protected]> wrote: > Hello Anchit, > > Domain name field is optional to make back-end application accessible by > passing tenantId from login screen. > > I think patch attached on OFBIZ-5986 <https://issues.apache.org/ > jira/browse/OFBIZ-5986> should work for you. Its not committed yet so you > can try it by applying that patch from task. In this patch there is a > support for identifying tenantId from domain name, request parameter or > request attribute. > > > > Thanks & Regards > --- > Arun Patidar > Manager,Enterprise Software Development > HotWax Media > www.hotwaxsystems.com > > > On Wednesday 28 January 2015 10:12 AM, Anchit Jindal wrote: > >> Hi Pierre >> >> Thanks for the reply issue resolved by reading the link you provide. I >> have >> domain name issue. After reading this post i create its proper data for >> domain and it works fine. I have a question i check while creating new >> tenant, domain name is optional field and to create delegator for tenant >> it >> check for the domainName in TenantDomainName entity in ContextFilter.java >> if found the valid domainName delegator is created for tenant and if not >> found it gives tenant not found error. So now my question is why domin >> name >> field is optional during creating tenant because tenant site does not work >> if domain name is not configured properly. i thing it should be mandatory. >> what you think? >> >> On Wed, Jan 28, 2015 at 4:06 AM, Pierre Smits [via OFBiz] < >> [email protected]> wrote: >> >> This is the change I am referring to: >>> >>> http://ofbiz.markmail.org/message/5raxnkzm5rp7gsjr?q= >>> r1643510+list:org%2Eapache%2Eofbiz%2Ecommits+order:date-backward >>> >>> Best regards, >>> >>> Pierre Smits >>> >>> *ORRTIZ.COM <http://www.orrtiz.com>* >>> Services & Solutions for Cloud- >>> Based Manufacturing, Professional >>> Services and Retail & Trade >>> http://www.orrtiz.com >>> >>> On Tue, Jan 27, 2015 at 10:36 PM, Pierre Smits <[hidden email] >>> <http:///user/SendEmail.jtp?type=node&node=4662338&i=0>> >>> wrote: >>> >>> Hi Anchit, >>>> >>>> This is the second posting regarding multi-tenancy within one week. See >>>> http://ofbiz.markmail.org/message/22bmphzfhkprhrcm?q=multi+root >>>> >>>> If you feel there is something serious wrong with multi-tenancy, as we >>>> >>> had >>> >>>> some changes recently, please create a JIRA issue. >>>> >>>> Best regards, >>>> >>>> Pierre Smits >>>> >>>> *ORRTIZ.COM <http://www.orrtiz.com>* >>>> Services & Solutions for Cloud- >>>> Based Manufacturing, Professional >>>> Services and Retail & Trade >>>> http://www.orrtiz.com >>>> >>>> On Tue, Jan 27, 2015 at 12:09 PM, Anchit Jindal <[hidden email] >>>> >>> <http:///user/SendEmail.jtp?type=node&node=4662338&i=1>> >>> >>>> wrote: >>>> >>>> Hi All >>>>> >>>>> I am trying to create tenant by using *'create-tenant-on-PostgreSQL'* >>>>> command. I have created database for tenant and this command create >>>>> >>>> tables >>> >>>> and load seed data in tables and also create admin user for tenant and >>>>> >>>> i >>> >>>> am >>>>> also able to connect to the backend of this tenant. But the main issue >>>>> >>>> is >>> >>>> my tenant component is not connected to tenant databases for this i do >>>>> following changes in my tenant component's web.xml >>>>> <context-param> >>>>> <param-name>entityDelegatorName</param-name> >>>>> <param-value>default#tenantId</param-value> >>>>> <description>The Name of the Entity Delegator to use, defined >>>>> >>>> in >>> >>>> entityengine.xml</description> >>>>> </context-param> >>>>> >>>>> can any one tell me what i need to do to make it work currently i am >>>>> >>>> using >>> >>>> the latest ofbiz from trunk. Thanks. >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> >>>>> http://ofbiz.135035.n4.nabble.com/Unable-to-connect-tenant- >>> component-with-tenant-database-tp4662327.html >>> >>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>> >>>>> >>>> >>> ------------------------------ >>> If you reply to this email, your message will be added to the >>> discussion >>> below: >>> >>> http://ofbiz.135035.n4.nabble.com/Unable-to-connect-tenant- >>> component-with-tenant-database-tp4662327p4662338.html >>> To unsubscribe from Unable to connect tenant component with tenant >>> database, click here >>> <http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro= >>> unsubscribe_by_code&node=4662327&code=YW5jaGl0amluZGFsOTFAZ21haWwuY2 >>> 9tfDQ2NjIzMjd8LTEzODUxNzYwNDI=> >>> . >>> NAML >>> <http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=macro_ >>> viewer&id=instant_html%21nabble%3Aemail.naml&base= >>> nabble.naml.namespaces.BasicNamespace-nabble.view. >>> web.template.NabbleNamespace-nabble.view.web.template. >>> NodeNamespace&breadcrumbs=notify_subscribers%21nabble% >>> 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ >>> instant_email%21nabble%3Aemail.naml> >>> >>> >> >> >> -- >> View this message in context: http://ofbiz.135035.n4.nabble. >> com/Unable-to-connect-tenant-component-with-tenant- >> database-tp4662327p4662339.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> > >
