title: Problem deploying Axis2 in Tomcat
body: <p>I am trying to install Axis2 in a servlet container (Tomcat) by using <a href="http://axis.apache.org/axis2/java/core/docs/installationguide.html#servlet_container" rel="noreferrer">this</a> link. But after succesfully following all the steps and after starting tomcat I am not able to see the index file for Axis2. Instead I am getting following error.</p>
  
  <p>[ERROR] The service cannot be found for the endpoint reference (EPR) /axis2/services/
  org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /axis2/services/</p>
  
  <p>I think there is some problem in mappings thats been done in web.xml. Following is the web.xml snapshot.</p>
  
  <p></p>
  
  <pre><code>&lt;web-app&gt;
      &lt;display-name&gt;Apache-Axis2&lt;/display-name&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;display-name&gt;Apache-Axis Servlet&lt;/display-name&gt;
          &lt;servlet-class&gt;org.apache.axis2.transport.http.AxisServlet&lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;AxisAdminServlet&lt;/servlet-name&gt;
          &lt;display-name&gt;Apache-Axis AxisAdmin Servlet (Web Admin)&lt;/display-name&gt;
          &lt;servlet-class&gt;
              org.apache.axis2.webapp.AxisAdminServlet&lt;/servlet-class&gt;
      &lt;/servlet&gt;
  
  
     &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/servlet/AxisServlet&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.jws&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/services/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisAdminServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/axis2-admin/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
     &lt;extension&gt;inc&lt;/extension&gt;
          &lt;mime-type&gt;text/plain&lt;/mime-type&gt;
      &lt;/mime-mapping&gt;
  
     &lt;welcome-file-list&gt;
        &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
        &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
        &lt;welcome-file&gt;/axis2-web/index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  
      &lt;error-page&gt;
        &lt;error-code&gt;404&lt;/error-code&gt;
        &lt;location&gt;/axis2-web/Error/error404.jsp&lt;/location&gt;
      &lt;/error-page&gt;
  
      &lt;error-page&gt;
          &lt;error-code&gt;500&lt;/error-code&gt;
          &lt;location&gt;/axis2-web/Error/error500.jsp&lt;/location&gt;
      &lt;/error-page&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Also this is the directory structure when axis2.war is expanded in webapp directory of tomcat.</p>
  
  <p>webapps</p>
  
  <ul>
  <li>axis2
  
  <ul>
  <li>axis2-web  </li>
  <li>META-INF  </li>
  <li>org  </li>
  <li>WEB-INF
  
  <ul>
  <li>classes  </li>
  <li>conf  </li>
  <li>lib  </li>
  <li>modules</li>
  <li>services  </li>
  <li>web.xml
  (Not expanding each directory but just the main ones)</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>Any tips / suggestions would be very  helpful.</p>