users@jersey.java.net

INFO level warning messages in gf v2ur2 on every request

From: Alex Sherwin <alex.sherwin_at_acadiasoft.com>
Date: Tue, 2 Dec 2008 10:47:52 -0500

Every request I make contains an entry in the server.log of glassfish such
as this:

[#|2008-12-02T10:41:19.906-0500|INFO|sun-appserver9.1|javax.enterprise.syste
m.container.web|_ThreadID=24;_ThreadName=httpSSLWorkerThread-8080-1;|Unable
to find a <servlet-name> element which map:
/masterws_DEV_ROUTING_M1/counterparty/create|#]

The web app with context "/masterws_DEV_ROUTING_M1" has the Jersey
Servlet-mapping defined as:

  <servlet-mapping>
    <servlet-name>Jersey Web Application</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>

And the Resource class looks something like (I cannot paste the actual code)

@Path("/counterparty")
public class A {

 @PUT
 @Path("/create")
 public Response create() {
  //...
  }
}

The 1.0-ea distribution did not do this, it seems to have started since I
upgraded to 1.0 final and now 1.0.1, which still does it.

All of my Resource request classes work fine, all of the requests are
handled correctly, yet glassfish is printing this message on every request

Any idea why?


Alex Sherwin
alex.sherwin_at_acadiasoft.com