Opened 7 years ago

Closed 7 years ago

#754 closed defect (no response)

ERROR [er (eepsite)] org.mortbay.jetty.Server : EXCEPTION

Reported by: jabberwocky Owned by:
Priority: minor Milestone:
Component: apps/jetty Version: 0.9.2
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

Win32, restart with the following log:

File location: C:\i2p\logs\log-router-1.txt

  • xx.10.12 xx:xx:xx ERROR [er (eepsite)] org.mortbay.jetty.Server : EXCEPTION

java.lang.IllegalArgumentException?: No such webapps resource file:/C:/Program%20Files/i2p/i2p/eepsite/webapps

looks funny: ../i2p/i2p/… schould be …/i2p/…

at org.mortbay.jetty.deployer.WebAppDeployer?.scan(WebAppDeployer?.java:155)
at org.mortbay.jetty.deployer.WebAppDeployer?.doStart(WebAppDeployer?.java:139)
at org.mortbay.component.AbstractLifeCycle?.start(AbstractLifeCycle?.java:50)
at org.mortbay.jetty.Server.doStart(Server.java:201)
at org.mortbay.component.AbstractLifeCycle?.start(AbstractLifeCycle?.java:50)
at org.mortbay.xml.XmlConfiguration?.main(XmlConfiguration?.java:985)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.i2p.router.startup.LoadClientAppsJob?$RunApp?.run(LoadClientAppsJob?.java:238)
at java.lang.Thread.run(Unknown Source)
at net.i2p.util.I2PThread.run(I2PThread.java:85)

  • xx.10.12 xx:xx:xx ERROR [er (eepsite)] org.mortbay.jetty.Server : Error starting handlers

java.io.IOException: Cannot write log directory C:\Program Files\i2p\i2p\eepsite\logs

looks funny: ../i2p/i2p/…

at org.mortbay.util.RolloverFileOutputStream?.setFile(RolloverFileOutputStream?.java:213)
at org.mortbay.util.RolloverFileOutputStream?.<init>(RolloverFileOutputStream?.java:160)
at net.i2p.jetty.I2PRequestLog.doStart(I2PRequestLog.java:453)
at org.mortbay.component.AbstractLifeCycle?.start(AbstractLifeCycle?.java:50)
at org.mortbay.jetty.handler.RequestLogHandler?.doStart(RequestLogHandler?.java:117)
at org.mortbay.component.AbstractLifeCycle?.start(AbstractLifeCycle?.java:50)
at org.mortbay.jetty.handler.HandlerCollection?.doStart(HandlerCollection?.java:152)
at org.mortbay.component.AbstractLifeCycle?.start(AbstractLifeCycle?.java:50)
at org.mortbay.jetty.handler.HandlerWrapper?.doStart(HandlerWrapper?.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle?.start(AbstractLifeCycle?.java:50)
at org.mortbay.xml.XmlConfiguration?.main(XmlConfiguration?.java:985)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.i2p.router.startup.LoadClientAppsJob?$RunApp?.run(LoadClientAppsJob?.java:238)
at java.lang.Thread.run(Unknown Source)
at net.i2p.util.I2PThread.run(I2PThread.java:85)

Subtickets

Change History (3)

comment:1 Changed 7 years ago by zzz

Router version?

Was this just after an update from some version to some newer version?

comment:2 Changed 7 years ago by killyourtv

Without more information (such as seeing the config files) it's hard for me to see what's happening here. A few observations:

1) Program Files\i2p\i2p ? That should never happen "out of the box". The eepsite is served from the profile directory which is usually %appdata%\i2p on Windows. There was a bug that affected I2PSnark when I2P was started without the wrapper (e.g. using I2P.exe), but the bug caused the installation directory to be used as the profile directory. %PROGRAMFILES%\I2P\I2P shouldn't happen "out of the box".
2) C:\i2p\logs\log-router-1.txt ? That means that c:\i2p is the profile directory and absolutely not a default location. The config directory—at least—was altered from the default.

I don't think this is a bug in I2P because it looks to me like the paths were incorrectly customized. Perhaps I'm wrong….

What are the contents of c:\program files\i2p\wrapper.config ?

comment:3 Changed 7 years ago by zzz

Milestone: 0.9.3
Resolution: no response
Status: newclosed

Closing - no response. Please reopen the ticket if you respond.

Note: See TracTickets for help on using tickets.