I had a missing jars in lib for this version of tomcat. Once added java mail api jars, it started to work again.
On Thu, Feb 6, 2014 at 4:28 AM, Shivam Mishra <shmishra...@gmail.com> wrote: > 2014-02-06 14:50:33 Commons Daemon procrun stderr initialized > 06-Feb-2014 14:50:34.636 INFO [main] > org.apache.catalina.core.AprLifecycleListener.init The APR based Apache > Tomcat Native library which allows optimal performance in production > environments was not found on the java.library.path: C:\Program > Files\Apache Software Foundation\Tomcat > 8.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program > Files\Broadcom\Broadcom 802.11 Network Adapter\Driver;;C:\Program Files > (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS > > Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program > Files (x86)\EgisTec MyWinLocker\x64;C:\Program Files (x86)\EgisTec > MyWinLocker\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program > Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) > Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management > Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management > Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management > Engine Components\IPT;C:\Program > > Files\Java\jdk1.8.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program > Files (x86)\MySQL\MySQL Utilities 1.3.5\;;. > 06-Feb-2014 14:50:35.189 INFO [main] > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > ["http-nio-8080"] > 06-Feb-2014 14:50:35.245 INFO [main] > org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared > selector for servlet write/read > 06-Feb-2014 14:50:35.251 INFO [main] > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > ["ajp-nio-8009"] > 06-Feb-2014 14:50:35.258 INFO [main] > org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared > selector for servlet write/read > 06-Feb-2014 14:50:35.258 INFO [main] > org.apache.catalina.startup.Catalina.load Initialization processed in 1511 > ms > 06-Feb-2014 14:50:35.348 INFO [main] > org.apache.catalina.core.StandardService.startInternal Starting service > Catalina > 06-Feb-2014 14:50:35.349 INFO [main] > org.apache.catalina.core.StandardEngine.startInternal Starting Servlet > Engine: Apache Tomcat/8.0.1 > 06-Feb-2014 14:50:35.375 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory C:\Program Files\Apache Software Foundation\Tomcat > 8.0\webapps\docs > 06-Feb-2014 14:50:36.370 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory C:\Program Files\Apache Software Foundation\Tomcat > 8.0\webapps\examples > 06-Feb-2014 14:50:37.825 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory C:\Program Files\Apache Software Foundation\Tomcat > 8.0\webapps\manager > 06-Feb-2014 14:50:37.936 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory C:\Program Files\Apache Software Foundation\Tomcat > 8.0\webapps\name > 06-Feb-2014 14:50:38.023 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory C:\Program Files\Apache Software Foundation\Tomcat > 8.0\webapps\ROOT > 06-Feb-2014 14:50:38.100 INFO [main] > org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler > ["http-nio-8080"] > 06-Feb-2014 14:50:38.115 INFO [main] > org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler > ["ajp-nio-8009"] > 06-Feb-2014 14:50:38.120 INFO [main] > org.apache.catalina.startup.Catalina.start Server startup in 2861 ms > > > > On Thu, Feb 6, 2014 at 2:37 PM, Mark Thomas <ma...@apache.org> wrote: > > > On 06/02/2014 03:32, Kiran Badi wrote: > > > Hi All, > > > > > > I have 3 tomcats installed in my machine, one is 7.0.27, 7.0.35 and > > 7.0.50 > > > > > > Now when I deploy my war file to 7.0.27/7.0.35 it works perfectly fine > > and > > > deployment goes through. > > > > > > But on 7.0.50 it fails with below message, > > > > > > FAIL - Application at context path /myapp could not be started > > > > > > FAIL - Encountered exception org.apache.catalina.LifecycleException: > > > Failed to start component > > > > > > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myapp]] > > > > > > In catalina logs I see below message, > > > > > > eb 05, 2014 10:22:21 PM org.apache.catalina.deploy.NamingResources > > cleanUp > > > WARNING: Failed to retrieve JNDI naming context for container > > > > > > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myapp]] > > > so no cleanup was performed for that container > > > > This is just a warning from when Tomcat was trying to shut down the > > already broken web application. You need to look earlier in the logs to > > find out why it didn't start in the first place. > > > > Generally, when something goes wrong with Tomcat you need to look at the > > first error message in the logs and then look at the root cause of that > > error. > > > > Mark > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > >