[ 
https://issues.apache.org/jira/browse/LOG4J2-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027428#comment-14027428
 ] 

Arthur Hsieh commented on LOG4J2-665:
-------------------------------------

I am now able to see the log4j2 tab when starting the Client GUI as a JConsole 
plug-in.  However, just like in the standalone GUI, i see "LoggerContext: 
sun.misc.Launcher$AppClassLoader@3b26456a", as opposed to the "LoggerContext: 
AsyncLoggerContext".  And also, nothing is displayed under the StatusLogger 
tab. When I click on the Configuration Tab, and click on Reconfigure from 
Location 
(/Users/arthurhsieh/Documents/NetBeansProjects/AES/POS/build/classes/log4j2.xml),
 StatusLogger tab is refreshed with the same warnings as displayed in the 
standalone app:

2014-06-11 13:25:32,077 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,079 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,080 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,081 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,082 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,083 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,084 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/LevelAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,085 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MarkerAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,085 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,086 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/StackTraceElementAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,087 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,088 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/nosql/mongodb/MongoDBConnection$1.class'
 due to a java.lang.NoClassDefFoundError with message: org/bson/Transformer
2014-06-11 13:25:32,094 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$1.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,095 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$2.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslatorTwoArg
2014-06-11 13:25:32,096 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$Log4jEventWrapperHandler.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,097 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEvent$Factory.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,098 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventHandler.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,099 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventTranslator.class' due to 
a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslator
2014-06-11 13:25:32,110 WARN Could not examine class 
'org/apache/logging/log4j/core/net/AbstractJMSReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,112 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSQueueReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,113 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSTopicReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,114 WARN Could not examine class 
'org/apache/logging/log4j/core/net/SMTPManager$SMTPManagerFactory$1.class' due 
to a java.lang.NoClassDefFoundError with message: javax/mail/Authenticator
2014-06-11 13:25:32,120 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContainerInitializer.class' due 
to a java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContainerInitializer
2014-06-11 13:25:32,121 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContextListener.class' due to a 
java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContextListener
2014-06-11 13:25:32,122 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletFilter.class' due to a 
java.lang.NoClassDefFoundError with message: javax/servlet/Filter
2014-06-11 13:25:32,129 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,130 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,131 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,131 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,132 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,133 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,133 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/LevelAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,135 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MarkerAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,135 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,136 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/StackTraceElementAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,137 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,139 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/nosql/mongodb/MongoDBConnection$1.class'
 due to a java.lang.NoClassDefFoundError with message: org/bson/Transformer
2014-06-11 13:25:32,146 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$1.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,147 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$2.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslatorTwoArg
2014-06-11 13:25:32,148 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$Log4jEventWrapperHandler.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,149 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEvent$Factory.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,150 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventHandler.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,151 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventTranslator.class' due to 
a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslator
2014-06-11 13:25:32,166 WARN Could not examine class 
'org/apache/logging/log4j/core/net/AbstractJMSReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,169 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSQueueReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,171 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSTopicReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,173 WARN Could not examine class 
'org/apache/logging/log4j/core/net/SMTPManager$SMTPManagerFactory$1.class' due 
to a java.lang.NoClassDefFoundError with message: javax/mail/Authenticator
2014-06-11 13:25:32,182 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContainerInitializer.class' due 
to a java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContainerInitializer
2014-06-11 13:25:32,183 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContextListener.class' due to a 
java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContextListener
2014-06-11 13:25:32,184 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletFilter.class' due to a 
java.lang.NoClassDefFoundError with message: javax/servlet/Filter
2014-06-11 13:25:32,194 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,195 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,196 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,197 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,198 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,200 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,201 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/LevelAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,202 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MarkerAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,203 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,204 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/StackTraceElementAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,205 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,207 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/nosql/mongodb/MongoDBConnection$1.class'
 due to a java.lang.NoClassDefFoundError with message: org/bson/Transformer
2014-06-11 13:25:32,213 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$1.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,214 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$2.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslatorTwoArg
2014-06-11 13:25:32,215 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$Log4jEventWrapperHandler.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,216 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEvent$Factory.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,217 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventHandler.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,218 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventTranslator.class' due to 
a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslator
2014-06-11 13:25:32,230 WARN Could not examine class 
'org/apache/logging/log4j/core/net/AbstractJMSReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,232 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSQueueReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,234 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSTopicReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,235 WARN Could not examine class 
'org/apache/logging/log4j/core/net/SMTPManager$SMTPManagerFactory$1.class' due 
to a java.lang.NoClassDefFoundError with message: javax/mail/Authenticator
2014-06-11 13:25:32,241 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContainerInitializer.class' due 
to a java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContainerInitializer
2014-06-11 13:25:32,242 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContextListener.class' due to a 
java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContextListener
2014-06-11 13:25:32,242 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletFilter.class' due to a 
java.lang.NoClassDefFoundError with message: javax/servlet/Filter
2014-06-11 13:25:32,249 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,250 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,250 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextMapJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,251 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,252 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter$1.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/fasterxml/jackson/core/type/TypeReference
2014-06-11 13:25:32,253 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ContextStackJsonAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,254 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/LevelAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,254 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MarkerAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,255 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,256 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/StackTraceElementAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,257 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.class'
 due to a java.lang.NoClassDefFoundError with message: 
