Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

RFE: skip XDBC server on ML8 #373

Open
joemfb opened this issue Feb 12, 2015 · 11 comments
Open

RFE: skip XDBC server on ML8 #373

joemfb opened this issue Feb 12, 2015 · 11 comments

Comments

@joemfb
Copy link
Contributor

joemfb commented Feb 12, 2015

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?

@dmcassel
Copy link
Collaborator

+1 on those being defaults

@paxtonhare
Copy link
Contributor

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.

@dmcassel
Copy link
Collaborator

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

@paxtonhare
Copy link
Contributor

Then +1 for me too.

@grtjn
Copy link
Contributor

grtjn commented Feb 13, 2015

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

I'd look forward to it!

@grtjn
Copy link
Contributor

grtjn commented Feb 24, 2015

Fix #396 first..

@grtjn
Copy link
Contributor

grtjn commented Feb 25, 2015

@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..

@dmcassel
Copy link
Collaborator

@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.

@grtjn
Copy link
Contributor

grtjn commented Feb 25, 2015

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

@grtjn grtjn added this to the 1.7.2 milestone Feb 25, 2015
@grtjn
Copy link
Contributor

grtjn commented Apr 30, 2015

Depends on #396, postponing it for now..

@grtjn
Copy link
Contributor

grtjn commented Jun 8, 2017

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants