Won't Fix
Details
Assignee
UnassignedUnassignedReporter
Antonio RussoAntonio RussoLabels
HB Grooming Date
Oct 18, 2021Components
Affects versions
Priority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Antonio Russo
Antonio RussoLabels
HB Grooming Date
Oct 18, 2021
Components
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created February 25, 2016 at 2:46 AM
Updated October 19, 2021 at 5:43 PM
Resolved October 19, 2021 at 5:32 PM
The content of the jar:
MacBook-Pro-di-Antonio-Russo:tmp antonio$ jar xvf /opt/opennms/lib/org.apache.servicemix.bundles.spring-instrument-4.0.5.RELEASE_1.jar
created: META-INF/
inflated: META-INF/MANIFEST.MF
inflated: META-INF/DEPENDENCIES
inflated: META-INF/LICENSE
inflated: META-INF/NOTICE
created: META-INF/maven/
created: META-INF/maven/org.apache.servicemix.bundles/
created: META-INF/maven/org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-instrument/
inflated: META-INF/maven/org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-instrument/pom.properties
inflated: META-INF/maven/org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-instrument/pom.xml
created: OSGI-INF/
inflated: OSGI-INF/bundle.info
created: org/
created: org/springframework/
created: org/springframework/instrument/
inflated: org/springframework/instrument/InstrumentationSavingAgent.class
MacBook-Pro-di-Antonio-Russo:tmp antonio$ more META-INF/MANIFEST.MF
Manifest-Version: 1.0
Bnd-LastModified: 1401893335343
Build-Jdk: 1.7.0_51
Built-By: jbonofre
Bundle-Description: This pom provides project information that is common
to all ServiceMix branches.
Bundle-DocURL: http://www.apache.org/
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion: 2
Bundle-Name: Apache ServiceMix :: Bundles :: spring-instrument
Bundle-SymbolicName: org.apache.servicemix.bundles.spring-instrument
Bundle-Vendor: The Apache Software Foundation
Bundle-Version: 4.0.5.RELEASE_1
Created-By: Apache Maven Bundle Plugin
Export-Package: org.springframework.instrument;version="4.0.5.RELEASE"
Tool: Bnd-1.50.0
Compared to the originan:
MacBook-Pro-di-Antonio-Russo:jars antonio$ jar xvf /opt/opennms/lib/spring-instrument-4.0.5.RELEASE.jar created: META-INF/
inflated: META-INF/MANIFEST.MF
created: org/
created: org/springframework/
created: org/springframework/instrument/
inflated: org/springframework/instrument/InstrumentationSavingAgent.class
inflated: META-INF/notice.txt
inflated: META-INF/license.txt
MacBook-Pro-di-Antonio-Russo:jars antonio$ more META-INF/MANIFEST.MF
Manifest-Version: 1.0
Created-By: 1.8.0_05 (Oracle Corporation)
Implementation-Title: spring-instrument
Implementation-Version: 4.0.5.RELEASE
Premain-Class: org.springframework.instrument.InstrumentationSavingAge
nt
Agent-Class: org.springframework.instrument.InstrumentationSavingAgent
Can-Redefine-Classes: true
Can-Retransform-Classes: true
Can-Set-Native-Method-Prefix: false
As you can see the:
Premain-Class: org.springframework.instrument.InstrumentationSavingAgent
is not loaded. this prevent opennms running with -javaagent in the case you have to enable weaving do to some customization.
I was able to run using the spring-instrument.jar. I do not know if there can be a side effect. spring-instrument is used only for javaagent run.