Hi there,

I have been trying to set my jBoss to make logging into a file. I
set, as it specified, my jboss.conf file with the
proper MLet:
 
<MLET CODE = "org.jboss.logging.ConsoleLogging" ARCHIVE="jboss.jar" CODEBASE="../lib/ext/">
   <ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error">
   <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
   <ARG TYPE="java.lang.String" VALUE="">
   <ARG TYPE="java.lang.String" VALUE="logging.log">
</MLET>

The log home directory is properly set.
but it doesn't work, and give me the following server trace.

Any ideas folks?

Paolo.
InstantDB - Version 3.12
Copyright (c) 1997-1999 Instant Computer Solutions Ltd.
javax.management.ReflectionException
        at javax.management.MBeanServer.internal_instantiate(MBeanServer.java:22
01)
        at javax.management.MBeanServer.createMBean(MBeanServer.java:717)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
        at org.jboss.Main.<init>(Main.java:111)
        at org.jboss.Main.<init>(Main.java:86)
        at org.jboss.Main$1.run(Main.java:76)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:67)
javax.management.InstanceNotFoundException: DefaultDomain:service=Logging,type=C
onsole
        at javax.management.MBeanServer.getMBean(MBeanServer.java:1685)
        at javax.management.MBeanServer.getMBeanInfo(MBeanServer.java:1885)
        at org.jboss.configuration.ConfigurationService.load(ConfigurationServic
e.java:101)
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
        at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
        at org.jboss.Main.<init>(Main.java:135)
        at org.jboss.Main.<init>(Main.java:86)
        at org.jboss.Main$1.run(Main.java:76)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:67)
jBoss 2.0 Started

Reply via email to