• Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging in j2ee  RSS feed

 
sachin y deshpande
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • 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:
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!