12.04 activemq package symlinks to jar files is broken.

Bug #1000396 reported by Allan Bailey
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
activemq (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

activemq package version 5.5.0+dfsg-6ubuntu1 is dependent on symlinks to jar files in /usr/share/activemq/lib

Those symlinks are in /usr/share/java/ , and the links in there are to /usr/share/maven-repo/org/apache/activemq/

initially I discovered this because I recieved no output from starting activemq at all. Even with DEBUG level.

Manually fixing those symlinks it gets closer to starting, and does log. Still a mystery what is missing such that
it starts listening, then immedately shutsdown without error.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1000396/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Allan Bailey (zirpu)
affects: ubuntu → activemq (Ubuntu)
Aditya V (kroq-gar78)
summary: - 12.04 activemq package synlinks to jar files is broken.
+ 12.04 activemq package symlinks to jar files is broken.
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in activemq (Ubuntu):
status: New → Confirmed
Aditya V (kroq-gar78)
Changed in activemq (Ubuntu):
assignee: nobody → kroq-gar78 (kroq-gar78)
status: Confirmed → In Progress
Revision history for this message
Aditya V (kroq-gar78) wrote :

There are two problems here:

1. The symlink isn't going to the right level.

$ readlink /usr/share/activemq/bin/run.jar
../../java/activemq-run.jar

It should be 3 levels above (3x '../'). In my opinion, it should have an absolute path anyway.

2. 'activemq-run.jar' isn't in any packages

$ apt-file search activemq-run.jar

No output. Where is this usually?

Revision history for this message
Aditya V (kroq-gar78) wrote :

eh, forget my comment about the wrong symlink levels ;)

However, 'activemq-run.jar' still isn't there anyway.

Revision history for this message
Aditya V (kroq-gar78) wrote :

Looks like this is Ubuntu-specific and is fixed by debian package version 5.5.0+dfsg-7. Launchpad bug 993249 is looking to sync the package and can fix this problem.

Proof that it's an Ubuntu-specific problem:

http://packages.debian.org/sid/all/libactivemq-java/filelist shows that the Debian package installs files in /usr/share/*
while http://packages.ubuntu.com/precise/all/libactivemq-java/filelist shows that Ubuntu doesn't.

Changed in activemq (Ubuntu):
assignee: kroq-gar78 (kroq-gar78) → nobody
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.