Hi Ted,

As r13.07 is still not released the release to go for is r12.x.

Multi-tenancy is straight forward: just setting the multi-tenancy property
in the general.properties file in framework/common/config. This will ensure
that users can provide the tenantID when they log in.

Creating new tenant can be done with following ant command (in the OFBiz
folder):
./ant create-tenant
But you have to ensure that the database exists on your preferred rdbms
before you invoke the command. Subsequently you can log in with the created
tenant-adminID and via webtools you can import the data sets you need.

Having a web server (e.g. apache HTTP) in front of OFBiz does not require
any configuration changes in OFBiz. Unless you want to point to a different
ajp port. Then you'll need to change that port number in OFBiz.
For more info on the aspect see:
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo

Implementation of OFBiz on an external app server (tomcat 7) might prove a
challenge. Documentation regarding this aspect is not up to date and issues
have been reported.

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, Jun 10, 2014 at 11:37 PM, Ted Byers <[email protected]> wrote:

> I am about to do my most aggressive install to date (that is,
> aggressive in terms of pushing my limits - I am a coder, not a
> sysadmin).  Here is what I want to do.
>
> I have two servers, one running Ubuntu 12.04, and the other running
> OpenSuse 13.1.  The Ubuntu machine has Apache's web server running,
> and I expect I need to install mod_jk on that machine, and somehow
> have it send all requests for OFBiz to the OpenSuse 13.1 server.  On
> the OpenSuse 13.1 server, I already have Tomcat 7 installed.  What I
> want to do is install the latest stable release of OFBiz, configured
> for multitenant support, onto that instance of Tomcat.  The version of
> OFBiz is now up to, what, 13.x, but the most recent documentation I
> have found to date for installing OFBiz into  an application server
> (other than that provided with the distribution) refers only to
> versions 9 and 10, indicating the method didn't work for version 11.
>
> There are three things in this effort that are new to me.  1) the
> multi-tenant configuration, 2) deploying OFBiz to another application
> server, and 3) using mod_jk, so traffic comes in via my web server,
> and it just lets Tomcat (on a different server in the LAN) handle it.
>
> I will have the DB on yet a different machine, but doing that is
> pretty much a no-brainer.
>
> Can anyone either provide step-by-step guidance on these things that
> are new to me, or point me to the most recent documentation that talks
> about them (ideally referring to the latest stable release)?
>
> BTW: In terms of coding extensions for OFBiz, does anyone have any
> thoughts on using Spring and the toolset from that, or Eclipse, to do
> the coding and deploying of new capabilities  And would there be any
> benefit from hibernate?  While I have used core Java for a couple
> decades, I have not used either Spring or Hibernate, and my recent
> readings suggest these two as having significant benefits; but that
> begs the question of if/how they ought/can be used in a project like
> OFBiz.
>
> Thanks
>
> Ted
>
> --
> R.E.(Ted) Byers, Ph.D.,Ed.D.
>

Reply via email to