[jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1

2006-07-21 Thread jaikiran
anonymous wrote : String log4jFile = /WEB-INF/classes/log4j.xml; Change this to: String log4jFile = WEB-INF/classes/log4j.xml; Note that there is no '/' before the WEB-INF. Try it out and see if it works. Alternately, you can try: InputStream inputStream =

[jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1

2006-07-21 Thread heather
I changed it to log4j.xml and it still cannot find it with java.util.zip.ZipException as it cannot find path. Think I need to step back and look at my set-up to get my head round this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3959838#3959838 Reply to

[jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1

2006-07-21 Thread heather
The first answer was the correct one: log4j.xml no need for WEB-INF/classes path The other stuff was my own fault while playing around and nothing to do with problem. It now works just fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3959857#3959857

[jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1

2006-07-20 Thread PeterJ
Try this one change: String log4jFile = log4j.xml; The web application class loader looks in WEB-INF/classes automatically so you don't have to specify that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3959691#3959691 Reply to the post :