Solved

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

Posted on 2016-07-21
5
509 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 41725526
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 2

Author Comment

by:srikotesh
ID: 41726187
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 21

Accepted Solution

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

Also share the log files.
0
 
LVL 2

Author Comment

by:srikotesh
ID: 41738485
working when I run the application outside of tomcat
0
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 41741094
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 75
Eclipse Java import and method not resolved 4 82
Java array sort 10 35
How to fix  socket closed error 11 32
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.

730 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