Bug 497191

Summary: Profiler not available
Product: [Fedora] Fedora Reporter: Remy Maucherat <remm>
Component: java-1.6.0-openjdkAssignee: Lillian Angel <langel>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dbhole, langel, lkundrak, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 1.6.0.0-18.b16.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-29 14:10:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error log none

Description Remy Maucherat 2009-04-22 18:03:49 UTC
Created attachment 340781 [details]
Error log

Description of problem:
On x86_64, JFluid is not available through VisualVM.

Version-Release number of selected component (if applicable):
-19.b14

How reproducible:
Always

Steps to Reproduce:
1. Install openjdk-devel
2. Run VisualVM, which shows an error about the missing profiler
3.
  
Actual results:
There are indications that this would work on the i586 architecture.

Expected results:
VisualVM profiler is available.

Additional info:
See error log.

Comment 1 Lillian Angel 2009-04-23 17:12:12 UTC
This is unusual. I cannot reproduce it. 

can you try removing ~/.visualvm and trying again?

Comment 2 Remy Maucherat 2009-04-24 12:50:44 UTC
That did not fix it. It looks like it's a 64bit-only issue.

See org.netbeans.lib.profiler.global.Platform.getAgentNativeLibFullName(), which appends procArch = "amd64" to the path (on Linux i586, it appends nothing) which becomes /lib/visualvm/profiler3/lib/deployed/jdk16/linux-amd64, while the openjdk-devel RPM only includes /lib/visualvm/profiler3/lib/deployed/jdk16/linux

That's not the end of the problems, though, since the native libs are not there either in the 64bit package (it looks for libprofilerinterface.so, which is present in the i586 package).

Comment 3 Lillian Angel 2009-04-24 16:34:16 UTC
oh terrible. thanks for pointing this out.

i am working on it.

Comment 4 Lillian Angel 2009-04-24 18:11:56 UTC
Fixed upstream. I will close this bug when it has been updated in fedora.

Comment 5 Fedora Update System 2009-05-30 14:16:06 UTC
java-1.6.0-openjdk-1.6.0.0-18.b16.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/java-1.6.0-openjdk-1.6.0.0-18.b16.fc10

Comment 6 Fedora Update System 2009-05-30 14:17:04 UTC
java-1.6.0-openjdk-1.6.0.0-22.b16.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/java-1.6.0-openjdk-1.6.0.0-22.b16.fc11

Comment 7 Fedora Update System 2009-06-02 14:22:49 UTC
java-1.6.0-openjdk-1.6.0.0-22.b16.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2009-06-02 14:30:26 UTC
java-1.6.0-openjdk-1.6.0.0-18.b16.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.