Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620210 - net-vpn/i2p-0.9.30: Addressbook thread not started: java.lang.ClassNotFoundException
Summary: net-vpn/i2p-0.9.30: Addressbook thread not started: java.lang.ClassNotFoundEx...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: tharvik
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-30 17:59 UTC by El Goretto
Modified: 2017-06-12 21:37 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description El Goretto 2017-05-30 17:59:17 UTC
Symptoms:
In router.log:
30/05/17 14:50:11 WARN  [uter Console] 2p.addressbook.servlet.Servlet: Addressbook thread not started: java.lang.ClassNotFoundException: net.i2p.addressbook.DaemonThread
30/05/17 15:11:18 WARN  [le Jetty-286] rg.eclipse.jetty.server.Server: : javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Cause:
Gentoo ebuild 0.9.30 is affected by the same issue than the Debian package: https://trac.i2p2.de/ticket/1973
TL;DR: addressbook.jar is missing.

Fix:
Add "addressbook" to the list of jars to be created in the ebuild.
src_install() {
[...]
    local i
    for i in BOB commons-el commons-logging i2p i2psnark i2ptunnel \
        jasper-compiler jasper-runtime javax.servlet jbigi jetty* mstreaming org.mortbay.* router* \   
        sam standard streaming systray addressbook; do
        java-pkg_dojar lib/${i}.jar
    done
[...]
}

BTW: thank you for maintaining an "official" i2p ebuild in portage :)
Comment 1 tharvik 2017-06-11 14:26:55 UTC
Thanks for reporting it!

Fixed and followed in https://github.com/gentoo/gentoo/pull/4910
Comment 2 Patrice Clement (RETIRED) gentoo-dev 2017-06-12 21:37:57 UTC
commit 181c59eab64e35b3d8135e6765b5398cea1e2b6e (HEAD -> master, origin/master, origin/HEAD)
Author:     tharvik <tharvik@users.noreply.github.com>
AuthorDate: Sun Jun 11 16:13:07 2017 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Mon Jun 12 23:36:35 2017 +0200

net-vpn/i2p: version bump to 0.9.30-r1.

Gentoo-Bug: https://bugs.gentoo.org/620210

Package-Manager: Portage-2.3.5, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4910

net-vpn/i2p/i2p-0.9.30-r1.ebuild | 152 +++++++++++++++++++++++++++++++++++++++
1 file changed, 152 insertions(+)
create mode 100644 net-vpn/i2p/i2p-0.9.30-r1.ebuild

Merged, thanks!