I am using java.util.logging.Logger.addHandler(handler) to add a new handler to the root logger. This works fine when I do the operation in code. MBean or EJB. However when I edit the logger.properties file and use LogManager.readConfiguration(propertiesFile) to configure the logging system I get the following exception...
Can't load log handler "uk.co.mindhouse.util.logging.ConsoleHandler"
11:29:23,237 ERROR [STDERR] java.lang.ClassNotFoundException: uk.co.mindhouse.util.logging.ConsoleHandler
11:29:23,237 ERROR [STDERR] java.lang.ClassNotFoundException: uk.co.mindhouse.util.logging.ConsoleHandler
etc...
I have tried placing the jar file containing the classes in the lib and lib/ext directories in both the JBOSS_HOME and JBOSS_HOME/server/default.
Can anyone tell where to place the jar for classes that are used during logging configuration.
Thank you