I am trying to use log4j within my application which among other things consists of Session Beans.
Reading the EJB spec (1.1) states that "Most servers do not allow direct interaction between an application program and a keyboard/display attached to the server system. An enterprise bean must not use the java.io package to attempt to access files and directories in the file system." The PropertyWatchDog attempts to open a file to the specified configuration file with File aFile = new File(configFile); It seems to me that this is in violation of the spec???? Also it seems that the configFileName must be fully qualified, which is a hassle when switching platforms. What I would like it to do is to take be implemented like this: InputStream istream = getClass().getResourceAsStream("/log4j.conf"); That way the file jsut has to be in the classpath and I don't have to worry about full paths. I just joined this list so I apologize if this is a repeat. Any help is appreciated! Thanks. Keith Nielsen -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>