Re: Tomcat embedded with Apache Solr

2018-10-26 Thread Igal Sapir
Chris, On Sat, Oct 13, 2018 at 6:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I've posted a question to the Solr mailing list[1] about why Jetty is > being used instead of Tomcat, and it seems that it's just "alw

Re: Tomcat embedded with Apache Solr

2018-10-26 Thread Igal Sapir
Woonsan, On Fri, Oct 26, 2018 at 2:54 PM Woonsan Ko wrote: > Not sure if it helps, but I've spent some hours to test it out for my > curiosity. Embedding tomcat v9 with an example servlet is simple > enough, but it's not working yet with fully initialized Solr: > - https://github.com/woonsan/sol

Re: [EXTERNAL] Re: Tomcat custom location for configuration

2018-10-26 Thread Igal Sapir
Amit, On Fri, Oct 26, 2018 at 9:45 AM Amit Pande wrote: > Thank you once again, Chris and Mark! > > > https://tomcat.apache.org/tomcat-9.0-doc/introduction.html#CATALINA_HOME_and_CATALINA_BASE > > Was able to meet our requirement of moving Tomcat configuration to a > custom location using a diff

Re: Tomcat embedded with Apache Solr

2018-10-26 Thread Woonsan Ko
Not sure if it helps, but I've spent some hours to test it out for my curiosity. Embedding tomcat v9 with an example servlet is simple enough, but it's not working yet with fully initialized Solr: - https://github.com/woonsan/solr-tomcat I'm not there yet to understand the reasons and have fixes.

Re: Hostnames with underscores

2018-10-26 Thread Mark Thomas
On October 26, 2018 5:02:25 PM UTC, "M. Manna" wrote: >Have you checked the connector config doc for relaxedPathChars and >relaxedQueryChars? Those options have no impact on the parsing of the hist name. >On Fri, 26 Oct 2018 at 18:00, Amit Pande >wrote: > >> Hello all, >> >> Recent Tomcat versi

Re: [EXTERNAL] Re: Hostnames with underscores

2018-10-26 Thread M. Manna
Read the description on RFC 7230 and 3986 - just to be sure. You might be right after all. On Fri, 26 Oct 2018 at 18:25, Amit Pande wrote: > Yes, I did check the description, but did not find reference to underscore. > > From the documentation: > “The value may be any combination of the follow

Re: [EXTERNAL] Re: Hostnames with underscores

2018-10-26 Thread Amit Pande
Yes, I did check the description, but did not find reference to underscore. From the documentation: “The value may be any combination of the following characters: " < > [ \ ] ^ ` { | } . “ But I admit that I did not actually verify it and will see if these attributes work for underscore too. T

Re: Hostnames with underscores

2018-10-26 Thread M. Manna
Have you checked the connector config doc for relaxedPathChars and relaxedQueryChars? On Fri, 26 Oct 2018 at 18:00, Amit Pande wrote: > Hello all, > > Recent Tomcat versions (8.5.32 I think) has made a stricter validation for > hostnames with underscores in it. ( > https://bz.apache.org/bugzil

Hostnames with underscores

2018-10-26 Thread Amit Pande
Hello all, Recent Tomcat versions (8.5.32 I think) has made a stricter validation for hostnames with underscores in it. (https://bz.apache.org/bugzilla/show_bug.cgi?id=62371) This is understandably for addressing security issues (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6816) an

Re: [EXTERNAL] Re: Tomcat custom location for configuration

2018-10-26 Thread Amit Pande
Thank you once again, Chris and Mark! https://tomcat.apache.org/tomcat-9.0-doc/introduction.html#CATALINA_HOME_and_CATALINA_BASE Was able to meet our requirement of moving Tomcat configuration to a custom location using a different CATALINA_BASE. The "-config" option will be cleaned up in next