Red Hat Bugzilla – Bug 1275752
WLS: cloning repo results in java.lang.RuntimeException
Last modified: 2015-11-10 02:53:23 EST
Created attachment 1086912 [details]
WLS cloning modal dialog
Description of problem:
When clone repo Mortgages to Org Unit Mortgages from URL: https://github.com/pkralik/mortgage-demo.git
it results in modal dialog with java.lang.RuntimeException.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create org unit Mortgages
2. Clone to repo Mortgages
3. with Git URL: https://github.com/pkralik/mortgage-demo.git
just tried on latest build of 6.3.x and I could clone both repository given in description as well as both playground repositories (uf-playground and jbpm-playground). Moving to modified to retest
Above HTTPS GIT repository cannot be cloned in BPMS 6.2.0.ER5. I am attaching the server log.
Created attachment 1090544 [details]
WLS server log file
Since I cannot reproduce that there might be something related to the environment and thus might randomly work or not. Since this is a third party application server which would be time consuming to figure out how to resolve it. Moreover it happens when doing git operations via jgit which again is third party and we cannot alter the way it handles https connections.
There is a which that is suppose to solve the problem (though haven't verified myself since I cannot reproduce the original issue) I recommend to try it and if it does solve the problem document it.
Parameter that needs to be set is UseSunHttpHandler=true which is another system property
setting the system property UseSunHttpHandler=true (using JAVA_OPTIONS as described in the above stackoverflow answer) resolved the issue, so that now it's possible to clone the repositories from urls starting with "https://"
I'm closing this bugzilla as NOTABUG and I'll open new, separate bugzilla for documentation.
Documentation Bug #1279741 created.