Your message dated Sun, 06 May 2018 19:35:04 +0000
with message-id <[email protected]>
and subject line Bug#886090: fixed in lucene-solr 3.6.2+dfsg-13
has caused the Debian Bug report #886090,
regarding solr-jetty: Doesn't work out-of-the-box anymore; required symlink is 
missing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
886090: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886090
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: solr-jetty
Version: 3.6.2+dfsg-10
Severity: normal

Hi,

I'm using Solr to provide full-text indexing services for Dovecot,
which uses it to index e-mail bodies.  I've only barely scratched the
surface of Java, and know nothing about Java web application
development or deployment.

I installed Solr on my mail server when it was running Jessie or an
earlier release of Debian.  I seem to recall that the setup process at
that point in time was pretty straightforward.  Recreating the
scenario on a fresh Jessie system now, I see that all I needed to do
to get Jetty responding with Solr-generated responses was to install
solr-jetty, edit /etc/default/jetty8 to set NO_START=0, and restart
jetty8.

When I upgraded my mail server to Debian Stretch, Solr stopped
working.  Jetty responded with status 404 instead:

$ curl --verbose http://localhost:8080/solr/
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /solr/ HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.52.1
> Accept: */*
> 
< HTTP/1.1 404 Not Found
< Content-Type: text/html; charset=ISO-8859-1
< Cache-Control: must-revalidate,no-cache,no-store
< Content-Length: 289
< Server: Jetty(9.2.21.v20170120)
< 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/. Reason:
<pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

</body>
</html>
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact

Because of my lack of experience with the Java and Jetty ecosystem, it
was a confusing and frustrating process to get Solr working again.  It
seemed like the symlink /etc/jetty9/contexts/solr.xml ->
../../solr/solr-jetty.xml was supposed to be doing something, but it
apparently wasn't.  (On my Jessie test system, a similar symlink in
/etc/jetty8/contexts/ seems to be the piece that configures Jetty for
Solr.)

It seems like some configuration methods changed between Jetty 8
(Jessie) and Jetty 9 (Stretch).  Eventually, I found a helpful message
on jetty-users [1], and a pointer to the right part of the Jetty
documentation [2].  I created this symlink:

    $ sudo ln -s /etc/solr/solr-jetty.xml /var/lib/jetty9/webapps/solr.xml

After restarting Jetty, Jetty responded to /solr URLs again, and Solr
worked with my existing configuration and application as it did
previously.

If this symlink is always the right thing to do for an upgrade or a
new installation, would you please consider including it in the
package or having it created upon installation?  If it's not the right
thing to do in all cases, could you please add some instructions or
hints to README.Debian?

1. https://dev.eclipse.org/mhonarc/lists/jetty-users/msg05035.html
2. 
https://www.eclipse.org/jetty/documentation/current/deployment-architecture.html#default-web-app-provider

Thanks,

-J.P. Larocque

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8), LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages solr-jetty depends on:
ii  default-jdk [java5-sdk]    2:1.8-58
ii  jetty9                     9.2.21-1
ii  libjetty9-extra-java       9.2.21-1
ii  openjdk-8-jdk [java5-sdk]  8u151-b12-1~deb9u1
ii  solr-common                3.6.2+dfsg-10

solr-jetty recommends no packages.

solr-jetty suggests no packages.

-- no debconf information

-- 
J.P. Larocque <[email protected]>

--- End Message ---
--- Begin Message ---
Source: lucene-solr
Source-Version: 3.6.2+dfsg-13

We believe that the bug you reported is fixed in the latest version of
lucene-solr, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <[email protected]> (supplier of updated lucene-solr package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 06 May 2018 20:51:06 +0200
Source: lucene-solr
Binary: liblucene3-java liblucene3-contrib-java liblucene3-java-doc 
libsolr-java solr-common solr-tomcat solr-jetty
Architecture: source
Version: 3.6.2+dfsg-13
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Markus Koschany <[email protected]>
Description:
 liblucene3-contrib-java - Full-text search engine library for Java - 
additional libraries
 liblucene3-java - Full-text search engine library for Java - core library
 liblucene3-java-doc - Documentation for Lucene
 libsolr-java - Enterprise search server based on Lucene - Java libraries
 solr-common - Enterprise search server based on Lucene3 - common files
 solr-jetty - Enterprise search server based on Lucene3 - Jetty integration
 solr-tomcat - Enterprise search server based on Lucene3 - Tomcat integration
Closes: 886090
Changes:
 lucene-solr (3.6.2+dfsg-13) unstable; urgency=medium
 .
   * Team upload.
   * Symlink /etc/solr/solr-jetty.xml to /var/lib/jetty9/webapps/solr.xml
     to make solr-jetty work out-of-the-box.
     Thanks to Larocque for the report. (Closes: #886090)
Checksums-Sha1:
 1d3199ebc13cca70b57d9a224c67711fe79069df 3380 lucene-solr_3.6.2+dfsg-13.dsc
 5ba1e1a1f67f2b7a44b21f0911e3f6bd3c0fad1c 52924 
lucene-solr_3.6.2+dfsg-13.debian.tar.xz
 a9467b76916c8ea796a4b17e0e554eb075d7ee1b 15180 
lucene-solr_3.6.2+dfsg-13_amd64.buildinfo
Checksums-Sha256:
 cef1b2ee85ebea79dfe76a981b199e99521f16513e1d0c1f9b611b96b0a565b6 3380 
lucene-solr_3.6.2+dfsg-13.dsc
 3774ce38bda6f9dbbb3effc9677167ce34270264f88f78dd340ebf1ac21037aa 52924 
lucene-solr_3.6.2+dfsg-13.debian.tar.xz
 41f283d144968d7690dde5ead314d625a452509631b1fc5aaeed9289bb3e5cf2 15180 
lucene-solr_3.6.2+dfsg-13_amd64.buildinfo
Files:
 54dc75f10f8129b98b2959a62ee06274 3380 java optional 
lucene-solr_3.6.2+dfsg-13.dsc
 1197fbcb217076d0e4be5f4fb2c528c5 52924 java optional 
lucene-solr_3.6.2+dfsg-13.debian.tar.xz
 b95db0f726a29cf38573f0be2072fd64 15180 java optional 
lucene-solr_3.6.2+dfsg-13_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlrvVTtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkhZkP/iDYN1CgPzxoe3nxSikYkWM10ljdK7DhyOtG
n7ERGnt2uQT8WBaHzFTv4o3IiKZwMhhPd8t8As5rVzp0twTQHHxy4aFJuU2FTWBs
ScIPz/tHK/QU7WaBmmCarojzX70VbKxO5Fu6VLcfdsNTIVM3yg3pXM+yBW8pyXof
WkuYFxhc1qnhlBgb4+E0eQF1mFiiyiREVVaGWd9T91SnSl9MPysq+cVFBdyMs3Sm
gsnC91mWkeiGGckMLzr4eZXYYK4RmAmRy1Qm4xnVrIKHmZfgBTpdCcDG+QwiIZCI
XZFkKnGGhtLdHeIMMVm79NWsgUJu5XAETk0PZ5JnyOU1AdZ0oMA0yRPOeVE/ORWy
l/ohzVXYFte4MMkU1X+b2+BQ1aajibaW9wCOOYwT+EhNul1RJVjD+UvsLcxqIbQ5
D1dcSqczDaUCK1RJ1l/QAp5VzBb5TC1EEn/6KiRhSBjXeVWaIOYTFhI9Gbx4p7S8
7MbMBHua1xQ/8ZtDJmBItuMYBuc/i69xAeu+twN1l5dKTnsZS/qfkP5pGP40g2hq
VpUeCEjasELanJSFJbAn5W8MK7zBB+kysnt6a3C8uJEWE1HrtQ75fRZChfKxp73D
rpZfrOX31cAC/0WotdVIEjPY4Oa7Ot1jHekkjiIWrgo3AKnTtgVwmb78T+i6racj
9sy95BAv
=Eydv
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to