You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "2han9wen71an (via GitHub)" <gi...@apache.org> on 2023/02/03 10:15:35 UTC

[GitHub] [skywalking-java] 2han9wen71an commented on pull request #448: Fix osgi environment not working

2han9wen71an commented on PR #448:
URL: https://github.com/apache/skywalking-java/pull/448#issuecomment-1415603795

   > Could we build a simple osgi test? Otherwise, if people report bugs, we don't have things to share about which cases we tested.
   
   I just created a simple test
   1. download the felix framework https://felix.apache.org/documentation/downloads.html
   2. compile using the project https://github.com/StasKolodyuk/osgi-spring-boot-demo
   3. put the compiled jar into the bundle directory in felix
   4. start `java -jar <felix_path>/bin/felix.jar`
   Attach my vm parameters
   -javaagent: "D:\skywalking-agent\skywalking-agent.jar"
   -Dskywalking.agent.service_name=sample
   -Dskywalking.collector.backend_service=xxxx:11800
   -Dorg.osgi.framework.bundle.parent=app
   -Dorg.osgi.framework.bootdelegation=*
   


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