• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2851
  • Last Modified:

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
0
srikotesh
Asked:
srikotesh
  • 3
  • 2
1 Solution
 
Amitkumar PSr. ConsultantCommented:
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.
0
 
srikoteshAuthor Commented:
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.
0
 
Amitkumar PSr. ConsultantCommented:
Have you tried running tomcat (with your application deployed) outside eclipse ?

Also share the log files.
0
 
srikoteshAuthor Commented:
working when I run the application outside of tomcat
0
 
Amitkumar PSr. ConsultantCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now