users@glassfish.java.net

Re: Deploying Tomcat applications in GlassFish

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Oct 2007 16:26:25 PDT

The URL pattern of your servlet declaration is indeed invalid, as per the Servlet Spec, see:

  SRV.11.2 Specification of Mappings

  In the Web application deployment descriptor, the following syntax is
  used to define mappings:

    - A string beginning with a '/' character and ending with a '/*'
      suffix is used for path mapping.

Try replacing "/accountRequest" with "/accountRequest/*" and let us know.


Jan
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=239017