• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Logging in j2ee

Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are facing a problem (File not found) when specifying custom logging properties in a file external to the application.
Please help in figuring out the issue. Thanks in advance.

We have created a custom Logger class which wraps the JDK logger (initiates it too)
We have used the custom Logger to handle logging in web-service implementations.

The following is the code in the custom Logger class

The following is a section of the MY_logging.properties file that we need to access. This file is supplied in a jar (its in the base directory) which is set in shared-lib of the server. We are using Websphere App Server v7

The following is the exception which we get:
Posts: 3281
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your logging config file is not being picked up in the CLASSPATH, you might need to play around with how you are deploying it. Maybe try placing in the WEB-INF/classes dir
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!