[opencms-dev] architecture - how to call cms taglibs from outside the workplace

Marcus Popetz marcus at roundpeg.com
Wed May 23 19:23:38 CEST 2007


You might check out the alkacon clustering module;
http://opencms-wiki.org/Load_Balancing_with_Alkacon_Clustering_OCEE

It's not free, but will let you run the workplace server on one
machine and have other copies of opencms that don't serve up the
workplace but still have all other capabilities of opencms.

We use it just for load balancing, but there's no reason that one of
the nodes couldn't be in the DMZ as long as the publish events can get
through from the workplace server out to the DMZ server.

-mp

On 5/23/07, Jordi Martí <jmarti at theinit.com> wrote:
>
>
>
>
> HI everyone,
>
>
>
> I don't think this is the first time someone faces this question, but if've
> been looking through the forums with no complete luck, although it has shed
> us some light about what the problem is.
>
>
>
> The short question:
>
>
>
> ·         is it possible / safe to make calls to opencms taglibs and the
> cmsshell object from outside the server that has the workplace?
>
>
>
> The long one:
>
>
>
> We're trying to make a decision about the architecture of a project that
> will consist of:
>
>
>
> 1.- the workplace (in the intranet)
>
> 2.- the web being maintained (in the DMZ)
>
>
>
> Because of security, the workplace has to be installed apart of the web. Of
> course, that implies the workplace being in a server (in the intranet) and
> the web being in other (accesible to the outside, the DMZ).
>
>
>
> Both servers will be reading the same information that is in the opencms
> database (if possible, of course).
>
>
>
> As I have read from other mails, I see there's a problem accessing the
> CMSSHELL object from outside where you have installed the workplace... We've
> seen some solutions based on making cmsShell a public object, but as we have
> tested, it results in a another instance of the opencms being up.
>
>
>
> So, my question is: is it safe to have two "instances" of the opencms: one
> in which the workplace will be installed (the normal installation) and the
> other one reading the opencms.jar and accesing it through <cms:>  taglibs...
>
>
>
> What if I need to access the CmsSHELL from the web? for example, for
> uploading a document throught the web. What's the best or advised approach
> to do this?
>
>
>
> As an additional point, it is needed to be said that we'll integrate the web
> part with struts / spring; but we have already done that succesfully (and we
> see that that should be no problem).
>
>
>
> Thanks for everyone reading this mail.
>
>
>
> -- jordi
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>



More information about the opencms-dev mailing list