Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 620214

Summary: net-vpn/i2p-0.9.30: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag
Product: Gentoo Linux Reporter: El Goretto <el.goretto>
Component: Current packagesAssignee: tharvik
Status: RESOLVED INVALID    
Severity: normal CC: java, jstein, proxy-maint, tomboy64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description El Goretto 2017-05-30 18:58:07 UTC
Symptoms:
In router.log:
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
And when you go to http://your_i2p_router:7657/susidns/addressbook?book=router you get an HTTP 500 error.

Cause:
wrapper.config seems to reference a deprecated path to JSTL jars.

Fix: 
In wrapper.config, 
Replace: wrapper.java.classpath.X=//usr/share/jakarta-jstl/lib/*.jar
By: wrapper.java.classpath.X=//usr/share/tomcat-jstl-spec/lib/*.jar
    wrapper.java.classpath.X+1=//usr/share/tomcat-jstl-impl/lib/*.jar
Comment 1 tharvik 2017-06-11 14:35:12 UTC
The main issue there is with i2p's ebuild is that, in order to avoid to reintroduce in the network, we have to keep some configuration. The wrapper.config in /var/lib/i2p/.i2p is not updated by newer ebuilds, as this is user generated, so, some old configuration won't be overwritten.

The fix you give is for an older version of the default config file, if you remove it and restart the daemon, it should work.

If you have any idea of how to improve this bad design, feel free!