You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2025/10/29 13:14:00 UTC
[jira] [Created] (SOLR-17978) Investigate SSL "specialcasing" of Jetty classpath
Jason Gerlowski created SOLR-17978:
--------------------------------------
Summary: Investigate SSL "specialcasing" of Jetty classpath
Key: SOLR-17978
URL: https://issues.apache.org/jira/browse/SOLR-17978
Project: Solr
Issue Type: Task
Components: scripts and tools
Affects Versions: 9.9, 10.0
Reporter: Jason Gerlowski
A coworker (credit to Shailja Roy) pointed out to me recently that the Jetty classpath is given a few more directories whenever SSL is enabled. The code for this is in the ["start Solr" portion of the "bin/solr" scripts|https://github.com/apache/solr/blob/main/solr/bin/solr#L213]:
{code}
if [ "$SOLR_SSL_ENABLED" == "true" ]; then
SOLR_JETTY_CONFIG+=("--module=https" "--lib=$DEFAULT_SERVER_DIR/solr-webapp/webapp/WEB-INF/lib/*")
{code}
I'm not a Jetty expert by any means so maybe this approach is "normal" and unconcerning. But I recall discussions about the importance of maintaining the distinction between the "Jetty" servlet classpath, and the classpath for the Solr application proper.
The aim of this JIRA ticket is to investigate and clarify what the practical consequences are (if any) of dumping a bunch of Solr jars onto Jetty's classpath. If there *are* downsides, we should find an alternate way of configuring SSL. Alternatively, if doing this is harmless, maybe we should remove the conditionality here. (Currently there are 5 different directories where jars "live" in a Solr deploy - reducing that number would be a nice simplification for our users and for us developers as well.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org