Thanks for a prompt reply. 

I had done that clean install before. Anyway got to a clean install
situation and I still got the same error.

So, I looked into my web.xml under $CATALINA_HOME/webapps/myapp/WEB-INF  and
there I found a reference to a servlet-name 'Invoker'. I had read about this
somewhere. I commented out that block and things started working. My
application starts fine. There is some other problem with my .so file. Need
to figure that out. Not sure whether it is connected to this Invoker. 

Thanks for your guidance and I now know that there is no longer a need to
mess around with setclasspath.sh. Great. It had been a nightmare! 

**********

ramsri wrote:
> 
> I have been struggling for a week now getting my application deployed on
> Tomcat 7. I am unable to make much progress with it and request your help.
> I am not very good with Tomcat. So please bear with me and request details
> in your solution. I can see this site being very informative. 
> 
> I have Tomcat7 running. My application which was running just fine under
> Tomcat5 does not start under Tomcat7. I have modified setclasspath.sh with
> all the necessary JARs. That is what I used to do on Tomcat5. Am I not
> supposed to mess with this file? There is a servlet-api.jar that I find
> under 
> $CATALINA_HOME/lib
> 
> Tomcat itself starts fine and I see the opening page. Even my Axis comes
> up ok but not my application. 
> 
> I start Tomcat with ./startup.sh and I do not use Eclipse. The message
> that I get is as follows.
> 
> Thanks very much for your help. Glad to provide more info if needed. 
> 
> 
> ***************************
>> Oct 20, 2011 3:04:03 PM org.apache.catalina.core.ContainerBase 
>> addChildInternal 
>> SEVERE: ContainerBase.addChild: start: 
>> org.apache.catalina.LifecycleException: Failed to start component 
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mywebapp]]
>>  
>>         at 
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152) 
>>         at 
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
>>  
>>         at 
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787) 
>>         at 
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607) 
>>         at 
>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055) 
>>         at 
>> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)
>>  
>>         at 
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) 
>>         at 
>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329) 
>>         at 
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) 
>>         at 
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>>  
>> 
>> *********** 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Tomcat-application-startup---Lifecycleexception-tp32693089p32693293.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to