-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOLR-16973: fix REMOTE_JMX_OPTS to delayed expansion #1917
Conversation
Delayed expansion is a pain, but it looks okay to me. Can you merge When starting with JMX enabled, do you also see this error?
|
1348103
to
aa7f498
Compare
No, but I must admit I testet it against solr 9.2.1 it looks like the logger was introduced in Solr 9.3? |
# Conflicts: # solr/CHANGES.txt
* fix REMOTE_JMX_OPTS to delayed expansion * Update CHANGES.txt --------- Co-authored-by: Colvin Cowie <[email protected]>
Ok, I've raised https://issues.apache.org/jira/browse/SOLR-16976 for it |
https://issues.apache.org/jira/browse/SOLR-16973
Description
On windows RMI can not be enabled using the solr.in.cmd.
This is because the REMOTE_JMX_OPTS is changed in solr.cmd but it is used as static %REMOTE_JMX_OPTS% instead using delayed expansion !REMOTE_JMX_OPTS!
Solution
use !REMOTE_JMX_OPTS! instead of %REMOTE_JMX_OPTS%
Tests
manual tested by enabling RMI on windows
Checklist
Please review the following and check all that apply:
main
branch../gradlew check
.