This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Dukes Bank and log4j error" Watch "Dukes Bank and log4j error" New topic

Dukes Bank and log4j error

Martin Kelsey

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 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.


Martin Kelsey

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 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?
I agree. Here's the link:
subject: Dukes Bank and log4j error
Similar Threads
Jboss Starter Duke's Bank Application
db-create-table: [java] SQL Error at line 340: java.sql.SQLException: Table not
org.hibernate.MappingNotFoundException: resource: edu/hib/pojo/Employee.orm.xml not found
Test methods that throw an exception
Configuring Log4J in ANT