File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Using your own file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Using your own file" Watch "Using your own file" New topic

Using your own file


Joined: Jan 16, 2007
Posts: 3

Using your own file - class loader scoping

i followed above URL.

in default/conf directory i renamed log4j.xml to jboss-log4j.xml;and in jboss-service.xml i changed log4j.xml to jboss-log4j.xml;

i want to use my own and it is placed in WEB-INF of test.war directory;

log4j1.2.4.jar placed in WEB-INF/lib directory.i made changes in jboss-web.xml.

<class-loading java2ClassLoadingCompliance='false'>
</class-loading>, SESSME
# Keep ten backup files
log4j.appender.SESSME.layout.ConversionPattern=%d , %m%n

i have one doubt should i write any java file to read that i placed in WEB-INF directory or else jboss will automatically read file

But still it is logging in to server.log ................
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858


You have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Be aware that accounts with invalid display names are removed.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]

Joined: Jan 16, 2007
Posts: 3
I could nt understand why the hell R U making....Why couldnt I have my own display Name ,if not why did U gave an option of entering the Display Name during the registration process if display Name is merely a First Name and Last NAme seperated by a space!!! This could have been automatically generated by displayName=firstName +" "+ lastName

This is really funny to hear that U guys are so crazy about Display Name rather than concentrate on other Issues.. The Display Name which I had given is not any obscene one.. so why this nonsense..

A policy should be a bit meaningful.... like no obscene words usage or non usage of celebrities etc.,., Not like FiratName only cannot be Used and so on...blah blah......
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

It is because we believe that real names contribute to a friendlier and more professional community. If you would like to discuss our display name policy, you can do so in this thread: Discussion of Naming Policy but you will need to register with a new account as I am closing this one

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

When and if you begin posting using your new account with a valid display name, please be sure to use real words when posting. R and U are not real words. Please use "are" and "you". Thanks.
I agree. Here's the link:
subject: Using your own file
It's not a secret anymore!