Bug#856626: solr-tomcat: fails to start

2017-03-02 Thread Matthias Liertzer
Package: solr-tomcat
Version: 3.6.2+dfsg-9
Severity: grave
Justification: renders package unusable

solr doesn't start with the following error message(s) in the log

03-Mar-2017 00:04:42.268 SEVERE [localhost-startStop-1]
org.apache.tomcat.util.digester.Digester.startElement Begin event threw 
exception
 java.lang.ClassNotFoundException:
 org.apache.naming.resources.FileDirContext
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1190)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1458)
at 
org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:537)
at 
org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:494)
at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:738)
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:310)
at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at 
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:395)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:108)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:596)
at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1805)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Best regards


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

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

Versions of packages solr-tomcat depends on:
ii  solr-common  3.6.2+dfsg-9
ii  tomcat8  8.5.11-1

solr-tomcat recommends no packages.

solr-tomcat suggests no packages.

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#856602: postinst sed delimiter causes failure

2017-03-02 Thread Emmanuel Bourg
Hi Joshua,

The tomcat7/7.0.75-1 package no longer exist in unstable/testing. Did
you mean to report this issue against the Jessie backport?

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


hikaricp_2.6.0-1_amd64.changes ACCEPTED into unstable, unstable

2017-03-02 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Wed, 01 Mar 2017 15:29:20 +0200
Source: hikaricp
Binary: libhikaricp-java libhikaricp-java-doc
Architecture: source all
Version: 2.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 

Changed-By: Apollon Oikonomopoulos 
Description:
 libhikaricp-java - high-performance JDBC connection pool library
 libhikaricp-java-doc - high-performance JDBC connection pool library - 
