Your message dated Tue, 17 Sep 2019 12:02:08 +0000
with message-id <e1iacbm-00079x...@fasolo.debian.org>
and subject line Bug#933854: fixed in lucene-solr 3.6.2+dfsg-20+deb10u1
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-20+deb10u1

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: Wed, 04 Sep 2019 22:30:29 +0200
Source: lucene-solr
Architecture: source
Version: 3.6.2+dfsg-20+deb10u1
Distribution: buster
Urgency: medium
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-20+deb10u1) buster; urgency=medium
 .
   * Team upload.
   * 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)
Checksums-Sha1:
 9962bb04aacde01d74c39a1030887b71ac5e3625 3347 
lucene-solr_3.6.2+dfsg-20+deb10u1.dsc
 66fa30dfebfae425de4ed3309baf8fe3ba52a7a8 53668 
lucene-solr_3.6.2+dfsg-20+deb10u1.debian.tar.xz
 ad4ecf8c068b5b5f8f34c2c45887fc5c3099cfff 12191 
lucene-solr_3.6.2+dfsg-20+deb10u1_amd64.buildinfo
Checksums-Sha256:
 430d8c086b8459b87ab2141c5a0592477a7c0a18e6abe5febe83cfd0518cc3b4 3347 
lucene-solr_3.6.2+dfsg-20+deb10u1.dsc
 601e024ea409d26a5e3cf87fb5f7de7e4b23fc7f271a93b371580a40336de21e 53668 
lucene-solr_3.6.2+dfsg-20+deb10u1.debian.tar.xz
 c13e891eeadc7737762dea87a00c5909f46202be946b3bd4fa73378610a41bc1 12191 
lucene-solr_3.6.2+dfsg-20+deb10u1_amd64.buildinfo
Files:
 7a591b1675dfdd68db747966ed311632 3347 java optional 
lucene-solr_3.6.2+dfsg-20+deb10u1.dsc
 e7e5a7a20e05cd61c4877f85e911d4ae 53668 java optional 
lucene-solr_3.6.2+dfsg-20+deb10u1.debian.tar.xz
 082427900251c01a07c643915697dec9 12191 java optional 
lucene-solr_3.6.2+dfsg-20+deb10u1_amd64.buildinfo

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

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAl1wIjhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1Hk51MP/0djzYtVb9F2ekmL5/aOuww4sijlorLKkOYK
syFJhTcvhX+M80LI6DwRvM33iJQsDm6BlijXw+yyr8068pWEVGok13yOnYb8HJno
YWU9IEv/0UTspl/sVIkblQwmANMiTnTJfyWhVpYo9CegGxOJs35EGWwznXBdQTwB
cfcCNB9B67tMD4GAET8qqOmBk1rCgjWjyHHj9s6lB7zhLUjrV0/GTgxQsTdwRu7C
6ichvUFo2x5kMAqiNLZjKR/siy9zq7T8Rhf4TKBtr/bjYdxyvy1klINcENoaziMm
cb9Y4wR3vF0LayQP9AuIiPhWICoryzGgkKyShHn5k/Kxuts7V1VQlL7tErSnH2F9
nFqkvDnKALEbs3s6m/jRjZRcNc8MAOJ0pQW1DKwQOsCGeqoCN7xg5kxzGJ0X7tZf
LmYY7vgG1uZZzqIF6uSDZVlqsOJ7KbxzQdrqUCngavPJvgRNU5X9rJIoggbdiMyc
98Kqmw6NYfJrkTflcd4i2cDAaM7nkRZR4cVoaZs3MFa5WHZhGlrVpQFCOPftQMgu
6I/c00ABskpeStHSO/ZPGJWUbfQo+OZta70bgg0VMyg8W3rOza/HgywmOrwOPFKc
WHi8iFdkHFbhbEK02Sv2GkCozPTnsK+7DiunFlJN2RP+q3OPymluY/xretm0GYCh
RDlhwtYY
=stvv
-----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
debian-j...@lists.debian.org for discussions and questions.

Reply via email to