Avatar of srikotesh
srikotesh
 asked on

Tomcat, hangs at “INFO: Initializing Spring root WebApplicationContext”,

Hi Experts,

I am trying to deploy a Spring web application to Tomcat 7.0.24 but it hangs upon startup.
Please find the attachment.
exception.png
JavaJava App ServersWeb Servers

Avatar of undefined
Last Comment
Am P

8/22/2022 - Mon
Am P

Looking at the snap it seems that tomcat is 6.0.44.

Give it a try with below checks:
1. Remove all the applications from tomcat and see it is able to start.
2. If no, then perform a clean install and check without deploying any application.
3. If yes, then the problem is with the application deployed.
4. Check all the logs files available in tomcat. Also, enable the logs in your application.

I suspect there must be something (ie. DB connection, Connection to any other app, Lack of memory) in your application which stops launching tomcat.

Also, share the logs files here to look into.
srikotesh

ASKER
I have removed all the applications from the tomcat

With out any application tomcat is starting successfully.

When i change the java version of my appliction to java 1.8 it is working fine.
But actually this application developed with java 1.6 so when i keep version as java 1.6
then it is not deploying properly.tomcat is not able start.
ASKER CERTIFIED SOLUTION
Am P

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
srikotesh

ASKER
working when I run the application outside of tomcat
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Am P

Perfect. Then it seems an issue with the JVM and tomcat configuration in the eclipse.

Give me some time. I will ask you more questions later.