[ 
https://issues.apache.org/jira/browse/SOLR-14714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188881#comment-17188881
 ] 

ASF subversion and git services commented on SOLR-14714:
--------------------------------------------------------

Commit 070237cd97cd5c1a3fc0663bd137c7b834c1088e in lucene-solr's branch 
refs/heads/jira/SOLR-14383 from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=070237c ]

SOLR-14714: Solr.cmd in windows loads the incorrect jetty module when using 
java>=9


> Solr.cmd in windows loads the incorrect jetty module when using java>=9
> -----------------------------------------------------------------------
>
>                 Key: SOLR-14714
>                 URL: https://issues.apache.org/jira/browse/SOLR-14714
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 8.6
>         Environment: Windows environment running in Solr Cloud mode with SSL.
>            Reporter: Endika Posadas
>            Assignee: Erick Erickson
>            Priority: Major
>              Labels: Windows, startup
>             Fix For: 8.6
>
>         Attachments: SOLR-14714.patch, load_java_info_first.patch
>
>
> In Solr.cmd, when using SSL, there is a check to verify what version of java 
> solr is running with. If this version of Java is greater or equal java 9 it 
> will load the jetty https module while for java 8 it will use https8.
> However, this java version check is done before the java major version 
> variable has been assigned. As a result, Solr in windows doesn't work when 
> SSL is enabled.
>  
> To fix this issue, it is enough if java checks are done before SSL checks.
>  
> I have attached a patch with the modifications.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to