I am encountering the following error within the catalina.2013-12-31.log file on the Tomcat70/logs/ folder, when I attempt to start a recently deployed web application on Tomcat 7.
Dec 31, 2013 10:11:20 AM org.apache.catalina.deploy.NamingResources cleanUp WARNING: Failed to retrieve JNDI naming context for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/crm]] so no cleanup was performed for that container javax.naming.NameNotFoundException: Name [comp/env] is not bound in this Context. Unable to find [comp]. at org.apache.naming.NamingContext.lookup(NamingContext.java:820) at org.apache.naming.NamingContext.lookup(NamingContext.java:168) at org.apache.catalina.deploy.NamingResources.cleanUp(NamingResources.java:977) at org.apache.catalina.deploy.NamingResources.stopInternal(NamingResources.java:959) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5483) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141) at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:747) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:222) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) My application is a JDK7 Web Application. I have tried to look for similar questions and tried some suggestions such as restarting the server (in order to get to clear some XML files), but it did not work.
Any ideas please?
Update:
This is what I have in web.xml:
60 Servlet Mapped Filter Filters.ExampleFilter attribute Filters.ExampleFilter.SERVLET_MAPPED Path Mapped Filter Filters.ExampleFilter attribute Filters.ExampleFilter.PATH_MAPPED Request Dumper Filter Filters.RequestDumperFilter Set Character Encoding Filters.SetCharacterEncodingFilter encoding EUC_JP Compression Filter CompressionFilters.CompressionFilter compressionThreshold 10 debug 0 Servlet Mapped Filter invoker Path Mapped Filter /servlet/* Listeners.ContextListener Listeners.SessionListener SendMailServlet SendMailServlet snoop SnoopServlet Security role for anonymous access tomcat servletToJsp servletToJsp CompressionFilterTestServlet CompressionFilters.CompressionFilterTestServlet CompressionFilterTestServlet /CompressionTest SendMailServlet /SendMailServlet snoop /snoop servletToJsp /servletToJsp AddNewContact Crm.Servlets.AddNewContact AddNewContact /servlet/AddNewContact AddTip Crm.Servlets.AddTip AddTip /servlet/AddTip CaaPdfOutputter Crm.Servlets.CaaPdfOutputter CaaPdfOutputter /servlet/CaaPdfOutputter CaaTestSubmit Crm.Servlets.CaaTestSubmit CaaTestSubmit /servlet/CaaTestSubmit DeleteTip Crm.Servlets.DeleteTip DeleteTip /servlet/DeleteTip DestinationCustomerFinancialAdvisorRefresh Crm.Servlets.DestinationCustomerFinancialAdvisorRefresh DestinationCustomerFinancialAdvisorRefresh /servlet/DestinationCustomerFinancialAdvisorRefresh DestinationCustomerRefresh Crm.Servlets.DestinationCustomerRefresh DestinationCustomerRefresh /servlet/DestinationCustomerRefresh DestinationCustomerShadowFinancialAdvisorRefresh Crm.Servlets.DestinationCustomerShadowFinancialAdvisorRefresh DestinationCustomerShadowFinancialAdvisorRefresh /servlet/DestinationCustomerShadowFinancialAdvisorRefresh DestinationOfficerControl Crm.Servlets.DestinationOfficerControl DestinationOfficerControl /servlet/DestinationOfficerControl DestinationOfficerFinancialAdvisorControl Crm.Servlets.DestinationOfficerFinancialAdvisorControl DestinationOfficerFinancialAdvisorControl /servlet/DestinationOfficerFinancialAdvisorControl DestinationOfficerShadowFinancialAdvisorControl Crm.Servlets.DestinationOfficerShadowFinancialAdvisorControl DestinationOfficerShadowFinancialAdvisorControl /servlet/DestinationOfficerShadowFinancialAdvisorControl FactFindControl Crm.Servlets.FactFindControl FactFindControl /servlet/FactFindControl InsertAddedCustomerFinancialAdvisor Crm.Servlets.InsertAddedCustomerFinancialAdvisor InsertAddedCustomerFinancialAdvisor /servlet/InsertAddedCustomerFinancialAdvisor InsertAddedCustomerRelationshipOfficer Crm.Servlets.InsertAddedCustomerRelationshipOfficer InsertAddedCustomerRelationshipOfficer /servlet/InsertAddedCustomerRelationshipOfficer InsertAddedCustomerShadowFinancialAdvisor Crm.Servlets.InsertAddedCustomerShadowFinancialAdvisor InsertAddedCustomerShadowFinancialAdvisor /servlet/InsertAddedCustomerShadowFinancialAdvisor KYCControl Crm.Servlets.KYCControl KYCControl /servlet/KYCControl LeadAssignmentTransfer Crm.Servlets.LeadAssignmentTransfer LeadAssignmentTransfer /servlet/LeadAssignmentTransfer LeadAssignmentView Crm.Servlets.LeadAssignmentView LeadAssignmentView /servlet/LeadAssignmentView LeadDetailsGenerator Crm.Servlets.LeadDetailsGenerator LeadDetailsGenerator /servlet/LeadDetailsGenerator ListAddedCustomerFinancialAdvisor Crm.Servlets.ListAddedCustomerFinancialAdvisor ListAddedCustomerFinancialAdvisor /servlet/ListAddedCustomerFinancialAdvisor ListAddedCustomerRelationshipOfficer Crm.Servlets.ListAddedCustomerRelationshipOfficer ListAddedCustomerRelationshipOfficer /servlet/ListAddedCustomerRelationshipOfficer ListAddedCustomerShadowFinancialAdvisor Crm.Servlets.ListAddedCustomerShadowFinancialAdvisor ListAddedCustomerShadowFinancialAdvisor /servlet/ListAddedCustomerShadowFinancialAdvisor RemoveCustomerFinancialAdvisor Crm.Servlets.RemoveCustomerFinancialAdvisor RemoveCustomerFinancialAdvisor /servlet/RemoveCustomerFinancialAdvisor RemoveCustomerRelationshipOfficer Crm.Servlets.RemoveCustomerRelationshipOfficer RemoveCustomerRelationshipOfficer /servlet/RemoveCustomerRelationshipOfficer RemoveCustomerShadowFinancialAdvisor Crm.Servlets.RemoveCustomerShadowFinancialAdvisor RemoveCustomerShadowFinancialAdvisor /servlet/RemoveCustomerShadowFinancialAdvisor RetrieveTips Crm.Servlets.RetrieveTips RetrieveTips /servlet/RetrieveTips SourceCustomerFinancialAdvisorRefresh Crm.Servlets.SourceCustomerFinancialAdvisorRefresh SourceCustomerFinancialAdvisorRefresh /servlet/SourceCustomerFinancialAdvisorRefresh SourceCustomerRefresh Crm.Servlets.SourceCustomerRefresh SourceCustomerRefresh /servlet/SourceCustomerRefresh SourceCustomerShadowFinancialAdvisorRefresh Crm.Servlets.SourceCustomerShadowFinancialAdvisorRefresh SourceCustomerShadowFinancialAdvisorRefresh /servlet/SourceCustomerShadowFinancialAdvisorRefresh SourceOfficerControl Crm.Servlets.SourceOfficerControl SourceOfficerControl /servlet/SourceOfficerControl SourceOfficerFinancialAdvisorControl Crm.Servlets.SourceOfficerFinancialAdvisorControl SourceOfficerFinancialAdvisorControl /servlet/SourceOfficerFinancialAdvisorControl SourceOfficerShadowFinancialAdvisorControl Crm.Servlets.SourceOfficerShadowFinancialAdvisorControl SourceOfficerShadowFinancialAdvisorControl /servlet/SourceOfficerShadowFinancialAdvisorControl TransferCustomerFinancialAdvisor Crm.Servlets.TransferCustomerFinancialAdvisor TransferCustomerFinancialAdvisor /servlet/TransferCustomerFinancialAdvisor TransferCustomerRelationshipOfficer Crm.Servlets.TransferCustomerRelationshipOfficer TransferCustomerRelationshipOfficer /servlet/TransferCustomerRelationshipOfficer TransferCustomerShadowFinancialAdvisor Crm.Servlets.TransferCustomerShadowFinancialAdvisor TransferCustomerShadowFinancialAdvisor /servlet/TransferCustomerShadowFinancialAdvisor UpdateCustomerMonitoringUnit Crm.Servlets.UpdateCustomerMonitoringUnit UpdateCustomerMonitoringUnit /servlet/UpdateCustomerMonitoringUnit SohPdfOutputter Crm.Servlets.SohPdfOutputter SohPdfOutputter /servlet/SohPdfOutputter variouscontrol Crm.Servlets.variouscontrol variouscontrol /servlet/variouscontrol http://jakarta.apache.org/tomcat/debug-taglib /WEB-INF/jsp/debug-taglib.tld http://jakarta.apache.org/tomcat/examples-taglib /WEB-INF/jsp/example-taglib.tld mail/Session javax.mail.Session Container Example Security Constraint Protected Area /jsp/security/protected/* DELETE GET POST PUT tomcat role1 FORM Example Form-Based Authentication Area /jsp/security/protected/login.jsp /jsp/security/protected/error.jsp minExemptions 1 java.lang.Integer foo/name1 value1 java.lang.String foo/bar/name2 true java.lang.Boolean name3 1 java.lang.Integer foo/name4 10 java.lang.Integer Example EJB Reference ejb/Account Entity com.mycompany.mypackage.AccountHome com.mycompany.mypackage.Account Example Local EJB Reference ejb/ProcessOrder Session com.mycompany.mypackage.ProcessOrderHome com.mycompany.mypackage.ProcessOrder Server's context.xml in /Tomcat70/conf/:
WEB-INF/web.xml 