javax/persistence/AttributeConverter
2014-06-11 13:25:32,258 WARN Could not examine class 
'org/apache/logging/log4j/core/appender/db/nosql/mongodb/MongoDBConnection$1.class'
 due to a java.lang.NoClassDefFoundError with message: org/bson/Transformer
2014-06-11 13:25:32,264 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$1.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,265 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$2.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslatorTwoArg
2014-06-11 13:25:32,266 WARN Could not examine class 
'org/apache/logging/log4j/core/async/AsyncLoggerConfigHelper$Log4jEventWrapperHandler.class'
 due to a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,267 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEvent$Factory.class' due to a 
java.lang.NoClassDefFoundError with message: com/lmax/disruptor/EventFactory
2014-06-11 13:25:32,267 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventHandler.class' due to a 
java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/SequenceReportingEventHandler
2014-06-11 13:25:32,268 WARN Could not examine class 
'org/apache/logging/log4j/core/async/RingBufferLogEventTranslator.class' due to 
a java.lang.NoClassDefFoundError with message: 
com/lmax/disruptor/EventTranslator
2014-06-11 13:25:32,281 WARN Could not examine class 
'org/apache/logging/log4j/core/net/AbstractJMSReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,283 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSQueueReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,285 WARN Could not examine class 
'org/apache/logging/log4j/core/net/JMSTopicReceiver.class' due to a 
java.lang.NoClassDefFoundError with message: javax/jms/MessageListener
2014-06-11 13:25:32,286 WARN Could not examine class 
'org/apache/logging/log4j/core/net/SMTPManager$SMTPManagerFactory$1.class' due 
to a java.lang.NoClassDefFoundError with message: javax/mail/Authenticator
2014-06-11 13:25:32,293 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContainerInitializer.class' due 
to a java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContainerInitializer
2014-06-11 13:25:32,294 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletContextListener.class' due to a 
java.lang.NoClassDefFoundError with message: 
javax/servlet/ServletContextListener
2014-06-11 13:25:32,295 WARN Could not examine class 
'org/apache/logging/log4j/core/web/Log4jServletFilter.class' due to a 
java.lang.NoClassDefFoundError with message: javax/servlet/Filter


> Unable to connect from log4j2 Client GUI to my application
> ----------------------------------------------------------
>
>                 Key: LOG4J2-665
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-665
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: JMX
>    Affects Versions: 2.0-rc1
>         Environment: OS: OSX Mavericks 10.9.3
> IDE: Netbeans 8.0 (Build 201403101706)
> Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
> log4j: 2.0rc1
>            Reporter: Arthur Hsieh
>         Attachments: Screen Shot 2014-06-10 at 15.41.36.png, Screen Shot 
> 2014-06-10 at 15.42.33.png, log4j2.xml
>
>
> I am unable to connect from the log4j2 Client GUI, regardless of whether 
> running it as a JConsole Plug-in, or running it as a standalone application.
> Below are details of what I've used in my attempts:
> My application
> - ran from Netbeans, with these VM arguments:
> -Djava.security.policy=~/Downloads/policy -Djavax.management.builder.initial= 
> -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 
> -Dcom.sun.management.jmxremote.local.only=false 
> -Dcom.sun.management.jmxremote.authenticate=false 
> -Dcom.sun.management.jmxremote.ssl=false
> - I've tried various ports: 9010, 1099, 33445 etc
> - Content of my policy file (I've allowed everything):
> grant {
> permission java.security.AllPermission;
> };
> Running the Client GUI as a JConsole Plug-in
> - command I used to execute:
> jconsole -pluginpath 
> ~/Downloads/Software/Development/Java/log4j/2.0/rc1/apache-log4j-2.0-rc1-bin/log4j-core-2.0-rc1.jar:~/Downloads/Software/Development/Java/log4j/2.0/rc1/apache-log4j-2.0-rc1-bin/log4j-jmx-gui-2.0-rc1.jar
> - The JConsole starts without issue, but I don't see the Log4j2 tab as per 
> the manual (http://logging.apache.org/log4j/2.x/manual/jmx.html)
> Running the Client GUI as a Stand-alone Application
> - command I used to execute (I'm running this from the directory where the 
> JARs are:
> java -cp log4j-core-2.0-rc1.jar:log4j-jmx-gui-2.0-rc1.jar 
> org.apache.logging.log4j.jmx.gui.ClientGUI localhost:9010
> - however, i getting a java.lang.NoClassDefFoundError:
> Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: 
> org/apache/logging/log4j/status/StatusLogger
>         at org.apache.logging.log4j.core.jmx.Server.<clinit>(Server.java:59)
>         at 
> org.apache.logging.log4j.jmx.gui.Client.getStatusLoggerAdmin(Client.java:143)
>         at 
> org.apache.logging.log4j.jmx.gui.ClientGUI.addWidgetForLoggerContext(ClientGUI.java:109)
>         at 
> org.apache.logging.log4j.jmx.gui.ClientGUI.populateWidgets(ClientGUI.java:98)
>         at 
> org.apache.logging.log4j.jmx.gui.ClientGUI.<init>(ClientGUI.java:81)
>         at 
> org.apache.logging.log4j.jmx.gui.ClientGUI$2.run(ClientGUI.java:276)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
>         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
>         at java.awt.EventQueue.access$200(EventQueue.java:103)
>         at java.awt.EventQueue$3.run(EventQueue.java:694)
>         at java.awt.EventQueue$3.run(EventQueue.java:692)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
>         at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
>         at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
>         at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
>         at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>         at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.logging.log4j.status.StatusLogger
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         ... 20 more



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to