I have deployed an application in wildfly localhost server through jboss but the application is failing to deploy. when I delete the web.xml page the app deploys but shows error 404. what might be the problem??

this is my web.xml page code

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
         version="3.1">

    <display-name>SMS Gateway</display-name>

    <description>Welcome to the SMS Gateway.</description>

    <!-- Start Main Gateway init servlets -->
    <servlet>
        <servlet-name>Log4jInit</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.init.Log4jInit</servlet-class>
        <init-param>
            <param-name>log4j-init-file</param-name>
            <param-value>/WEB-INF/log/log4j.properties</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>PropertiesConfig</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.util.PropertiesConfig</servlet-class>
        <init-param>
            <param-name>config-file</param-name>
            <param-value>/WEB-INF/main.config.properties</param-value>
        </init-param>
        <load-on-startup>2</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>DbPoolUtil</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.util.DbPoolUtil</servlet-class>
        <load-on-startup>3</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>CacheInit</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.init.CacheInit</servlet-class>
        <init-param>
            <param-name>ehcache-file</param-name>
            <param-value>/WEB-INF/classes/ehcache.xml</param-value>
        </init-param>
        <load-on-startup>4</load-on-startup>
    </servlet>

    <servlet>
        <display-name>Quartz Initializer Servlet</display-name>
        <servlet-name>QuartzInitializer</servlet-name>
        <servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
        <init-param>
            <param-name>quartz-file</param-name>
            <param-value>WEB-INF/classes/quartz.properties</param-value>
        </init-param>
        <init-param>
            <param-name>shutdown-on-unload</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>start-scheduler-on-load</param-name>
            <param-value>true</param-value>
        </init-param>
        <load-on-startup>5</load-on-startup>
    </servlet>
    <!-- End Main Gateway init servlets -->


    <!-- Start Infobip init servlets -->
    <servlet>
        <servlet-name>PropertiesConfigInfobip</servlet-name>
        <servlet-class>mobi.tawi.infobip.servlet.util.PropertiesConfig</servlet-class>
        <init-param>
            <param-name>config-file</param-name>
            <param-value>/WEB-INF/infobip.config.properties</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>DbPoolUtilInfobip</servlet-name>
        <servlet-class>mobi.tawi.infobip.servlet.util.DbPoolUtil</servlet-class>
        <load-on-startup>2</load-on-startup>
    </servlet>

    <!-- Note that the load-on-startup value of this servlet must be higher 
         than the CacheInit load-on-startup value. -->
    <servlet>
        <servlet-name>CacheInitInfobip</servlet-name>
        <servlet-class>mobi.tawi.infobip.servlet.init.CacheInit</servlet-class>
        <!-- <init-param>
            <param-name>ehcache-file</param-name>
            <param-value>/WEB-INF/classes/ehcache.xml</param-value>
    </init-param> -->    
        <load-on-startup>5</load-on-startup>
    </servlet>
    <!-- End Infobip init servlets -->


    <!-- Start Modem init servlets -->
    <servlet>
        <servlet-name>PropertiesConfigModem</servlet-name>
        <servlet-class>mobi.tawi.modem.servlet.util.PropertiesConfig</servlet-class>
        <init-param>
            <param-name>config-file</param-name>
            <param-value>/WEB-INF/modem.config.properties</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>DbPoolUtilModem</servlet-name>
        <servlet-class>mobi.tawi.modem.servlet.util.DbPoolUtil</servlet-class>
        <load-on-startup>2</load-on-startup>
    </servlet>    
    <!-- End Modem init servlets -->


    <!-- Start Safaricom SDP init servlets -->
    <servlet>
        <servlet-name>PropertiesConfigSafaricom</servlet-name>
        <servlet-class>mobi.tawi.safaricomsdp.servlet.util.PropertiesConfig</servlet-class>
        <init-param>
            <param-name>config-file</param-name>
            <param-value>/WEB-INF/safaricomsdp.config.properties</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>DbPoolUtilSafaricom</servlet-name>
        <servlet-class>mobi.tawi.safaricomsdp.servlet.util.DbPoolUtil</servlet-class>
        <load-on-startup>2</load-on-startup>
    </servlet>

    <!-- Note that the load-on-startup value of this servlet must be higher 
         than the CacheInit load-on-startup value. -->
    <servlet>
        <servlet-name>CacheInitSafaricom</servlet-name>
        <servlet-class>mobi.tawi.safaricomsdp.servlet.init.CacheInit</servlet-class>
        <!-- <init-param>
            <param-name>ehcache-file</param-name>
            <param-value>/WEB-INF/classes/ehcache.xml</param-value>
    </init-param> -->    
        <load-on-startup>6</load-on-startup>
    </servlet>
    <!-- Start Safaricom SDP init servlets -->


    <!-- start administrator servlets -->
    <servlet>
        <servlet-name>adminLogin</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.Login</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>adminLogout</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.Logout</servlet-class>
    </servlet>





    <servlet>
        <servlet-name>addAccount</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.accounts.AddAccount</servlet-class>
    </servlet>
     <servlet>
        <servlet-name>editAccount</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.accounts.EditAccount</servlet-class>
    </servlet>
     <servlet>
        <servlet-name>resetLoginPasswd</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.accounts.ResetLoginPasswd</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>resetSmsPasswd</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.accounts.ResetSmsPasswd</servlet-class>
    </servlet>







    <servlet>
        <servlet-name>addSMSCode</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.AddSMSCode</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>addSMSMask</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.AddSMSMask</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>addClientSMSCredit</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.AddClientSMSCredit</servlet-class>
    </servlet>

      <servlet>
        <servlet-name>editClientSMSCredit</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.UpdateSMSCodeCredit</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>editClientMaskCredit</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.UpdateSMSMaskCredit</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>addClientMaskCredit</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.AddClientMaskCredit</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>addMasterSMSCredit</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.AddMasterSMSCredit</servlet-class>
    </servlet>
    <!-- end administrator servlets -->

    <!-- start client account management servlets -->
    <servlet>
        <servlet-name>login</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.Login</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>logout</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.Logout</servlet-class>
    </servlet>
    <!--
    <servlet>
        <servlet-name>searchIncomingSMS</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.search.SearchIncomingSMS</servlet-class>
    </servlet>
    -->
    <servlet>
        <servlet-name>accountSendSMS</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.util.AccountSendSMS</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>accountTestCallback</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.util.AccountTestCallback</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SetToEditCode</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.smsportfolio.SetToEditCode</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>EditCode</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.smsportfolio.EditCode</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>refreshSMS</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.util.RefreshSMS</servlet-class>
    </servlet>
    <!-- end client account management servlets -->

    <!-- start API servlets -->
    <servlet>
        <servlet-name>SendSMS</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.api.sendsms.SendSMS</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>QueryStatus</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.api.query.QueryStatus</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>QueryBalance</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.api.query.QueryBalance</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>SendModem</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.modem.api.send.SendModem</servlet-class>
    </servlet>
    <!-- end API servlets -->


    <!-- SMS Notification servlets -->
    <servlet>
        <servlet-name>RequestListener</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.api.test.RequestListener</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SafaricomDLRListener</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.network.listener.safaricom.SafaricomDLRListener</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SafaricomIncomingListener</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.network.listener.safaricom.SafaricomIncomingListener</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>InfobipDLRListener</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.network.listener.infobip.InfobipDLRListener</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>InfobipSMSListener</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.network.listener.infobip.InfobipSMSListener</servlet-class>
    </servlet>
    <!-- end SMS Notification servlets -->


    <!-- start chart reporting servlets -->
    <servlet>
        <servlet-name>IncomingSMSPie</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.report.chart.pie.IncomingSMSPie</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>OutgoingSMSPie</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.report.chart.pie.OutgoingSMSPie</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>GetSMSReportChart</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.report.chart.getSMSReportChart</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>IncomingSMSBarDay</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.report.chart.bar.IncomingSMSBarDay</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>OutgoingSMSBarDay</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.report.chart.bar.OutgoingSMSBarDay</servlet-class>
    </servlet>
    <!--
    <servlet>
        <servlet-name>SubmittedSMSBarDay</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.report.chart.bar.SubmittedSMSBarDay</servlet-class>
    </servlet>
    -->
    <!-- end chart reporting servlets -->

    <!-- start PDF reporting servlets -->
    <servlet>
        <servlet-name>ExportPDF</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.export.pdf.ExportPDF</servlet-class>
    </servlet>
    <!-- end PDF reporting servlets -->
    <!-- start MS Excel reporting servlets -->
    <servlet>
        <servlet-name>ExportExcel</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.export.excel.ExportExcel</servlet-class>
    </servlet>
    <!-- end MS Excel reporting servlets -->


    <!-- start Text File exporting logs servlets -->
    <!--
    <servlet>
        <servlet-name>ExportLogs</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.export.logs.ExportLogs</servlet-class>
    </servlet>
    -->
    <!-- end Text File exporting logs servlets -->
    <!-- start kannel servlets -->
    <servlet>
        <servlet-name>SafaricomDlrCallback</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.live.kannel.SafaricomDLRCallback</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SafaricomblkDlrCallback</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.live.kannel.SafaricomblkDLRCallback</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>AirtelDlrCallback</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.network.listener.airtelke.AirtelDLRCallback</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SafaricomReceiptCallback</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.live.kannel.SafaricomReceiptCallback</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SafaricomblkReceiptCallback</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.live.kannel.SafaricomblkReceiptCallback</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>AirtelReceiptCallback</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.network.listener.airtelke.AirtelReceiptCallback</servlet-class>
    </servlet>
    <!-- end kannel servlets -->
    <!-- start captcha servlets -->
    <servlet>
        <servlet-name>FontImageGenerator</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.util.FontImageGenerator</servlet-class>
    </servlet>
    <!-- end captcha servlets -->
    <!--
    <servlet>
        <servlet-name>SearchResults</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.sms.SearchResults</servlet-class>
    </servlet>
    -->
    <!--
    <servlet>
        <servlet-name>SendEmail</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.email.SendEmail</servlet-class>
    </servlet>
    -->
    <servlet>
        <servlet-name>SetToEditAccount</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.SetToEditAccount</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>EditAccount</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.EditAccount</servlet-class>
    </servlet>
    <!-- JSPC servlet definitions end -->
    <!-- JSPC servlet mappings start -->
    <servlet>
        <servlet-name>ChangePassword</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.ChangePassword</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>BalanceNotification</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.SetBalanceNotification</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>EditBalanceNotification</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.EditBalanceNotification</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SendMail</servlet-name>
        <servlet-class>mobi.tawi.smsgw.util.SendMail</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>SetBalanceThreshold</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.SetBalanceThreshold</servlet-class>
    </servlet>
    <!-- <servlet>
        <servlet-name>SmsCodeList</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.util.SmsCodeList</servlet-class>
    </servlet> -->
    <servlet>
        <servlet-name>adminIncomingSmsPie</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.report.chart.pie.IncomingSMSPie</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>adminOutgoingSmsPie</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.report.chart.pie.OutgoingSMSPie</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>adminIncomingSmsBarDay</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.report.chart.bar.IncomingSMSBarDay</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>adminOutgoingSmsBarDay</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.admin.report.chart.bar.OutgoingSMSBarDay</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>EditBalanceThreshold</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.EditBalanceThreshold</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>ResetPassword</servlet-name>
        <servlet-class>mobi.tawi.smsgw.servlet.accountmgmt.ResetPassword</servlet-class>
    </servlet>

    <!-- Servlet Mapping start --> 
    <servlet-mapping>
        <servlet-name>Log4jInit</servlet-name>
        <url-pattern>/log4jInit</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>PropertiesConfig</servlet-name>
        <url-pattern>/propertiesConfig</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>CacheInit</servlet-name>
        <url-pattern>/cacheInit</url-pattern>
    </servlet-mapping>
    <!-- start admin servlets -->
    <servlet-mapping>
        <servlet-name>adminLogin</servlet-name>
        <url-pattern>/admin/login</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>adminLogout</servlet-name>
        <url-pattern>/admin/logout</url-pattern>
    </servlet-mapping>




    <servlet-mapping>
        <servlet-name>addAccount</servlet-name>
        <url-pattern>/admin/accounts/addAccount</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>editAccount</servlet-name>
        <url-pattern>/admin/accounts/editAccount</url-pattern>
    </servlet-mapping>
     <servlet-mapping>
        <servlet-name>resetLoginPasswd</servlet-name>
        <url-pattern>/admin/accounts/resetLoginPasswd</url-pattern>
    </servlet-mapping>
     <servlet-mapping>
        <servlet-name>resetSmsPasswd</servlet-name>
        <url-pattern>/admin/accounts/resetSmsPasswd</url-pattern>
    </servlet-mapping>







    <servlet-mapping>
        <servlet-name>addSMSCode</servlet-name>
        <url-pattern>/admin/sms/addSMSCode</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>addSMSMask</servlet-name>
        <url-pattern>/admin/sms/addSMSMask</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>addClientSMSCredit</servlet-name>
        <url-pattern>/admin/accounts/addClientSMSCredit</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>addClientMaskCredit</servlet-name>
        <url-pattern>/admin/accounts/addClientMaskCredit</url-pattern>
    </servlet-mapping>


      <servlet-mapping>
        <servlet-name>editClientMaskCredit</servlet-name>
        <url-pattern>/admin/accounts/editClientMaskCredit</url-pattern>
    </servlet-mapping>

     <servlet-mapping>
        <servlet-name>editClientSMSCredit</servlet-name>
        <url-pattern>/admin/accounts/editClientSMSCredit</url-pattern>
    </servlet-mapping>


    <servlet-mapping>
        <servlet-name>addMasterSMSCredit</servlet-name>
        <url-pattern>/admin/accounts/addMasterSMSCredit</url-pattern>
    </servlet-mapping>
    <!-- end admin servlets -->
    <!-- start account management servlets -->
    <servlet-mapping>
        <servlet-name>login</servlet-name>
        <url-pattern>/login</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>logout</servlet-name>
        <url-pattern>/logout</url-pattern>
    </servlet-mapping>
    <!--
    <servlet-mapping>
        <servlet-name>searchIncomingSMS</servlet-name>
        <url-pattern>/searchIncomingSMS</url-pattern>
    </servlet-mapping>
    -->
    <servlet-mapping>
        <servlet-name>accountSendSMS</servlet-name>
        <url-pattern>/accountSendSMS</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>accountTestCallback</servlet-name>
        <url-pattern>/accountTestCallback</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SetToEditCode</servlet-name>
        <url-pattern>/setToEditCode</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>refreshSMS</servlet-name>
        <url-pattern>/refreshSMS</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>EditCode</servlet-name>
        <url-pattern>/editCode</url-pattern>
    </servlet-mapping>
    <!-- end account management servlets -->


    <!-- start mapping API servlets -->
    <servlet-mapping>
        <servlet-name>SendSMS</servlet-name>
        <url-pattern>/sendsms</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>QueryStatus</servlet-name>
        <url-pattern>/querystatus</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>QueryBalance</servlet-name>
        <url-pattern>/querybalance</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SendModem</servlet-name>
        <url-pattern>/sendmodem</url-pattern>
    </servlet-mapping>
    <!-- end mapping API servlets -->


    <!-- end mapping sms notification servlets -->
    <servlet-mapping>
        <servlet-name>RequestListener</servlet-name>
        <url-pattern>/requestlistener</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SafaricomDLRListener</servlet-name>
        <url-pattern>/safaricomDLRListener</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SafaricomIncomingListener</servlet-name>
        <url-pattern>/safaricomIncomingListener</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>InfobipDLRListener</servlet-name>
        <url-pattern>/infobipdlrlistener</url-pattern>
    </servlet-mapping>    

    <servlet-mapping>
        <servlet-name>InfobipSMSListener</servlet-name>
        <url-pattern>/infobipsmslistener</url-pattern>
    </servlet-mapping>    
    <!-- end mapping sms notification servlets -->


    <!-- start chart reporting servlets -->
    <servlet-mapping>
        <servlet-name>IncomingSMSPie</servlet-name>
        <url-pattern>/incomingSMSPie</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>OutgoingSMSPie</servlet-name>
        <url-pattern>/outgoingSMSPie</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>GetSMSReportChart</servlet-name>
        <url-pattern>/getSMSReportChart</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>IncomingSMSBarDay</servlet-name>
        <url-pattern>/incomingSMSBarDay</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>OutgoingSMSBarDay</servlet-name>
        <url-pattern>/outgoingSMSBarDay</url-pattern>
    </servlet-mapping>
    <!--
    <servlet-mapping>
        <servlet-name>SubmittedSMSBarDay</servlet-name>
        <url-pattern>/submittedSMSBarDay</url-pattern>
    </servlet-mapping>
    -->
    <!-- end chart reporting servlets -->
    <!-- start pdf reporting servlets -->
    <servlet-mapping>
        <servlet-name>ExportPDF</servlet-name>
        <url-pattern>/exportPDF</url-pattern>
    </servlet-mapping>
    <!-- end pdf reporting servlets -->
    <!-- start excel reporting servlets -->
    <servlet-mapping>
        <servlet-name>ExportExcel</servlet-name>
        <url-pattern>/exportExcel</url-pattern>
    </servlet-mapping>
    <!-- end excel reporting servlets -->
    <!-- start exporting logs servlets -->
    <!--
    <servlet-mapping>
        <servlet-name>ExportLogs</servlet-name>
        <url-pattern>/exportLogs</url-pattern>
    </servlet-mapping>
    -->
    <!-- end exporting logs servlets -->
    <!-- start kannel servlets -->
    <servlet-mapping>
        <servlet-name>SafaricomDlrCallback</servlet-name>
        <url-pattern>/safaricomDlrCallback</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SafaricomblkDlrCallback</servlet-name>
        <url-pattern>/safaricomblkDlrCallback</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>AirtelDlrCallback</servlet-name>
        <url-pattern>/airtelDlrCallback</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SafaricomReceiptCallback</servlet-name>
        <url-pattern>/safaricomReceiptCallback</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SafaricomblkReceiptCallback</servlet-name>
        <url-pattern>/safaricomblkReceiptCallback</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>AirtelReceiptCallback</servlet-name>
        <url-pattern>/airtelReceiptCallback</url-pattern>
    </servlet-mapping>
    <!-- end kannel servlets -->

    <!-- start captcha servlets -->
    <servlet-mapping>
        <servlet-name>FontImageGenerator</servlet-name>
        <url-pattern>/FontImageGenerator</url-pattern>
    </servlet-mapping>

    <!-- end captcha servlets -->    

    <servlet-mapping>
        <servlet-name>SearchResults</servlet-name>
        <url-pattern>/SearchResults</url-pattern>
    </servlet-mapping>    
    <servlet-mapping>
        <servlet-name>SendEmail</servlet-name>
        <url-pattern>/SendEmail</url-pattern>
    </servlet-mapping>    
    <servlet-mapping>
        <servlet-name>SetToEditAccount</servlet-name>
        <url-pattern>/setToEditAccount</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>EditAccount</servlet-name>
        <url-pattern>/editAccount</url-pattern>
    </servlet-mapping>
    <!-- JSPC servlet mappings end -->
    <!-- Welcome files -->
    <servlet-mapping>
        <servlet-name>ChangePassword</servlet-name>
        <url-pattern>/ChangePassword</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>BalanceNotification</servlet-name>
        <url-pattern>/balanceNotification</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>EditBalanceNotification</servlet-name>
        <url-pattern>/editBalanceNotification</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SendMail</servlet-name>
        <url-pattern>/SendMail</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SetBalanceThreshold</servlet-name>
        <url-pattern>/balanceThreshold</url-pattern>
    </servlet-mapping>
    <!-- <servlet-mapping>
        <servlet-name>SmsCodeList</servlet-name>
        <url-pattern>/smsCodeList</url-pattern>
    </servlet-mapping> -->
    <servlet-mapping>
        <servlet-name>adminIncomingSmsPie</servlet-name>
        <url-pattern>/admin/incomingSMSPie</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>adminOutgoingSmsPie</servlet-name>
        <url-pattern>/admin/outgoingSMSPie</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>adminIncomingSmsBarDay</servlet-name>
        <url-pattern>/admin/incomingSMSBarDay</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>adminOutgoingSmsBarDay</servlet-name>
        <url-pattern>/admin/outgoingSMSBarDay</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>EditBalanceThreshold</servlet-name>
        <url-pattern>/editBalanceThreshold</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>ResetPassword</servlet-name>
        <url-pattern>/resetPassword</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.html</welcome-file>
    </welcome-file-list>

    <error-page>
        <error-code>404</error-code>
        <location>/404.jsp</location>
    </error-page>
    <error-page>
        <error-code>500</error-code>
        <location>/500.jsp</location>
    </error-page> 

</web-app>

<!--
    Local Variables:
        mode: nXML
        nxml-child-indent: 4
        nxml-attribute-indent: 4
        indent-tabs-mode: nil
    End:

    ex: set softtabstop=4 tabstop=4 expandtab:
-->

check your logs, they'll give you hints at what's wrong.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.