Bug#644834: activemq: Missing jar causes ClassDefNotFoundError

Lucian Holland lucian at symposion.co.uk
Sun Oct 9 15:01:28 UTC 2011


Package: activemq
Version: 5.5.0+dfsg-2
Severity: important

Dear Maintainer,

I've just installed activemq on wheezy by doing 'apt-get install activemq'. It installed                                                 
openjdk along with a raft of java libraries into /usr/share/java. Unfortunately, once
I configured an activemq instance with anything more than the most bare-bones of settings
(I added authentication and authorization sections to my activemq.xml) it failed with a 
ClassDefNotFoundError for org.objectweb.asm.commons.EmptyVisitor. This class is provided 
in asm3-all.jar which was installed into /usr/share/java as part of the extended dependencies
of libactivemq-java.

It would seem that the activemq package brings in libaries it needs by symlinking them into
the lib directory under /usr/share/activemq. asm3.jar is linked in this way, but not asm3-all.jar.
This seems to be a bug to me, since the classes it contains are needed for even a relatively
simple activemq configuration.

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

Kernel: Linux 3.0.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages activemq depends on:
ii  adduser                                          3.113       
ii  libactivemq-java                                 5.5.0+dfsg-2
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b23~pre7-1 

activemq recommends no packages.

activemq suggests no packages.

-- Configuration Files:
/etc/activemq/instances-available/main/activemq.xml [Errno 2] No such file or directory: u'/etc/activemq/instances-available/main/activemq.xml'
/etc/activemq/instances-available/main/log4j.properties [Errno 2] No such file or directory: u'/etc/activemq/instances-available/main/log4j.properties'

-- no debconf information 

-- 
Lucian Holland
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20111009/8e8f7a98/attachment.html>


More information about the pkg-java-maintainers mailing list