title: Java EE servlet error - duplicate URL pattern
body: <p>I'm in the process of making a prototype banking application for one of my assignments. I've successfully created the persistence API, EJBs, and all required tables. However, when I create the WebClient for my application and integrate that with the Enterprise application and try to run it, I get the following error:</p>
  
  <blockquote>
    <p>java.lang.IllegalArgumentException: Servlet [<code>RegistrationPortImpl</code>] and
    Servlet [<code>RegistrationRequesterPortImpl</code>] have the same url pattern</p>
  </blockquote>
  
  <p>The WebClient only has the default <code>index.xhtml</code> file on it and I have not yet integrated to managed beans with it.</p>
  
  <p>I just wanted to check if my application would run after the integration with enterprise application before I make any advances.</p>