This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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: 10433

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
It's not a secret anymore!