Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jazzfeigling
Post subject: Where do I put config files for an enterprise application?  PostPosted: Jan 07, 2005 - 07:39 PM
Veteran Member
Veteran Member


Joined: Apr 29, 2004
Posts: 2

Hello,
I'm having a problem figuring out where to put my log4j.xml file in my enterprise app. I have a web application that I've converted to an EAR app, with several EJBs. In the web app, I just put my log4j.xml config file in a resource directory and indicated it as a source dir so it would be rolled to WEB-INF/classes, but now I need to use the configuration for the EJBs also. Where do I put it? I've tried several approaches, but nothing has worked. Is there a container-standard place where this file should go?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jan 08, 2005 - 02:38 AM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6798

Placing it in the EJB project's source folder should work since a web application that shares an EAR with an EJB jar has access to the EJB's classloader. So, if the EJBs classloader can load it the web project's will be able to also.

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits