tomcat7 - Error while deploying application in tomcat 7 -


hi getting following error while deplying application in tomcat:

jul 25, 2013 5:04:43 pm org.apache.catalina.deploy.namingresources cleanup warning: failed retrieve jndi naming context container [standardengine[catalina].standardhost[localhost].standardcontext[/oms-inter-web]] no cleanup performed container javax.naming.namenotfoundexception: name [comp/env] not bound in context. unable find [comp].     @ org.apache.naming.namingcontext.lookup(namingcontext.java:820)     @ org.apache.naming.namingcontext.lookup(namingcontext.java:168)     @ org.apache.catalina.deploy.namingresources.cleanup(namingresources.java:988)     @ org.apache.catalina.deploy.namingresources.stopinternal(namingresources.java:970)     @ org.apache.catalina.util.lifecyclebase.stop(lifecyclebase.java:232)     @ org.apache.catalina.core.standardcontext.stopinternal(standardcontext.java:5494)     @ org.apache.catalina.util.lifecyclebase.stop(lifecyclebase.java:232)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:160)     @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1595)     @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1585)     @ java.util.concurrent.futuretask$sync.innerrun(unknown source)     @ java.util.concurrent.futuretask.run(unknown source)     @ java.util.concurrent.threadpoolexecutor.runworker(unknown source)     @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source)     @ java.lang.thread.run(unknown source) 

any appreciated.

it may because of previous applications not undeployed tomcat container.

stop tomcat, , go tomcat conf directory /<tomcat root>/conf/catalina/localhost , clean xml files in directory. , restart tomcat

note: 1. make backup of xml files before deleting, if not works can restore it.

to same in netbeans ide

in netbeans menu go window->services , in listed services expand servers->->web applications-> right click on each application , choose undeploy

note: tomcat need in running condition this


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -