Hi,
I have a set of classes that use Log4J and they are working fine. I wrap
these classes as a JMX component and load them within JBoss. I can't manage
to log properly anymore. I have the following error. Please note that
config.lcf is not even the name of the file I use to configure log4j. Any
idea?

log4j:ERROR Could not read configuration file [config.lcf].
 java.io.FileNotFoundException: config.lcf (The system cannot find the file
specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(Unknown Source)
      at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:
289)
      at
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:30
8)
      at ecf.normativeCore.kernel.Kernel.<init>(Kernel.java:50)
      at ecf.normativeCore.kernel.Reasoner.initialize(Reasoner.java:18)
      at ecf.normativeCore.service.NCService.startService(NCService.java:27)
      at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
      at java.lang.reflect.Method.invoke(Native Method)
      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at
org.jboss.jmx.server.RMIConnectorImpl.invoke(RMIConnectorImpl.java:401)
      at java.lang.reflect.Method.invoke(Native Method)
      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
      at sun.rmi.transport.Transport$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
      at java.lang.Thread.run(Unknown Source)
 log4j:ERROR Ignoring configuration file [config.lcf].

cheers,

mathias

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to