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 Logging problem log4j:ERROR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Logging problem log4j:ERROR" Watch "Logging problem log4j:ERROR" New topic

Logging problem log4j:ERROR

Srikanth Adapa
Ranch Hand

Joined: Aug 21, 2008
Posts: 56
I am testing an application to implement clustering. Everything is seeming good. But I found a session related exception. Please check with the following command console status:

Please let me know if I need to make any settings or changes in my jboss server, as I am getting the similar exception for every test case in echo2, I ve checked. And any problem with the class loader??

Thank you in advance.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Are you packaging log4j jar file in your application? If yes, then remove that jar file from your application package. JBoss already ships with a log4j jar.

[My Blog] [JavaRanch Journal]
Srikanth Adapa
Ranch Hand

Joined: Aug 21, 2008
Posts: 56
Thats fine Mr. Kiran.
I could solve the log4j error. But I ve a big exception stack trace while clustering. Would you please suggest me something.

Srikanth Adapa
Ranch Hand

Joined: Aug 21, 2008
Posts: 56
When the application is running on a single machine everything is fine. But coming to clustering issue, I even got the similar type of exception pointing to a class in the application. As read from the forum, I came to know that this exception generally occur due to absence of related library files. But everything is fine here. please observer the exception stack trace as

Thanking you in advance!!
I agree. Here's the link:
subject: Logging problem log4j:ERROR
jQuery in Action, 3rd edition