roxy icon indicating copy to clipboard operation
roxy copied to clipboard

RFE: skip XDBC server on ML8

Open joemfb opened this issue 10 years ago • 11 comments

ML8 REST API instances support XCC requests, and do not require a separate XDBC server. Roxy supports this now, by setting install-xcc=false and xcc-port=${app-port} in deploy/build.properties prior to bootstrapping. Can we make these settings the defaults for ML 8 REST/hybrid environments?

joemfb avatar Feb 12 '15 21:02 joemfb

+1 on those being defaults

dmcassel avatar Feb 12 '15 22:02 dmcassel

Can mlcp specify a different database yet? That was a factor previously that caused me to have to keep installing new XCC instances against my will. I feel like I saw that it could in the latest version.

paxtonhare avatar Feb 13 '15 13:02 paxtonhare

Yes, as of MarkLogic 8 / MLCP 1.3-1. http://docs.marklogic.com/guide/relnotes/chap3#id_46078

dmcassel avatar Feb 13 '15 14:02 dmcassel

Then +1 for me too.

paxtonhare avatar Feb 13 '15 16:02 paxtonhare

And if i read correctly, it is against the app specific rest api anyhow.

I'd look forward to it!

grtjn avatar Feb 13 '15 18:02 grtjn

Fix #396 first..

grtjn avatar Feb 24 '15 20:02 grtjn

@paxtonhare / @dmcassel: Wondering, would that work for hybrid apps as well, or rest only?

By the way, we could make bootstrap and mlcp check properties against server-version, and have it suggest changing settings to save an app-server. Nice touch for existing projects..

grtjn avatar Feb 25 '15 09:02 grtjn

@grtjn should work fine for hybrid/mvc/bare -- the point is having an XDBC server and the ability to specify where it's loading content. Port 8000 provides that in ML8.

dmcassel avatar Feb 25 '15 14:02 dmcassel

I was just wondering whether the url-rewriter was influencing that, but totally forgot about port 8000.. :)

grtjn avatar Feb 25 '15 15:02 grtjn

Depends on #396, postponing it for now..

grtjn avatar Apr 30 '15 08:04 grtjn

In retrospect I'm wondering why the database option of MLCP is keeping us back here. We don't use that option now, and can run MLCP happily against app-port since ML8. I'm using that all the time. Actually, we already enforce xcc-port=${app-port} with install-xcc=false in slush-marklogic-node for quite a while now, and it has been working like a charm.

In short, I see no dependency on #396 (which I think is obsolete too since ML8), particularly if MLCP will just run against app-port, which would be the case with above settings.

Makes sense?

grtjn avatar Jun 08 '17 19:06 grtjn