I would not be concerned by this at all.
Part of the JavaBean model says that for the given Java class, there _might_
be a corresponding *BeanInfo class. The java.bean.Introspector, which is
normally the place to get a BeanInfo from will either try to find a matching
class, and if not found, will use reflection itself. The error therefore is
expected by the Introspector and silently caught and moves on to using
reflection to find the BeanInfo. You have just exposed something via
low-level logging getting a BeanInfo and the JavaBean framework is doing
it's best to find things.
See the java.bean package and in particular the Introspector class for more
information.
cheers,
Paul
-----Original Message-----
From: Olle Olsson
To: [EMAIL PROTECTED]
Cc: Olle Olsson
Sent: 1/24/04 2:12 AM
Subject: Anyone knows about org.apache.log4j.LayoutBeanInfo
Using a system (Jena2) that contains log4j.
I get the following classloading failures (extract from a sort of
classloading log)
.......
[JarResources]getResource: reading
org/apache/log4j/helpers/PatternParser$MDCPatternConverter.class
[JarResources]getResource: reading
org/apache/log4j/helpers/PatternParser$LiteralPatternConverter.class
[JarResources]getResource: reading
org/apache/log4j/helpers/FormattingInfo.class
[JarResources]getResource: reading
org/apache/log4j/config/PropertySetter.class
[JarResources]getResource: reading
org/apache/log4j/config/PropertySetterException.class
[ClassLoader3.findClass] ###### Exception in
findClass=java.lang.ClassNotFoundException:
org.apache.log4j.PatternLayoutBeanInfo
[ClassLoader3.findClass] ###### Exception in
findClass=java.lang.ClassNotFoundException:
org.apache.log4j.LayoutBeanInfo
[JarResources]getResource: reading
org/apache/log4j/spi/LoggingEvent.class
.......
The system seems to run.
But I get these two failed classes --
-- org.apache.log4j.PatternLayoutBeanInfo
-- org.apache.log4j.LayoutBeanInfo
What are these beasts? Some old/deprecated/scrapped/... code?
Or do they arise out of some configuration settings?
/olle
--
------------------------------------------------------------------
Olle Olsson [EMAIL PROTECTED] Tel: +46 8 633 15 19 Fax: +46 8 751 72 30
[Svenska W3C-kontoret: [EMAIL PROTECTED]
SICS [Swedish Institute of Computer Science]
Box 1263
SE - 164 29 Kista
Sweden
------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]