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

Modified WinRM classes to work with IBM JDK #130

Merged
merged 2 commits into from
Oct 17, 2014

Conversation

haagenhasle
Copy link

We are using Overthere at work, and like it very much. But recently we swithced to the IBM JDK, and the Kerberos support in the internal WinRm implementation in Overthere doesn't work with the IBM JDK. I have done some modifications to make it work, and I hope these changes can be added to the next release of Overthere.

@buildhive
Copy link

XebiaLabs » overthere #216 SUCCESS
This pull request looks good
(what's this?)

@hierynomus
Copy link
Contributor

Hi Hågen, Thanks for the PR. I've added a few small comments. If you could change them, I'm more than happy to merge it. Thx!
Could I ask where you're working (and using Overthere)?


class JavaVendor {

private static final boolean IBM_JAVA = System.getProperty("java.vendor").contains("IBM");
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor about this one...do we know whether IBM here is always uppercase?

Also some minor style issues in this class: spacing and indents.

@buildhive
Copy link

XebiaLabs » overthere #218 SUCCESS
This pull request looks good
(what's this?)

@haagenhasle
Copy link
Author

I have tried to make the appropriate changes based on your comments.

@haagenhasle
Copy link
Author

I've been testing my changes in three different scenarios, one from Linux to Windows, and two from Windows to Windows. One of the Windows-scenarios got some kind of connection timeout problem when I tried to start a remote process just now. This scenario worked just fine before, so I might have done something wrong in the latest commit. I'll dig into it on monday, but please don't accept this pull request until I have investigated further.

@demobox
Copy link
Contributor

demobox commented Oct 10, 2014

I'll dig into it on monday, but please don't accept this pull request until I have investigated further.

Thanks for the heads-up, @haagenhasle! Have a good weekend ;-)

@hierynomus
Copy link
Contributor

@haagenhasle Code looks fine, awaiting any changes you might have wrt the timeout issue. Let us know.

@haagenhasle
Copy link
Author

I looked more closely at the scenario where I experienced a timeout, and in that case we actually used the Oracle JDK. I haven't figured out what caused the timeout yet (I've had to work on other things), but it shouldn't have anything to do with the changes in the pull request then.

I can't guarantee that the code I wrote is perfect in any way, both Kerberos and the IBM JDK is quite new to me. But I think/hope it is a step in the right direction for Overthere on the IBM JDK. :)

hierynomus added a commit that referenced this pull request Oct 17, 2014
Modified WinRM classes to work with IBM JDK
@hierynomus hierynomus merged commit 8104e6b into xebialabs:master Oct 17, 2014
@hierynomus
Copy link
Contributor

@haagenhasle It's merged! Thanks for the contribution!

@demobox
Copy link
Contributor

demobox commented Oct 18, 2014

Thanks, @haagenhasle!

@hierynomus: Does any documentation need to be updated to describe these changes?

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

4 participants