Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dukes Bank and log4j error

 
Martin Kelsey
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Cheers,

Dave.
 
Martin Kelsey
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In what way do you mean Java2WSDL will not proceed?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic