Solved

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

Posted on 2016-07-21
5
133 Views
Last Modified: 2016-08-07
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
Comment
Question by:srikotesh
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:Amitkumar Panchal
Comment Utility
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
 
LVL 1

Author Comment

by:srikotesh
Comment Utility
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
 
LVL 20

Accepted Solution

by:
Amitkumar Panchal earned 500 total points
Comment Utility
Have you tried running tomcat (with your application deployed) outside eclipse ?

Also share the log files.
0
 
LVL 1

Author Comment

by:srikotesh
Comment Utility
working when I run the application outside of tomcat
0
 
LVL 20

Expert Comment

by:Amitkumar Panchal
Comment Utility
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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now