• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Logging in j2ee

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
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:
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic