Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

i-jetty start and stop twice; causes an exception in loading the icon from DefaultHandler in the LogCat #122

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run i-jetty from eclipse using the latest android SDK


What is the expected output? What do you see instead?

The LogCat should be clean  independent of how many time we start and stop 
i-jetty 

What version of the product are you using? On what operating system?
latest android SDK and java 7 window 7 64 bit

Please provide any additional information below.
Exception stack :


08-25 21:16:50.213: D/Jetty(10244): pref port = 8080
08-25 21:16:50.213: D/Jetty(10244): pref use nio = true
08-25 21:16:50.213: D/Jetty(10244): pref use ssl = true
08-25 21:16:50.213: D/Jetty(10244): pref ssl port = 8443
08-25 21:16:50.221: I/Jetty(10244): Configured 
org.eclipse.jetty.server.nio.SelectChannelConnector on port 8080
08-25 21:16:50.221: I/Jetty(10244): Configured 
org.eclipse.jetty.server.ssl.SslSelectChannelConnector on port 8443
08-25 21:16:50.229: E/Jetty(10244): java.lang.IllegalStateException: Zip file 
closed
08-25 21:16:50.229: E/Jetty(10244):     at 
java.util.zip.ZipFile.checkNotClosed(ZipFile.java:186)
08-25 21:16:50.229: E/Jetty(10244):     at 
java.util.zip.ZipFile.getEntry(ZipFile.java:224)
08-25 21:16:50.229: E/Jetty(10244):     at 
java.util.jar.JarFile.getEntry(JarFile.java:412)
08-25 21:16:50.229: E/Jetty(10244):     at 
java.util.jar.JarFile.getJarEntry(JarFile.java:268)
08-25 21:16:50.229: E/Jetty(10244):     at 
libcore.net.url.JarURLConnectionImpl.findJarEntry(JarURLConnectionImpl.java:200)
08-25 21:16:50.229: E/Jetty(10244):     at 
libcore.net.url.JarURLConnectionImpl.connect(JarURLConnectionImpl.java:84)
08-25 21:16:50.229: E/Jetty(10244):     at 
libcore.net.url.JarURLConnectionImpl.getJarFile(JarURLConnectionImpl.java:100)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.eclipse.jetty.util.resource.JarFileResource.newConnection(JarFileResource.ja
va:124)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.eclipse.jetty.util.resource.JarResource.checkConnection(JarResource.java:72)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.eclipse.jetty.util.resource.JarFileResource.checkConnection(JarFileResource.
java:91)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.eclipse.jetty.util.resource.JarResource.getInputStream(JarResource.java:118)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.eclipse.jetty.server.handler.DefaultHandler.<init>(DefaultHandler.java:71)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.mortbay.ijetty.handler.DefaultHandler.<init>(DefaultHandler.java:27)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.mortbay.ijetty.IJettyService.configureHandlers(IJettyService.java:551)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.mortbay.ijetty.IJettyService.startJetty(IJettyService.java:627)
08-25 21:16:50.229: E/Jetty(10244):     at 
org.mortbay.ijetty.IJettyService$JettyStarterThread.run(IJettyService.java:147)
08-25 21:16:50.229: W/Jetty(10244): WebAppDeployer is deprecated. Use 
WebAppProvider
08-25 21:16:50.236: I/Jetty(10244): Adding context deployer: 




Original issue reported on code.google.com by [email protected] on 25 Aug 2014 at 7:25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant