This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to complete the Dukes Bank tutorial. All is fine until section 5.2 where I run the ant script with the wsdl target. I get the following error message:
As I have never used log4j before, this is probably just a silly error, but I have tried reinstalling JBoss and following the tutorial all over a couple of times now. read a little about log4j but can't really figure out what to do. I am using JBoss 4.0.2 on a linux system. Any ideas? [ August 19, 2005: Message edited by: Martin Kelsey ]
log4j is a logging system to allow you to log, well, anything!
It is controlled by a propertiued file called log4j.properties. What this error means is that the build process couldn't find this file on its class path so couldn't configure logging correctly.
This shouldn't cause you any problems whilst building, so you can probably safely ignore the error.
If you want to get rid of the warning, have a look at log4j web site and see how to configure it.
Joined: Aug 19, 2005
Thanks Dave! I would be happy to ignore it, but apparently java2WSDL will not proceed at all without a "properly initialized log4j system" . I have now tried putting a log4j.properties file in the class path of the ant script. As far as I can tell, the following file should allow any log4j messages to be handled.
However, I just receive the same error message as before.