File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes lgo4j configuration problem in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "lgo4j configuration problem in JBoss" Watch "lgo4j configuration problem in JBoss" New topic
Author

lgo4j configuration problem in JBoss

M K Rayapudi
Ranch Hand

Joined: Feb 19, 2007
Posts: 157
The configuration for log4j in JBoss is as follows:
file name: D:\jboss-4.0.5.GA\server\default\conf\log4j.xml

During my application deployment, I am getting the following error:


Please help where I am doing wrong?


R6i
dharmendra gahlot
Ranch Hand

Joined: Apr 22, 2009
Posts: 54
This is class Loader problem as your web application also has a log4j jar.
Please remove this jar from your application lib and restart server.
Application server's library is parent library for web application.


Dharmendra Gahlot
SCJP-5.0 87%,SCWCD-5.0 92%
M K Rayapudi
Ranch Hand

Joined: Feb 19, 2007
Posts: 157
thank you dharmendra,
as you said I removed log4j.jar, it is not giving any errors during deployment.
 
GeeCON Prague 2014
 
subject: lgo4j configuration problem in JBoss