#2385 closed defect (fixed)

Orchid plugin 1.2.2-0.4-b1 doesn't work with I2P in Debian sid/buster (w/ Jetty 9.4)

Reported by: Masayuki Hatta Owned by: zzz
Priority: minor Milestone: 0.9.38
Component: apps/plugins Version: 0.9.37
Keywords: orchid Cc: Masayuki Hatta, zzz
Parent Tickets: Sensitive: no

Description

Trying to run new Orchid plugin gives:

Error starting plugin orchid: java.lang.ClassNotFoundException?: org.eclipse.jetty.webapp.WebInfConfiguration?

Debian/Ubuntu? have to use newer Jetty and Tomcat (so manually patched, see #2098), I guess that might cause this.

Subtickets

Change History (7)

comment:1 Changed 10 months ago by zzz

Need the full stack trace from the logs please.

comment:2 Changed 10 months ago by zzz

from OP:


    2019/01/18 0:50:05 WARN  [pdate Runner] rg.eclipse.jetty.server.Server: Failed startup of context o.e.j.w.WebAppContext@5e49c885{/orchid,null,UNAVAILABLE}{/orchid.war}: java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebInfConfiguration
    2019/01/18 0:50:05 ERROR [pdate Runner] uter.update.PluginUpdateRunner: Error starting plugin orchid 1.2.2-0.4-b1
    java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebInfConfiguration
    	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:578)
    	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
    	at org.eclipse.jetty.util.Loader.loadClass(Loader.java:65)
    	at org.eclipse.jetty.webapp.WebAppContext.loadConfigurations(WebAppContext.java:1035)
    	at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:473)
    	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:544)
    	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    	at net.i2p.router.web.WebAppStarter.startWebApp(WebAppStarter.java:70)
    	at net.i2p.router.web.PluginStarter.startPlugin(PluginStarter.java:467)
    	at net.i2p.router.update.PluginUpdateRunner.processFinal(PluginUpdateRunner.java:558)
    	at net.i2p.router.update.PluginUpdateRunner.processSU3(PluginUpdateRunner.java:344)
    	at net.i2p.router.update.PluginUpdateRunner.transferComplete(PluginUpdateRunner.java:168)
    	at net.i2p.util.EepGet.doFetch(EepGet.java:905)
    	at net.i2p.util.EepGet.fetch(EepGet.java:644)
    	at net.i2p.router.update.PluginUpdateRunner.update(PluginUpdateRunner.java:126)
    	at net.i2p.router.update.UpdateRunner.run(UpdateRunner.java:122)

comment:3 Changed 10 months ago by zzz

Status: newaccepted

reproduced here using i2p.i2p.zzz.jetty94 branch

comment:4 Changed 10 months ago by zzz

Some other plugins have the same issue:
AyuDownloader?, i2pbote, and i2psnark-rpc.

Will try to find the common cause.

Note that the WebInfConfiguration? class is present in 9.4, and in the same jar jetty-webapp.jar as the class that's trying to load it (WebAppContext?), so not quite sure what's happening here.

comment:5 Changed 10 months ago by zzz

fails on java 8, 9, and 11 (yes in theory jetty 9.4 only works on java 9 but haven't seen any other issues on 8)

comment:6 Changed 10 months ago by zzz

Milestone: undecided0.9.38

I have a fix on the router side, will check it in tomorrow after some more testing, but before the 38 deadline.

comment:7 Changed 10 months ago by zzz

Resolution: fixed
Status: acceptedclosed

In a81bbe494cfc531e312f3d5c61f95a0d7e04c8af 0.9.37-18-rc, also propped to i2p.i2p.zzz.jetty94

Note: See TracTickets for help on using tickets.