Re: Parfait and UoM (java) RPM packages
"Marko Myllynen" <[email protected]>
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
Hi, On 2016-10-21 11:32, Marko Myllynen wrote: > On 2016-10-21 01:32, Nathan Scott wrote: >> ----- Original Message ----- >>> On 2016-10-20 04:17, Nathan Scott wrote: >>>> >>>>> X. Fix parfait-agent.jar, can be skipped when the fix is in the next RPM >>>>> build: unzip the jar, remove the top-most MANIFEST.MF, add the following >>>>> line to META-INF/MANIFEST.MF, and re-create the jar: >>>>> >>>>> Premain-Class: io.pcp.parfait.ParfaitAgent >>>> >>>> As mentioned on IRC, I think this is a packaging botch re the specific >>>> parfait-agent.jar file that ends up in the rpm - multiple jars are built >>>> but we don't use the correct one. Will fix up on the next build. >>> >>> I'm still seeing the same issue with the -2 build: >>> >>> Failed to find Premain-Class manifest attribute in >>> /usr/share/java/parfait/parfait-agent.jar >>> Error occurred during initialization of VM >>> agent library failed to init: instrument >> >> Sorry, we've passed each other like ships in the night. The parfait-agent >> RPM was implemented in the -2 RPMs and that is the jar you'll need to use. >> Just to mix things up further, I named the standalone jar as "parfait.jar" >> now as in the Parfait README.md file, and forgot to tell you. :P >> >> So there is still a parfait-agent.jar in the parfait RPM, as you found - >> this is the jar that other applications could use if they want access to >> the parfait-agent code/resources (incl. JVM metric definition mbeans) >> directly. But its not the standalone variety (its also smaller now). >> >> All a bit confusing really, but good to get these things sorted out early >> on in the parfait-agent project lifecycle I suppose. > > Sure, however now I'm able to get anything working with -2 :) After > removing parfait.rpm and its dependencies and then installing > parfait-agent.rpm with dnf (it had zero RPM dependencies), I'm getting: Hmm, perhaps the package and jar should be named as pcp-parfait-agent and make the package Require pcp.rpm if it can be only used with PCP? Also having a separate man page with it would be helpful, we could add all the needed Java details there without polluting the generic pmdammv(1). Thanks, -- Marko Myllynen -=-=-=-=-=-=-=-=-=-=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#14570): https://groups.io/g/pcp/message/14570 View All Messages In Topic (23): https://groups.io/g/pcp/topic/2895998 Mute This Topic: https://groups.io/mt/2895998?uid=174580 New Topic: https://groups.io/g/pcp/post Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580 Group Home: https://groups.io/g/pcp Contact Group Owner: [email protected] Terms of Service: https://groups.io/static/tos Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy -=-=-=-=-=-=-=-=-=-=-=-