Bug#895028: activemq: Enable module activemq-jdbc-store

2018-04-13 Thread Markus Koschany
On Fri, 06 Apr 2018 13:21:08 +0200 Michail Bachmann
 wrote:
> Package: activemq
> Version: 5.15.3-1
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
> I'm currently using activemq on wheezy configured as jdbc master-slave. 
> 
> When I tried to update the server to the current stable version, the activemq
> service refused to start. I've since learned, that the activemq-jdbc-store
> module was disabled some time in the past, though in the description of the
> package still mentions "persistence using JDBC along with journaling".
> 
> Please find attached two patches (for the versions in stretch and sid), which
> re-enable the module. I've tested the patched packages and they seem to do 
> what
> I need.
> 
> With best regards,
> 
> Michail Bachmann

Thank you very much for the patch. We currently have some issues
building activemq with OpenJDK 9 and later but as soon as this is
resolved, we will consider your patch.

Regards,

Markus



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

Bug#895028: activemq: Enable module activemq-jdbc-store

2018-04-06 Thread Michail Bachmann
Package: activemq
Version: 5.15.3-1
Severity: important
Tags: patch

Dear Maintainer,

I'm currently using activemq on wheezy configured as jdbc master-slave. 

When I tried to update the server to the current stable version, the activemq
service refused to start. I've since learned, that the activemq-jdbc-store
module was disabled some time in the past, though in the description of the
package still mentions "persistence using JDBC along with journaling".

Please find attached two patches (for the versions in stretch and sid), which
re-enable the module. I've tested the patched packages and they seem to do what
I need.

With best regards,

Michail Bachmann

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages activemq depends on:
ii  adduser  3.117
ii  default-jre-headless [java7-runtime-headless]2:1.9-62
ii  libactivemq-java 5.15.3-1
ii  liblog4j1.2-java 1.2.17-8
ii  lsb-base 9.20170808
ii  openjdk-7-jre-headless [java7-runtime-headless]  7u111-2.6.7-1
ii  openjdk-8-jre-headless [java7-runtime-headless]  8u162-b12-1
ii  openjdk-9-jre-headless [java7-runtime-headless]  9.0.4+12-2

activemq recommends no packages.

activemq suggests no packages.

-- no debconf information
>From e5dd33e48735f09b4d0664a8015c3ad7a783c367 Mon Sep 17 00:00:00 2001
From: Michail Bachmann 
Date: Thu, 5 Apr 2018 15:00:41 +0200
Subject: [PATCH] Enable activemq-jdbc-store module

---
 debian/activemq.links   |  4 +-
 debian/changelog|  9 
 debian/control  |  2 +
 debian/libactivemq-java.README.Debian   |  1 -
 debian/libactivemq-java.poms|  2 +-
 debian/maven.ignoreRules|  1 -
 debian/patches/enable-activemq-jdbc-store.patch | 61 +
 debian/patches/series   |  1 +
 8 files changed, 77 insertions(+), 4 deletions(-)
 create mode 100644 debian/patches/enable-activemq-jdbc-store.patch

diff --git a/debian/activemq.links b/debian/activemq.links
index 271e1e47..73863a0f 100644
--- a/debian/activemq.links
+++ b/debian/activemq.links
@@ -4,6 +4,7 @@
 /usr/share/java/activemq-console.jar  
/usr/share/activemq/lib/activemq-console.jar
 /usr/share/java/activemq-jaas.jar 
/usr/share/activemq/lib/activemq-jaas.jar
 /usr/share/java/activemq-kahadb-store.jar 
/usr/share/activemq/lib/activemq-kahadb-store.jar
+/usr/share/java/activemq-jdbc-store.jar 
/usr/share/activemq/lib/activemq-jdbc-store.jar
 /usr/share/java/activemq-mqtt.jar 
/usr/share/activemq/lib/activemq-mqtt.jar
 /usr/share/java/activemq-openwire-legacy.jar 
/usr/share/activemq/lib/activemq-openwire-legacy.jar
 /usr/share/java/activemq-protobuf.jar 
/usr/share/activemq/lib/activemq-protobuf.jar
@@ -18,7 +19,8 @@
 /usr/share/java/commons-httpclient.jar   
/usr/share/activemq/lib/optional/commons-httpclient.jar
 /usr/share/java/commons-lang.jar 
/usr/share/activemq/lib/optional/commons-lang.jar
 /usr/share/java/commons-net.jar  
/usr/share/activemq/lib/optional/commons-net.jar
-/usr/share/java/commons-pool2.jar
/usr/share/activemq/lib/optional/commons-pool2jar
+/usr/share/java/commons-pool.jar 
/usr/share/activemq/lib/optional/commons-pool.jar
+/usr/share/java/commons-pool2.jar
/usr/share/activemq/lib/optional/commons-pool2.jar
 /usr/share/java/glassfish-javaee.jar  
/usr/share/activemq/lib/glassfish-javaee.jar
 /usr/share/java/hawtbuf.jar   /usr/share/activemq/lib/hawtbuf.jar
 /usr/share/java/jackson-annotations.jar   
/usr/share/activemq/lib/jackson-annotations.jar
diff --git a/debian/changelog b/debian/changelog
index 7e55660f..b4a7e7fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+activemq (5.14.3-3cmspackage1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Enable activemq-jdbc-store module
+  * Add optional dependencies on commons-pool and commons-dbcp
+  * Fix commons-pool2.jar symlink
+
+ -- Michail Bachmann   Thu, 05 Apr 2018 10:24:19 
+0200
+
 activemq (5.14.3-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 411201dd..be5a1270 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,8 @@ Build-Depends:
  libcommons-logging-java-doc,
  libcommons-net-java (>= 3),
  libcommons-net-java-doc (>= 3),
+ libcommons-dbcp-java,
+ libcommons-pool-java,