You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/09/16 11:02:28 UTC

[GitHub] [skywalking] ayumiono opened a new issue #7728: [Bug]

ayumiono opened a new issue #7728:
URL: https://github.com/apache/skywalking/issues/7728


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Apache SkyWalking Component
   
   OAP server (apache/skywalking)
   
   ### What happened
   
   skywalking-oap:8.7.0 when i start the oap server local, it comes to an error org.apache.logging.log4j.core.config.xml.XmlConfiguration cannot be cast to org.apache.skywalking.oap.server.core.logging.log4j.OapConfiguration
   
   it seems like the OapConfigurationFactory not working, i read the apache logging docs and the org.apache.logging.log4j.core.config.plugins.util.PluginManager source code,and i do not find  PluginManager .addPackage() method is invoked in server-core/logging code
   
   i do not quite understand the mechanisms,if i miss any setting?
   
   ### What you expected to happen
   
   none
   
   ### How to reproduce
   
   none
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #7728: [Bug] XmlConfiguration cannot be cast to OapConfiguration

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #7728:
URL: https://github.com/apache/skywalking/issues/7728#issuecomment-924538149


   > > skywalking-oap:8.7.0 when i start the oap server local, it comes to an error org.apache.logging.log4j.core.config.xml.XmlConfiguration cannot be cast to org.apache.skywalking.oap.server.core.logging.log4j.OapConfiguration
   > 
   > @kezhenxu94 But this description doesn't match the possible case, I am afraid. If something in default has `cast exception`, the OAP server can't start up.
   
   Yes I agree absolutely that the default settings should be OK. That's why I ask @ayumiono to recheck and provide more information.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #7728: [Bug] XmlConfiguration cannot be cast to OapConfiguration

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7728:
URL: https://github.com/apache/skywalking/issues/7728


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7728: [Bug] XmlConfiguration cannot be cast to OapConfiguration

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7728:
URL: https://github.com/apache/skywalking/issues/7728#issuecomment-920804343


   This is not in the scope of SkyWalking.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #7728: [Bug] XmlConfiguration cannot be cast to OapConfiguration

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #7728:
URL: https://github.com/apache/skywalking/issues/7728#issuecomment-924534610


   > This is not in the scope of SkyWalking.
   
   It is, we are using the plugin mechanism of log4j2 to implement dynamic logging configuration.
   
   But @ayumiono you should also provide detailed steps to reproduce this (e.g. what you modified, how you run, etc.), because the settings are verified in every pull request that it works, and developers who run the OAP locally never see this error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7728: [Bug] XmlConfiguration cannot be cast to OapConfiguration

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7728:
URL: https://github.com/apache/skywalking/issues/7728#issuecomment-924536288


   > skywalking-oap:8.7.0 when i start the oap server local, it comes to an error org.apache.logging.log4j.core.config.xml.XmlConfiguration cannot be cast to org.apache.skywalking.oap.server.core.logging.log4j.OapConfiguration
   
   @kezhenxu94 But this description doesn't match the possible case, I am afraid. If something in default has `cast exception`, the OAP server can't start up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org