aspose file tools*
The moose likes JBoss/WildFly and the fly likes Dukes Bank and log4j error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Dukes Bank and log4j error" Watch "Dukes Bank and log4j error" New topic
Author

Dukes Bank and log4j error

Martin Kelsey
Greenhorn

Joined: Aug 19, 2005
Posts: 2
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

Joined: Jul 20, 2005
Posts: 292

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

Joined: Aug 19, 2005
Posts: 2
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

Joined: Jul 20, 2005
Posts: 292

In what way do you mean Java2WSDL will not proceed?
 
jQuery in Action, 2nd edition
 
subject: Dukes Bank and log4j error