This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring hangs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring hangs" Watch "Spring hangs" New topic

Spring hangs

Benson Fung
Ranch Hand

Joined: Apr 10, 2003
Posts: 214

I am using Tomcat 6.0. I got the following so rare scenario.

I started the tomcat 6.0, but it hangs at the following :

13216 [main] INFO org.springframework.beans.factory.config.PropertiesFactoryBean - Loading properties file from ServletContext resource [/WEB-INF/]

The is located at WEB-INF/

And the definition in the spring xml is
<util:properties id="app_props" location="WEB-INF/"/>

Please help why the tomcat hangs at the above line.

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I don't think it is actually hanging at that line. If there is anything wrong with Spring it throws an exception, but you are not seeing the exception in your console. So I am going to guess it is in the Tomcat log file. Go to your TOmcat directory and find the log file and open it up and look for your exception stack trace, then post it here.

My guess is that it couldn't find the properties file.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Spring hangs
It's not a secret anymore!