aspose file tools*
The moose likes Spring and the fly likes Spring JDBC Problem getting log messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring JDBC Problem getting log messages" Watch "Spring JDBC Problem getting log messages" New topic
Author

Spring JDBC Problem getting log messages

Justin Howard
Ranch Hand

Joined: Feb 19, 2009
Posts: 162
Hi All,

I am using Spring 3 with Spring JDBC. Spring JDBC doesnt seem to be working. So I tried to get the log messages for the jdbc. But thats not working too.
I have this in my web.xml (partial)

This is in my log4j.properties. I also made sure lo4j.properties is in the classpath.


Thanks

Justin Howard
Ranch Hand

Joined: Feb 19, 2009
Posts: 162
Hi All,

Any suggestions to debug??

Thanks


Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30352
    
150

ItDoesntWorkIsUseless What happened? Is there an error message in system out? system error? did the code not respond to something?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Justin Howard
Ranch Hand

Joined: Feb 19, 2009
Posts: 162
Thanks. Sorry about the lack of information in the question.
I am not able to get Spring JDBC working. I am trying to get some log statements regarding the Spring JDBC in the logs to figure it out.
I am using Tomcat 6, Spring 3.
This is all I get in the logs now.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Sorry about the lack of information in the question. I am not able to get Spring JDBC working.

That's exactly what Jeanne is telling you : you are not telling us what is not working. What are you trying to do, and how ?


[My Blog]
All roads lead to JavaRanch
 
Don't get me started about those stupid light bulbs.
 
subject: Spring JDBC Problem getting log messages