[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du
Hello JaiKiran The following is the contents of jboss-service.xml file. Thanks ?xml version=1.0 encoding=UTF-8? !-- $Id: jboss-service.xml,v 1.117.2.9 2005/04/01 13:50:43 andd Exp $ -- !-- = -- !-- JBoss Server Configuration -- !-- = -- !-- Load all jars from the JBOSS_DIST/server//lib directory. This can be restricted to specific jars by specifying them in the archives attribute. -- !-- -- !-- JSR-77 Single JBoss Server Management Domain -- !-- -- jboss.system:service=MainDeployer jboss.system:service=ServiceDeployer jboss.j2ee:service=EARDeployer jboss.ejb:service=EJBDeployer jboss.jca:service=RARDeployer jboss.jca:service=ConnectionFactoryDeployer jboss.web:service=WebServer jboss:service=Mail jboss.mq:service=DestinationManager jboss:service=Naming jboss:service=TransactionManager jboss:service=ClientUserTransaction jboss:service=CorbaORB !-- -- !-- XMBean Persistence -- !-- -- mbean code=org.jboss.system.pm.AttributePersistenceService name=jboss:service=AttributePersistenceService xmbean-dd=resource:xmdesc/AttributePersistenceService-xmbean.xml !-- the AttributePersistenceService is persistent, itself -- !-- org.jboss.system.pm.XMLAttributePersistenceManager data-directorydata/xmbean-attrs/data-directory false -- !-- A Thread pool service -- JBoss System Threads System Threads !-- How long a thread will live without any tasks in MS -- 6 !-- The max number of threads in the pool -- 10 !-- The max number of tasks before the queue is full -- 1000 !-- The behavior of the pool when a task is added and the queue is full. abort - a RuntimeException is thrown run - the calling thread executes the task wait - the calling thread blocks until the queue has room discard - the task is silently discarded without being run discardOldest - check to see if a task is about to complete and enque the new task if possible, else run the task in the calling thread -- run !-- Preload all custom editors for VMs that don't use the thread context class loader when searching for PropertyEditors. Uncomment if your JDK 1.3.0 VM fails to find JBoss PropertyEditors. java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor java.lang.Class=org.jboss.util.propertyeditor.ClassEditor java.util.Date=org.jboss.util.propertyeditor.DateEditor java.io.File=org.jboss.util.propertyeditor.FileEditor java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor javax.management.ObjectName=org.jboss.mx.util.propertyeditor.ObjectNameEditor java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor java.net.URL=org.jboss.util.propertyeditor.URLEditor -- !-- -- !-- Log4j Initialization -- !-- -- mbean code=org.jboss.logging.Log4jService name=jboss.system:type=Log4jService,service=Logging xmbean-dd=resource:xmdesc/Log4jService-xmbean.xml resource:log4j.xml !-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8 this needs to be set to avoid a possible deadlock on exception at the appender level. See bug#696819. -- true !-- How frequently in seconds the ConfigurationURL is checked for changes -- 60 !-- -- !-- JBoss RMI Classloader - only install when available -- !-- -- java.rmi.server.RMIClassLoaderSpi org.jboss.system.JBossRMIClassLoader !-- -- !-- Service Binding
[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du
Thanks for replying. I tried to specify the path in classpath environment variable, but am getting the same error message . Also log4j.xml is in all 3 subdirectories. Please let me know if you have other suggestions. I have seen JBOSS_HOME is being set in run.bat. I do not know if setting the path in the batch file will help? Thanks Alkarim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894270#3894270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894270 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du
Can you post the contents of jboss-service.xml present in server/default/conf directory View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894381#3894381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894381 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du
Make sure that you have log4j.xml file under your JBOSS_HOME/server//conf folder. can be a) all b) default or c) minimal which is according to your configuration. Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894152#3894152 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894152 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du
You will have to place log4j.xml or log4j.properties in your classpath View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893902#3893902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893902 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user