Your message dated Mon, 02 Sep 2019 12:50:05 +0000
with message-id <e1i4lmx-0009ej...@fasolo.debian.org>
and subject line Bug#933854: fixed in lucene-solr 3.6.2+dfsg-21
has caused the Debian Bug report #933854,
regarding solr-jetty: Jetty refuses to start SOLR due to a probably depreceated 
Call <Call name="addAliasCheck">
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 ow...@bugs.debian.org
immediately.)


-- 
933854: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933854
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: solr-jetty
Version: 3.6.2+dfsg-20
Severity: grave
Justification: renders package unusable

Hi Maintainers,

Jetty refuses to start SOLR due to a (probably) depreceated call in
/etc/solr/solr-jetty.xml:

<Call name="addAliasCheck">
    <Arg>
      <New 
class="org.eclipse.jetty.server.handler.ContextHandler$ApproveSameSuffixAliases"/>
    </Arg>
  </Call>


Here is the relevant part from journalctl:

Aug 04 14:55:00 srv1 jetty9[3616]: 2019-08-04 
14:55:00.970:WARN:oejx.XmlConfiguration:main: Config error at <Call 
name="addAliasCheck"><Arg>|      <New 
class="org.eclipse.jetty.server.handler.ContextHandler$Approv
Aug 04 14:55:00 srv1 jetty9[3616]: 2019-08-04 
14:55:00.970:WARN:oejd.DeploymentManager:main: Unable to reach node goal: 
started
Aug 04 14:55:00 srv1 jetty9[3616]: java.lang.ClassNotFoundException: 
org.eclipse.jetty.server.handler.ContextHandler$ApproveSameSuffixAliases
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.Loader.loadClass(Loader.java:65)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:834)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1309)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1214)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:326)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1442)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1417)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:780)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:472)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:413)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:311)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.providers.WebAppProvider.createContextHandler(WebAppProvider.java:301)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.App.getContextHandler(App.java:105)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.bindings.StandardDeployer.processBinding(StandardDeployer.java:38)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:192)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:505)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:151)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:453)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:579)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:240)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.server.Server.start(Server.java:415)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.server.Server.doStart(Server.java:382)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1572)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/java.security.AccessController.doPrivileged(Native Method)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1511)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
java.base/java.lang.reflect.Method.invoke(Method.java:566)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.start.Main.invokeMain(Main.java:220)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.start.Main.start(Main.java:490)
Aug 04 14:55:00 srv1 jetty9[3616]:         at 
org.eclipse.jetty.start.Main.main(Main.java:77)




Commenting out the depreceated call (like in the modified solr-jetty.xml
attached below) seems to fix the problem.


Best regrads,

stephan


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

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=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.11-71
ii  jetty9                      9.4.15-1
ii  libjetty9-extra-java        9.4.15-1
ii  openjdk-11-jdk [java5-sdk]  11.0.3+7-5
ii  solr-common                 3.6.2+dfsg-20

solr-jetty recommends no packages.

solr-jetty suggests no packages.

-- Configuration Files:
/etc/solr/solr-jetty.xml changed:
<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" 
"http://www.eclipse.org/jetty/configure.dtd";>
<!-- Context configuration file for the Solr web application in Jetty -->
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath">/solr</Set>
  <Set name="war">/usr/share/solr/web</Set>
  <!-- Set the solr.solr.home system property -->
  <Call name="setProperty" class="java.lang.System">
    <Arg type="String">solr.solr.home</Arg>
    <Arg type="String">/usr/share/solr</Arg>
  </Call>
  <!-- Enable symlinks -->
  <!-- Disabled to avoid probelms with starting SOLR 
  <Call name="addAliasCheck">
    <Arg>
      <New 
class="org.eclipse.jetty.server.handler.ContextHandler$ApproveSameSuffixAliases"/>
    </Arg>
  </Call>
  -->
</Configure>


