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 How to set up in JBoss 5.1.0? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to set up in JBoss 5.1.0?" Watch "How to set up in JBoss 5.1.0?" New topic

How to set up in JBoss 5.1.0?

Dejan Mratinkovic
Ranch Hand

Joined: Nov 20, 2008
Posts: 65
I have my own file, placed in the root of my ear file, set up as described here:

On Jboss 4.2.3 ti all works fine. Now I want to migrate application to Jboss 5.1, but seem to be ignored.

Should I initialize log4j somehow, or do anything else? In 4.2.3 all worked out of the box, without me doing anything else except placing the file into the root of application. I have tried to put the same file elsewhere on classpath, but with same result.

I guess almost all enterprise applications have log4j set up somehow. Anyone got it working on 5.1? Is my problem just file placement or could it be something else, ie. initialize/configure Log4j from my code (which I could do, and I am pretty sure it will work, but would like to avoid)?
I agree. Here's the link:
subject: How to set up in JBoss 5.1.0?
It's not a secret anymore!