Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Log4j problems in JBoss 3.0  RSS feed

David Rocks
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just deployed my app on the new Jboss 3.0. the problem is that log4j is not working. I am getting this error and i have no idea why.
at org.apache.log4j.WriterAppender.subAppend(
at org.apache.log4j.WriterAppender.append(
at org.apache.log4j.AppenderSkeleton.doAppend(
The code that causes this is
public class RemoteFactory {
private Context context ;
private boolean debug = true ;
private static final Category log = Category.getInstance(RemoteFactory.class);
public UserManager getUserManager() throws Exception {"RemoteFactory::getUserManager()" );

etc etc.
it is the log line that throws the error as it goes into the log4j classes. It is the default application of JBoss so i would assume that all of the jars would be contained.
Does anybody know how to get rid of this. Another problem is that System.out.println does no longer work for some reason ion version 3.0.
Any help would be greatly appreciated.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!