Thanks Pierre,

On Wed, Jun 11, 2014 at 4:22 AM, Pierre Smits <[email protected]> wrote:
> 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.
>
That's what I expected.

> 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.
>
Is there no GUI component to facilitate this?  If not, what do you
think of the notion of a simple control that takes whatever
information is needed to create a new tenant, and, on submit, connects
to the DB to make the new database that is required, and then invokes
./ant create-tenant?

> 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
>
This, too, is what I'd expected.  I thought the principle task in this
effort would be simply to create a new virtual host which loads
mod_jk, and has the specs for the workers, but wasn't certain as I
have not tried to couple Apache's web server with Tomcat before.

Now, I have not even looked, yet, at Tomcat's support for virtual
hosts, but Apache's web server has good support for virtual hosts
which is almost trivially easy to use (I use both IP based and name
based virtual hosts, in both production and development), but I would
suppose that would make a natural fit to OFBiz multi-tenant support.

> 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.
>
This is something I find very odd.

When I develop a C++ application, my make files ALWAYS define test and
install targets in addition to the usual build target.  This is to
support the usual idiom (at least for C++ applications on Unix) of the
sequence 'make', 'make check', followed, if successful, 'make install'
(none of my applications get installed unless they pass ALL tests).
And, when I do some basic web application development in NetBeans or
Eclipse, the IDE has built in support for deploying the web
application to your production application server.  How difficult
would it be to set OFBiz up as a project in Eclipse (or NetBeans or
other IDE), so that the IDE`s support for deployment can be exploited?

Deployment is a concern as, obviously, I can't have two instances of a
server that both listen on 8080 and 8443, and I need to take care as
my application server may well serve multiple different web
applications.

How hard would it be to add a `deploy`target to OFBiz`s ant file?  As
I have never even edited an ant file, I would definitely need
assistance in adding such a target.  I will admit I am just a little
rusty in the area of developing Java based web applications.  ;-)

Thanks again,

Ted

Reply via email to