public void startTomcat() throws Exception {
AiravataUtils.setExecutionAsServer();
BetterTomcat tomcat = new BetterTomcat(Integer.parseInt(ServerSettings.getTomcatPort()));
tomcat.addContext("/axis2", System.getenv("AIRAVATA_HOME"));
Wrapper axis2Servlet = tomcat.addServlet("/axis2", "AxisServlet", "org.apache.axis2.transport.http.AxisServlet");
axis2Servlet.addMapping("/servlet/AxisServlet");
axis2Servlet.addMapping("*.jws");
axis2Servlet.addMapping("/services/*");
axis2Servlet.addInitParameter("axis2.repository.path",System.getenv("AIRAVATA_HOME") + File.separator + "repository");
axis2Servlet.addInitParameter("axis2.xml.path", System.getenv("AIRAVATA_HOME") +
File.separator + "bin" + File.separator + "axis2.xml");