Bug 951993

Summary: Remove dependency on com.sun classes in storage node installer
Product: [JBoss] JBoss Operations Network Reporter: John Sanda <jsanda>
Component: InstallerAssignee: John Sanda <jsanda>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.2CC: ahovsepy, loleary
Target Milestone: GA   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 20:42:55 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 958166, 1140755    
Bug Blocks: 951619    

Description John Sanda 2013-04-15 01:58:19 UTC
Description of problem:
In the feature/cassandra-backend branch the storage installer has introduced a dependency on a com.sun class to work around https://issues.jboss.org/browse/AS7-2138. This bug is supposed to be resolved in newer versions of JBoss AS; so, when we upgrade the app server in master, I can retest and hopefully remove the dependency on the com.sun class that is used.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 John Sanda 2013-04-30 18:21:21 UTC
It looks like this bug is currently being tracked under https://issues.jboss.org/browse/WFLY-794.

Comment 2 John Sanda 2013-08-15 14:35:35 UTC
Initially bug 958166 was a blocker because we were making JMX connections to Cassandra from both the storage installer as well as from the RHQ server. We no longer make JMX connections from the server, but we do from the storage installer. Currently both the RHQ EAR and Storage installer the rhq-cassandra-jmx-<rhq-version>.jar library. That library has the dependency on com.sun.jndi.url.rmi.rmiURLContext.

The work around described in https://issues.jboss.org/browse/AS7-2138 still holds true. In the RHQ build we modify the sun.jdk JBoss module to export,

<path name="com/sun/jndi/url/rmi"/>

As long as the sun.jdk module exports that path, we can get rid of rhq-cassandra-jmx-<rhq-version>.jar

Comment 3 John Sanda 2013-08-23 01:48:25 UTC
The rhq-cassandra-jmx module has been altogether removed from the source tree.

Comment 4 JBoss JIRA Server 2013-10-01 10:28:44 UTC
Stuart Douglas <stuart.w.douglas> updated the status of jira WFLY-794 to Reopened

Comment 5 JBoss JIRA Server 2013-10-01 10:33:52 UTC
Stuart Douglas <stuart.w.douglas> made a comment on jira WFLY-794

Given that no-one can remember what the original issue is, and this keeps coming up over and over again, I think we should just add this to the sun.jdk module.

Comment 6 JBoss JIRA Server 2013-10-15 16:44:15 UTC
Brian Stansberry <brian.stansberry> made a comment on jira WFLY-794

Rejecting the PR as it seems it was closed unmerged.