Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-15901 maint - remote jmx not working for wf/eap6.x #170

Merged

Conversation

robstryker
Copy link
Member

A credentialing issue has re-surfaced and is a regression due to a bad patch previously applied.

String defaultUser = ServerConverter.getJBossServer(server).getUsername();
String defaultPass = ServerConverter.getJBossServer(server).getPassword();
IJBossServer jbs = ServerConverter.getJBossServer(server);
String storedOrDefaultUser = jbs.getUsername();
Copy link
Member

Choose a reason for hiding this comment

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

couldn't jbs be null at this time for non-jboss server types or things like openshift ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Non-jboss server types or things like openshift currently have no adapter to JMX connections. If they wanted to add it, they would need to either implement it on their own, or, open an API request, request a new interface, or something like that. Either way, they should not be using an internal class named JBossServerConnection raw and expect it to work.

@maxandersen
Copy link
Member

+1

@robstryker robstryker merged commit 9d2c4d7 into jbosstools:jbosstools-4.1.x Nov 15, 2013
@robstryker robstryker deleted the JBIDE-15901_maint branch November 6, 2014 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants