-
Notifications
You must be signed in to change notification settings - Fork 66
bootstrap failing on Windows in 1.7.7, but not 1.7.5 #830
Comments
Hmm, more likely the jar is out of sync. setup:do-setup is only invoked from roxy/deploy/lib/server_config.rb Line 891 in 2715ab5
|
@RobertSzkutak could you take a peek at this? |
Thanks Geert ... that's actually the line I should have linked to. I could see the properties map being passed through |
Ah, I understand now. Yep, it is definitely a version sync problem. I had an older version of Roxy in It makes sense. I'll just put a note in the wiki page on Roxy jars that you should grab the same jar version as your local Roxy (in version.txt). |
I don't have wiki editing privileges ... here is the page: https://github.com/marklogic-community/roxy/wiki/Run-Roxy-as-a-Jar. |
Not sure it is required to have same version of the roxy jar as you have local, as it is supposed to use lib files from within the jar. It would be like you upgraded Roxy basically, but without replacing all files. I still suspect something is wrong with the jar. |
I gave you edit privs nonetheless.. |
FWIW I did do my JAR testing on Windows. My testing includes trying a suite of a combination of functions. I can't say I've tried a JAR with older Ruby files but offhand I would expect the JAR would act independent of those. I should be able to look into this and do some further testing tonight. |
Another mention of this by Stephen Crook, trying to use roxy.jar 1.7.7 with RunDMC. He had the same error message, which went away when reverting to roxy.jar 1.7.5. I think the culprit lies in the fact that roxy is taking server_config.rb from the jar, but setup.xqy from filesystem. The xqy file is included in the jar, but roxy is simply not looking there..
|
The issue
Short description of the problem:
What are the steps to reproduce the problem?
Change the bootstrap port from 8000 on Windows in local.properties (because the prospect's laptop had an unchangeable port conflict):
bootstrap-port-five=8010
qconsole-port=8010
Run
java -jar roxy.jar local bootstrap
Get error on setup:do-setup, expected 2 args, got 3, probably because the connection_string is being appended to the POST: https://github.com/marklogic-community/roxy/blob/master/deploy/lib/server_config.rb#L1637
Tech Specs
Which Operating System are you using?
Which version of MarkLogic are you using?
Which version of Roxy are you using (see version.txt)?
Was using the 1.7.7 jar. Downgrading to 1.7.5 fixed it.
The text was updated successfully, but these errors were encountered: