users@jersey.java.net

0.6 -> 0.7 problem with jetty

From: Jean Aurambault <aurambaj_at_yahoo-inc.com>
Date: Tue, 03 Jun 2008 16:46:53 +0200

Hi,

I've the following error when running unit tests (I've just updated to
jersey 0.7). I suppose there is a problem with jetty configuration but I
don't know where to start... Any idea?

java.lang.AssertionError
        at com.sun.ws.rest.impl.uri.rules.BaseRule.<init>(BaseRule.java:38)
        at
com.sun.ws.rest.impl.uri.rules.ResourceClassRule.<init>(ResourceClassRule.java:40)
        at
com.sun.ws.rest.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:489)
        at
com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:370)
        at
com.yahoo.l10nservice.servlet.SpringServlet.initiate(SpringServlet.java:108)
        at
com.sun.ws.rest.spi.container.servlet.ServletContainer.load(ServletContainer.java:306)
        at
com.sun.ws.rest.spi.container.servlet.ServletContainer.init(ServletContainer.java:119)
        at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
        at
org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:342)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

regards,

Jean