Re: [opennms-devel] missing opennms_bootstrap.jar

Paul Donohue <[email protected]>
Newsgroups gmane.network.opennms.bugs
Message-ID <20080508163558.GE1961__49571.1229079918$1210275333$gmane$org@TopQuark.net>
On Thu, May 08, 2008 at 04:21:54PM +0100, Alex Bennee wrote:
> On Thu, 2008-05-08 at 11:01 -0400, Paul Donohue wrote:
> > The debian packaging changed recently ... you may be having problems related to that.  If another upgrade doesn't fix it:
> > - Make sure you have the libopennms-java package installed
> > - opennms_bootstrap.jar should now live in /usr/share/java/opennms/
> > - /usr/share/opennms/lib should now be a symlink to /usr/share/java/opennms/
> > 
> > Let me know if you figure out what is broken ... if it's related to the recent changes, I'll try to fix the debian packages so it doesn't break for other people.
> Ahh a apt-get remove / install cycle appears to have un-wedged it.
> The /usr/share/opennms/lib was stuck as an empty directory instead of a
> symlink. Seems fixed now.

For future reference, when upgrading libopennms-java, it checks to see if you're upgrading from a version <= 1.3.11-1 ... if you are, and /usr/share/opennms/lib is not a symlink already, it explicitly runs:
mkdir -p /usr/share/java/opennms/
mv /usr/share/opennms/lib/* /usr/share/java/opennms/
rm -rf /usr/share/opennms/lib/
ln -s /usr/share/java/opennms/ /usr/share/opennms/lib

It sounds like it didn't run these commands for you (I'm not sure exactly why ... I thought I had tested all the bizarre upgrade scenarios, but maybe I must have missed something subtle), but if you run these commands by hand, it should fix it.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.