-- no debconf information

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

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 933...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <a...@debian.org> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 02 Sep 2019 14:07:25 +0200
Source: lucene-solr
Architecture: source
Version: 3.6.2+dfsg-21
Distribution: unstable
Urgency: high
Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Markus Koschany <a...@debian.org>
Closes: 933854 933857
Changes:
 lucene-solr (3.6.2+dfsg-21) unstable; urgency=high
 .
   * Team upload.
   * Switch to debhelper-compat = 12.
   * Disable obsolete call to ContextHandler in solr-jetty9.xml.
     Install solr-permissions.conf into /etc/systemd/system/jetty9.service.d/ 
and
     override read-only permissions of Jetty9 which will allow the service to
     start out-of-the-box again.
     Thanks to Stephan Beirer for the report. (Closes: #933854, #933857)
   * Declare compliance with Debian Policy 4.4.0.
Checksums-Sha1:
 8a1cb14b025851d4a74efcd4bd047d81dcd52bca 3321 lucene-solr_3.6.2+dfsg-21.dsc
 882ff69d895af04603de6303208dad2fbe4c83ec 53448 
lucene-solr_3.6.2+dfsg-21.debian.tar.xz
 d65211ec6deab8ecf52cc789a4c0f6f061fdaee2 12295 
lucene-solr_3.6.2+dfsg-21_amd64.buildinfo
Checksums-Sha256:
 c79cbc97e471117585182cc1762e1686d1582b8527ad4ed65e427cf084dfa1f6 3321 
lucene-solr_3.6.2+dfsg-21.dsc
 8f894baa1789cc10e3a41d7b991b670729bb21df554ee856858d94c116f5af5e 53448 
lucene-solr_3.6.2+dfsg-21.debian.tar.xz
 edbe7ef5423ddb3f6ddedb9b449258519bce121c09bfbeaa6153677ad9bc5f28 12295 
lucene-solr_3.6.2+dfsg-21_amd64.buildinfo
Files:
 c18fe8b8518176ec0a7a697dfb8872a0 3321 java optional 
lucene-solr_3.6.2+dfsg-21.dsc
 ab920287a05321f735e3a9302bf86ec3 53448 java optional 
lucene-solr_3.6.2+dfsg-21.debian.tar.xz
 ab5c382d7e091374d40afa8ee0f2db72 12295 java optional 
lucene-solr_3.6.2+dfsg-21_amd64.buildinfo

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

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAl1tCuhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkbzYP/1SOabkSl+xCU6F8LOdYUZcJgQeN+InaA6it
qnOLah5hOiRb/bWRwTD3Pd3i5GzL1oLccCTENHdKNbTv1oxkxANI2IVIjwAVWkel
DHfpF9Mju5GJ3iq7rbcludQcWR+9BjGm9dCEBSkXAHl9ATR07+5K6n4zLWr0jww3
C57BfydaJbsWjCYmwUTJe1YlZIryRXlYJNeFoyPc0JsgHqCdHPe2oOro9W1OS2Zu
EwZovtKfdnUJOEa93hurIAoKfSw5patfDJKsbl8ZRpLU3TA0zjuvNTH5e4HEKgVy
q41a1zarSWgVf/ESYC6mDLsVEwhZIr6i2Dn64pRaNml5+4bZGKA39I09cnReaSvK
7lryK6Zw8QpZLUwHwgwe/qz6rvwa/OREL3pCwKxP5mUWwsojCMEw4UPpoZrvJrN6
XtikuM/norqxcGKRZjmTNC+EievUyZS5zzl4EVfUWOhv/byZvsl8Q5iapOnc+yfD
P8RsrA0tC9Qrgwg+6neOtQ1LriutY9AkjFgkWHZb6btvlIlZl5OKmno6I0HaakVU
+H8nDEdaCjfVHBgjApAQnwGCAvbAMF4QMdXqPdnJzeowO9Kh+4VlN3QO+Rh6V4Hy
hgjj1PYRZ1B1C6UQMKIsoRVvDawzsuW6GSPXSinhfXf1YoLUr5b+IeCTb3zTV4yk
wvjUjIuT
=YtXZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to