lift 2.5-RC5 fail to deploy on jetty 7.6.10.v20130312

103 views
Skip to first unread message

Guillaume Massé

unread,
May 13, 2013, 1:17:02 PM5/13/13
to lif...@googlegroups.com
Hi I'm deploying lift on jetty 7.6.10.v20130312

it look like it fail to read lift jar

2013-05-13 16:33:43.514:DBUG:oejw.WebAppContext:preConfigure o.e.j.w.WebAppContext{/,jar:file:/usr/share/jetty/webapps/root.war!/},/usr/share/jetty/webapps/root.war with org.eclipse.jetty.webapp.MetaInfConfiguration@77efda65
2013-05-13 16:33:43.515:DBUG:oejw.JarScanner:Search of jar:file:/usr/share/jetty/webapps/root.war!/WEB-INF/lib/commons-logging-1.1.1.jar
2013-05-13 16:33:43.521:DBUG:oejw.JarScanner:Search of jar:file:/usr/share/jetty/webapps/root.war!/WEB-INF/lib/util-eval_2.10-6.1.0.jar
2013-05-13 16:33:43.524:DBUG:oejw.JarScanner:Search of jar:file:/usr/share/jetty/webapps/root.war!/WEB-INF/lib/netty-3.5.5.Final.jar
2013-05-13 16:33:43.592:DBUG:oejw.JarScanner:Search of jar:file:/usr/share/jetty/webapps/root.war!/WEB-INF/lib/joda-convert-1.2.jar
2013-05-13 16:33:43.595:DBUG:oejw.JarScanner:Search of jar:file:/usr/share/jetty/webapps/root.war!/WEB-INF/lib/htmlparser-1.4.jar
2013-05-13 16:33:43.610:DBUG:oejw.JarScanner:Search of jar:file:/usr/share/jetty/webapps/root.war!/WEB-INF/lib/lift-webkit_2.10-2.5-RC5.jar
2013-05-13 16:33:43.738:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,jar:file:/usr/share/jetty/webapps/root.war!/},/usr/share/jetty/webapps/root.war
java.io.IOException: Stream closed
at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:142)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.PushbackInputStream.read(PushbackInputStream.java:186)
at java.util.zip.ZipInputStream.readFully(ZipInputStream.java:424)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:277)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)
at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)


N.B. it's a vagrant box provided with chef-solo recipes.

root@precise64:/usr/share/jetty/webapps# ls -lh
total 44M
-r-------- 1 jetty adm 44M May 13 16:33 root.war

Thanks,
Guillaume

Richard Dallaway

unread,
May 13, 2013, 2:17:47 PM5/13/13
to liftweb
Hello Guillaume

I've just downloaded that version of Jetty, ran it with a simple 2.5-RC5 web application and it started just fine.  That was MacOS X, Java 7.

I don't know how you're sending the WAR to your server, but could there be any problem in transit? (shasum would tell you if the file on the server had changed, for example).

Are there any other errors in other logs (out of memory? out of disk space?)

Do you get the same problem running locally?

Thanks
Richard


--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
 
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Guillaume Massé

unread,
May 13, 2013, 3:10:00 PM5/13/13
to lif...@googlegroups.com
Hey Richard,

hash is fine,
it look like a permission problem to me
Reply all
Reply to author
Forward
0 new messages