title: How to specify relative path for axis2.xml for embedded axis2 in WAR application
body: <p>I have embedded an axis2 webservice into a web application of mine. It works great as long as I don't need to specify the location of axis2.xml (i.e. if everything is left default for axis2 initialization).</p>
  
  <p>However, I now need to modify the transporter to use my SOAP webservice over https. For this, I have 1) copied the axis2.xml file of a standalone axis2 distribution and stripped a lot of things from it and 2) modified my web.xml file like this after a lot of trials &amp; error:</p>
  
  <pre><code>&lt;servlet&gt;
    &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
    &lt;servlet-class&gt;org.apache.axis2.transport.http.AxisServlet&lt;/servlet-class&gt;
    &lt;init-param&gt;
      &lt;param-name&gt;axis2.xml.path&lt;/param-name&gt;
      &lt;param-value&gt;webapps/MyApp/WEB-INF/conf/axis2.xml&lt;/param-value&gt;
    &lt;/init-param&gt;
    &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  </code></pre>
  
  <p>This worked (although I'm not satisfied at all with it) on every deployments I made but the last one (instead of installing tomcat through the package manager of ubuntu, I downloaded an archive and installed it manually).</p>
  
  <p>I was not able to find out how (and if) it is possible to indicate a relative path (inside my war) for the axis2.xml
  How should one proceed?</p>
  
  <p>Thanks for your help!</p>