Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

[BZ 1069648] Persist JAVA_OPTS from connection settings for Standalone se... #42

Merged
merged 9 commits into from Jun 6, 2014

Conversation

stefannegrea
Copy link

...rvers.

@pilhuhn
Copy link
Member

pilhuhn commented May 31, 2014

What will happen if standalone.conf already has JAVA_OPTS set a few lines down? The rhq-props are set at the top and the other occurrence will overwrite that setting?

@stefannegrea
Copy link
Author

Based on Monday's review I moved the section to the bottom of the file and will just override everything else set before. So now, the users could update (although not recommended) the conf file and not directly affect the RHQ updates.

@@ -28,10 +41,17 @@
*/
public class StandaloneASDiscovery extends BaseProcessDiscovery {

private static final Log log = LogFactory.getLog(BaseProcessDiscovery.class);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getLog(StandaloneASDiscovery.class) ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@tsegismont
Copy link
Member

Other than the comments I just added inline, the change looks good to me.

@jshaughn
Copy link
Contributor

jshaughn commented Jun 6, 2014

Looks good, merging...

jshaughn added a commit that referenced this pull request Jun 6, 2014
[BZ 1069648] Persist JAVA_OPTS from connection settings for Standalone se...
@jshaughn jshaughn merged commit e99473a into master Jun 6, 2014
@stefannegrea stefannegrea deleted the BZ1069648 branch July 17, 2014 16:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants