tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <woon...@apache.org>
Subject Re: Tomcat embedded with Apache Solr
Date Fri, 26 Oct 2018 21:54:09 GMT
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.
Let me know if you have any suggestions.

Cheers,

Woonsan

On Fri, Oct 19, 2018 at 9:09 AM Shawn Heisey <apache@elyograg.org> wrote:
>
> On 10/18/2018 8:55 AM, Christopher Schultz wrote:
> > Actually, my goal was to convince the Solr team that switching from
> > Jetty to Tomcat was (a) possible and (b) possibly attractive.
>
> Over on lucene-dev, I had said that I removed jetty from solr's ivy
> config and found only two classes with errors in eclipse.
>
> Turns out this was because I hadn't removed jetty from the *lucene* ivy
> config, so most of the jetty jars were actually still referenced in the
> eclipse build path.
>
> When I remove jetty from ALL ivy configs, there are 335 compile errors,
> across many more classes.  Some of those are on the Lucene side, where I
> have less concern.  The part of Lucene that utilizes Jetty is not used
> in Solr.
>
> As I expected, a lot of the errors are in test code, but some of them
> are in code that's not for tests.
>
> If you really want to see us switch to Tomcat, we'll need help fixing
> those errors ... switching the code over to generic APIs (servlet and
> native Java) where possible, and to Tomcat where necessary.  I would not
> expect the Tomcat community to actually do the work -- just provide
> expert guidance.  Although if anyone was interested in volunteering, I
> wouldn't turn away the help!
>
> Thanks,
> Shawn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message