object is not assignable

370 views
Skip to first unread message

Jamie Jackson

unread,
Mar 12, 2013, 2:46:03 PM3/12/13
to javaloa...@googlegroups.com
Hi Folks,

I'm on ACF9 with JavaLoader 1.1, and I'm loading a Jar with Jamie Krug's JavaLoaderFactory stuff.

In the request that uses a class from the Jar, I get this the following. Does it look familiar, or do I need to provide more details?

log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [com.compoundtheory.classloader.NetworkClassLoader@57a37ec1] whereas object of type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@51f12c4e].
log4j:ERROR Could not instantiate appender named "CONSOLE".
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [com.compoundtheory.classloader.NetworkClassLoader@57a37ec1] whereas object of type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@51f12c4e].
log4j:ERROR Could not instantiate appender named "HIBERNATECONSOLE".
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [com.compoundtheory.classloader.NetworkClassLoader@57a37ec1] whereas object of type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@51f12c4e].
log4j:ERROR Could not instantiate appender named "CONSOLE".
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [com.compoundtheory.classloader.NetworkClassLoader@57a37ec1] whereas object of type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@51f12c4e].
log4j:ERROR Could not instantiate appender named "AXISCONSOLE".
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [com.compoundtheory.classloader.NetworkClassLoader@57a37ec1] whereas object of type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@51f12c4e].
log4j:ERROR Could not instantiate appender named "HIBERNATECONSOLE".
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [com.compoundtheory.classloader.NetworkClassLoader@57a37ec1] whereas object of type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@51f12c4e].
log4j:ERROR Could not instantiate appender named "JETTYCONSOLE".
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [com.compoundtheory.classloader.NetworkClassLoader@57a37ec1] whereas object of type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@51f12c4e].
log4j:ERROR Could not instantiate appender named "AXISCONSOLE".


Thanks,
Jamie

Mark Mandel

unread,
Mar 12, 2013, 5:07:23 PM3/12/13
to javaloa...@googlegroups.com
It *sounds* like a TheadContext classloader issue.

Mark



--
You received this message because you are subscribed to the Google Groups "javaloader-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javaloader-de...@googlegroups.com.
To post to this group, send email to javaloa...@googlegroups.com.
Visit this group at http://groups.google.com/group/javaloader-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
E: mark....@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
Reply all
Reply to author
Forward
0 new messages