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/05 12:03:53 UTC

[GitHub] [skywalking-java] daimingzhi commented on pull request #19: Add support for extClassLoader

daimingzhi commented on pull request #19:
URL: https://github.com/apache/skywalking-java/pull/19#issuecomment-913141539


   I have finished the test case for  the `extClassLoader` scenario.
   
   What I did is:
   
   1. configure the `httpclient-4.x` plugin to excClassLoaded with `-Dskywalking.plugin.plugins_in_ext_class_loader=httpclient-4.x`
   2. load class httpclient releated by extClassLoader. 
      - put these class in `/extlibs` direttory,and update  `assembly.xml` so that this directory will be package into `.zip` file.
      - add command line argument:`-Djava.ext.dirs=${home}/../extlibs/`
   
   Does this meet expectations?
   
   In addition,since I am using Windows os,I run this case in my IDEA instead of using run.sh scirpt.I'm going to try it on someone else's computer tomorrow


-- 
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