• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dukes Bank and log4j error

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 293
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In what way do you mean Java2WSDL will not proceed?
 
reply
    Bookmark Topic Watch Topic
  • New Topic