documentation
Closes: 855727
Changes:
 hikaricp (2.6.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #855727)
Checksums-Sha1:
 7618d2906828908d295f999cb150992349e78e53 2234 hikaricp_2.6.0-1.dsc
 35111b55ff1fa0707cc5c31dc09bce0279a921fe 105431 hikaricp_2.6.0.orig.tar.gz
 5528db1e817563adf82cb6f71787105494b667da 3372 hikaricp_2.6.0-1.debian.tar.xz
 938234543c48e5377692c2731e89846a51fcb265 14077 hikaricp_2.6.0-1_amd64.buildinfo
 7f79ff2d3d511d22e2526adf4caf1c479ad60e0c 77784 
libhikaricp-java-doc_2.6.0-1_all.deb
 4ec48478c82f2a4a14ef81e9e357883da28d6e97 131700 
libhikaricp-java_2.6.0-1_all.deb
Checksums-Sha256:
 ac4f3f05c400c724fbb5b4c9eddf5e624cbeb2def5a56938bca7005e9960f996 2234 
hikaricp_2.6.0-1.dsc
 74c288bd5535c4162ba71e8641c4dd2b1bbe0e860ec51e5cce5d1e18f49467fe 105431 
hikaricp_2.6.0.orig.tar.gz
 178e55e2cbf0061c6a5a92f3fcd5e6fd223564c267e04dccbcc2b2d09576f3d9 3372 
hikaricp_2.6.0-1.debian.tar.xz
 24dba527e34e051e2b818e8608f57ab25727a5727f1e97ea52c2fd9b73f87abc 14077 
hikaricp_2.6.0-1_amd64.buildinfo
 209759ec74b8c2837dfdf7fcdc96ff543b367d329501a987c0bb2f2d3d5a04b9 77784 
libhikaricp-java-doc_2.6.0-1_all.deb
 ab1dd59e843aff9910f2dd697248188e7fcde0d8605a0dc833975369ad419915 131700 
libhikaricp-java_2.6.0-1_all.deb
Files:
 b8f373bded21137efb860fc431910488 2234 java optional hikaricp_2.6.0-1.dsc
 7354c1e457e1ae6971f866e092f66d30 105431 java optional 
hikaricp_2.6.0.orig.tar.gz
 8e8097914af188c420cd2ce6fb82a7fa 3372 java optional 
hikaricp_2.6.0-1.debian.tar.xz
 fb74230d038a9ee655a568afc6314e1a 14077 java optional 
hikaricp_2.6.0-1_amd64.buildinfo
 0607d8a823f18af8135d2c7088fdd97a 77784 doc optional 
libhikaricp-java-doc_2.6.0-1_all.deb
 3f64d074c63f1f8af43f358a255db215 131700 java optional 
libhikaricp-java_2.6.0-1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEPgL9ZlYpWVIRC6uZ9RsYxyAkgiQFAli2zqYACgkQ9RsYxyAk
giQT9g/8CyXg0MvNA9rynS/Hy61c+rfGOUfT1ihejhVxl8iNogTyamElVce/3Cht
UacGm/YeFUf7aDEIXYJSfZG8FvJuIbH4swTyvNBFD+7RtLnKoTWvyU4XVSSp0oto
ntI12F/Na+2ENNRKmHJjIpxgQCTIn+Gfyh5BgrygJjcXnx8sRqifIi23F5LH+rsp
5GRCit2cEXZwCnIR4UUqIFZkkp4soxstmRBTkD5CKJ4V2qfz0QRp9ovJiBqrhgL0
vz/066BTrdrF1jYm4iCWVfbm/LIefecLE1CwB6pIWGyUZ26js9Oe2hUH7DzvoIWD
bCTL/DXGoZ/9aclRn2Q6s1+qxehTh0prFT3HHhBliYV7G3uqReIkzYQUtxeZUj35
I/0kpsLM8BWZmjvGDvevqtV55AAa73Dd9E0mY58KCDDRUxEPycJGP6bGc2XhfjN/
P0pf4oSSSMpniFAlWINh8PrghuXI11A43aNduJDCamEuM3OyBZSfUKsyR/eoYxZp
18aW/ke2JSWep93OFgu876x4HHLu1KofxHoea+Khp0Bzt/kx8spFRWGUJdjQzZrJ
3mbKHG1aTWGANJvOOmZ5Q9NRfJ6TUfKBQxZczTlw6naLy+njgmLZQmfeTZR3EY4I
DiisazLkKdfPJhMbceUS/O5R+5azdTK3ZZUbSJGgkIOjX9VxdXI=
=kQbB
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#856602: postinst sed delimiter causes failure

2017-03-02 Thread Joshua Powers
Package: tomcat7
Version: 7.0.75-1

Similiar to Debian bug #597814, the sed statement in the postinst
assumes there is no '%' in a user's JAVA_OPTS. However, this is a valid
possiblity, for example:

-XX:ErrorFile=/var/log/tomcat7/java_error%p.log

This will cause the sed command to fail as it finds a % too early. The
delimiter was previous a '/' however, that can obviously be found in a
path. I would propose that this be changed to use the '|' symbol as it
should be even less common then the % symbol.

Another alternative to remove this situation entirely would be to escape
the strings matching the delimeter. 

debian/tomcat7.postinst debian/tomcat7.postinst
index a8919dd..083c6a3 100644
--- debian/tomcat7.postinst
+++ debian/tomcat7.postinst
@@ -20,9 +20,9 @@ case "$1" in
tmpfile=`mktemp /tmp/tomcat7.XX`
chmod 644 $tmpfile
cat $TEMPLATE \
-   | sed "s%^TOMCAT7_USER=.*$%TOMCAT7_USER=$TOMCAT7_USER%" \
-   | sed "s%^TOMCAT7_GROUP=.*$%TOMCAT7_GROUP=$TOMCAT7_GROUP%" \
-   | sed "s%^JAVA_OPTS=.*$%JAVA_OPTS=\"$JAVA_OPTS\"%" \
+   | sed "s|^TOMCAT7_USER=.*$|TOMCAT7_USER=$TOMCAT7_USER|" \
+   | sed "s|^TOMCAT7_GROUP=.*$|TOMCAT7_GROUP=$TOMCAT7_GROUP|" \
+   | sed "s|^JAVA_OPTS=.*$|JAVA_OPTS=\"$JAVA_OPTS\"|" \
>> $tmpfile
ucf --debconf-ok --sum-file /usr/share/tomcat7/defaults.md5sum $tmpfile 
$CONFFILE
rm -f $tmpfile


-- 
Joshua Powers
Ubuntu Server
Canonical Ltd

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#856560: ppc64el: "Cannot find any VM in Java Home" issue

2017-03-02 Thread Emmanuel Bourg
Le 2/03/2017 à 14:48, Breno Leitao a écrit :

> This is a debdiff that fixes this problem on Power.

Thank you, it looks good. If you want you can upload the update as a
team upload. Just join the team [1] and you'll get commit access on the
Git repository [2].

[1] https://alioth.debian.org/project/request.php?group_id=30085
[2] https://anonscm.debian.org/git/pkg-java/commons-daemon.git

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#856560: ppc64el: "Cannot find any VM in Java Home" issue

2017-03-02 Thread Breno Leitao
Hello,

This is a debdiff that fixes this problem on Power.

Thanks

diff -Nru commons-daemon-1.0.15/debian/changelog 
commons-daemon-1.0.15/debian/changelog
--- commons-daemon-1.0.15/debian/changelog  2017-01-04 18:56:59.0 
-0500
+++ commons-daemon-1.0.15/debian/changelog  2017-03-02 07:51:51.0 
-0500
@@ -1,3 +1,9 @@
+commons-daemon (1.0.15-7.1) unstable; urgency=medium
+
+  * Fixes "Cannot find any VM in Java Home" on ppc64el (Closes: #856560)
+
+ -- Breno Leitao   Thu, 02 Mar 2017 07:51:51 -0500
+
 commons-daemon (1.0.15-7) unstable; urgency=medium
 
   * Team upload.
diff -Nru commons-daemon-1.0.15/debian/patches/ppc64el.diff 
commons-daemon-1.0.15/debian/patches/ppc64el.diff
--- commons-daemon-1.0.15/debian/patches/ppc64el.diff   2017-01-04 
18:56:59.0 -0500
+++ commons-daemon-1.0.15/debian/patches/ppc64el.diff   2017-03-02 
07:50:01.0 -0500
@@ -1,7 +1,7 @@
 Description: Add ppc64el support
 Author: Colin Watson 
-Forwarded: https://issues.apache.org/jira/browse/DAEMON-326
-Last-Update: 2014-11-06
+Forwarded: https://issues.apache.org/jira/browse/DAEMON-358
+Last-Update: 2017-03-02
 
 Index: b/src/native/unix/configure
 ===
@@ -12,9 +12,9 @@
  HOST_CPU=aarch64
  ;;
 +  powerpc64le)
-+CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\""
-+supported_os="powerpc64le"
-+HOST_CPU=powerpc64le
++CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\""
++supported_os="ppc64le"
++HOST_CPU=ppc64le
 +;;
*)
  echo "$as_me:$LINENO: result: failed" >&5
