RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1117848 - javapackages-tools: support abrt-java-connector
Summary: javapackages-tools: support abrt-java-connector
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: javapackages-tools
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Mikolaj Izdebski
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On: 1238578
Blocks: 1191019
TreeView+ depends on / blocked
 
Reported: 2014-07-09 13:47 UTC by Jakub Filak
Modified: 2016-12-01 00:49 UTC (History)
8 users (show)

Fixed In Version: javapackages-tools-3.4.1-11.el7
Doc Type: Enhancement
Doc Text:
Feature: ABRT Java connector enabled by default for system Java applications Reason: Previously Java application crashes were not seen by ABRT Result: Support for ABRT was implemented. ABRT will be notified each time any JPackage-compatible Java application installed in the system crashes, provided that ABRT Java connector is installed and ABRT daemon is running.
Clone Of:
Environment:
Last Closed: 2015-11-19 08:01:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2224 0 normal SHIPPED_LIVE javapackages-tools enhancement update 2015-11-19 08:38:35 UTC

Description Jakub Filak 2014-07-09 13:47:48 UTC
Description of problem:
Please add support for abrt-java-connector.

Upstream commit https://github.com/mizdebsk/javapackages/commit/988d0c701691a8560a6c73977b328db9ab180e17

Comment 2 jiri vanek 2014-08-13 10:32:54 UTC
This fix is needed to 7.1 to allow gcc debugger to attach to java binary directly.

Comment 16 Mikolaj Izdebski 2015-07-02 10:58:05 UTC
Fixed in javapackages-tools-3.4.1-11

Comment 18 Mikolaj Izdebski 2015-07-02 12:38:20 UTC
Testing instructions:
Preparation:
1. yum install jflex abrt-java-connector
2. systemctl start abrtd
3. cp -a $(readlink -f /usr/lib/jvm/jre) .
4. cp jre/bin/java jre/bin/java.orig
5. echo 'echo @@java $@' >jre/bin/java
6. echo 'exec $JAVA_HOME/bin/java.orig $@' >>jre/bin/java
7. export JAVA_HOME=$PWD/jre

To test, run: jflex --help | grep @@

Expected result: first of line of result contains text:
-agentpath:/usr/lib/abrt-java-connector/libabrt-java-connector.so=abrt=on

When the test is repeated with either:
 - abrtd service stopped
 - JAVA_ABRT=off line uncommented in /etc/java/java.conf
 - ${HOME}/.java/java.conf file created with contents "JAVA_ABRT=off"
 - abrt-java-connector package uninstalled
then expected result is that no -agentpath line appears in the output.

Comment 21 errata-xmlrpc 2015-11-19 08:01:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-2224.html


Note You need to log in before you can comment on or make changes to this bug.