Hi,
I can't make Solr shut down properly when using Jetty 9. Tested this
with a simple plugin that only extends DirectUpdateHandler2, creates a
file in constructor and deletes it in close(). While it's working fine
in the example installation (the one that can be downloaded from Solr
site) an
After some investigation I found that the problem is not with Jetty's
version but usage of --exec flag.
Namely, when --exec is used (to specify JVM args) then shutdown is not
graceful, it seems that Java process that is just killed.
Not sure how to handle this...
Regards,
Artem Karpenko.
29.07
Uh, sorry for spamming, but if anyone interested there is a way to
properly shutdown Jetty when it's launched with --exec flag.
You can use JMX to invoke method stop() on the Jetty's Server MBean.
This triggers a proper shutdown with all Solr's close() callbacks executed.
I wonder why it's not n
Thanks for letting us know. See if you can add it to the documentation
somewhere.
Solr is not using Tomcat 9, but I believe that was primarily because Tomcat
9 requires Java 7 and Solr 4.x is staying with Java 6 as minimum
requirement.
Regards,
Alex.
Personal website: http://www.outerthoughts.
Of course, I meant Jetty (not Tomcat). So apologies for spam and confusion
of my own. The rest of the statement stands.
Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
Artem,
Whats the OS are using?
So far jetty 9 with solr 4.3.1 works ok under ubuntu 12.04.
On 30 Jul 2013 17:23, "Alexandre Rafalovitch" wrote:
> Of course, I meant Jetty (not Tomcat). So apologies for spam and confusion
> of my own. The rest of the statement stands.
>
> Personal website: http:/
Hello Dmitry,
it's Windows 7. I'm starting Jetty with java -jar start.jar
31.07.2013 12:36, Dmitry Kan пишет:
Artem,
Whats the OS are using?
So far jetty 9 with solr 4.3.1 works ok under ubuntu 12.04.
On 30 Jul 2013 17:23, "Alexandre Rafalovitch" wrote:
Of course, I meant Jetty (not Tomcat)
OK. On ubuntu there are shell scripts that come with jetty 9. They seem to
do the proper job (disclaimer: not yet extensive testing with solr done,
but looks good so far).
Not sure, how well jetty supports win environment on the life-cycle
automation side.
On Wed, Jul 31, 2013 at 1:43 PM, Artem K
: it's Windows 7. I'm starting Jetty with java -jar start.jar
Not sure if you are using cygwin, or if this is related but...
https://issues.apache.org/jira/browse/SOLR-3884
https://issues.apache.org/jira/browse/SOLR-3884?focusedCommentId=13462996&page=com.atlassian.jira.plugin.system.issuetabpan
I don't use Cygwin, but I guess it's similar in that in Windows there
are no signals at all so situation with missing shutdown hooks is the same.
31.07.2013 20:54, Chris Hostetter пишет:
: it's Windows 7. I'm starting Jetty with java -jar start.jar
Not sure if you are using cygwin, or if this
10 matches
Mail list logo