@@ -28,9 +28,9 @@
  HOST_CPU=aarch64
  ;;
 +  powerpc64le)
-+CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\""
-+supported_os="powerpc64le"
-+HOST_CPU=powerpc64le
++CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\""
++supported_os="ppc64le"
++HOST_CPU=ppc64le
 +;;
*)
  AC_MSG_RESULT([failed])
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Processed: Re: Bug#856560: ppc64el: "Cannot find any VM in Java Home" issue

2017-03-02 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 important
Bug #856560 [jsvc] ppc64el: "Cannot find any VM in Java Home" issue
Severity set to 'important' from 'serious'

-- 
856560: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856560
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#856560: ppc64el: "Cannot find any VM in Java Home" issue

2017-03-02 Thread Emmanuel Bourg
Control: severity -1 important

Thank you for the report Breno. I'm lowering the severity, I don't think
this is critical to the point the package should be removed from Stretch.

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#856560: ppc64el: "Cannot find any VM in Java Home" issue

2017-03-02 Thread Breno Leitao
Package: jsvc
Version: 1.0.15-7
Severity: serious
Tags: patch

Hello, package jsvc does not work on ppc64el right now.

On ppc64 and ppc64le archs jsvc looks for jvm.cfg and JVM shared objects
in the wrong path. Be it used with IBM Java or OpenJDK (where the
problem was first encountered), there is no dir called power64 or
power64le. Instead ppc64 and ppc64le are used. In doing so, it fails
with "Cannot find any VM in Java Home"

I am attaching a patch that fix this issue, as fixed upstream:

https://issues.apache.org/jira/browse/DAEMON-358

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: ppc64el (ppc64le)
Foreign Architectures: powerpc

Kernel: Linux 4.8.0-1-powerpc64le (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages jsvc depends on:
ii  libc6   2.24-9
ii  libcommons-daemon-java  1.0.15-7

Versions of packages jsvc recommends:
ii  default-jre-headless [java2-runtime-headless]2:1.8-58
ii  openjdk-8-jre-headless [java2-runtime-headless]  8u121-b13-3

jsvc suggests no packages.

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.