It's all about the answers!

Ask a question

SCM commands to create repository failed with integrated windows authentication


Lior Peled (17216) | asked Jul 04 '18, 7:19 a.m.

 Hi,


we recently enabled SSO authentication on our Jazz server and everything works well besides the SCM commands in some cases.
create a repository for example using the integratedWindows flag ends with multiple error messages such as one or more bundles are not resolved..
when using the same flag to load a repository ,everything works well.

creating the repository with the user and password flag works perfect as well.

any idea what can cause this issue?

Lior


Comments
Shashikant Padur commented Jul 05 '18, 1:11 a.m.
JAZZ DEVELOPER
I believe you meant create a repository workspace.
By the way, can you paste the error?

One answer



permanent link
Lior Peled (17216) | answered Jul 05 '18, 4:52 a.m.

Hi Padur, here is the error from the log file , I have removed the server name from the log.


 !SESSION 2018-07-05 08:32:36.911 -----------------------------------------------

  eclipse.buildId=unknown java.fullversion=JRE 1.7.0 IBM J9 2.6 Windows 7 x86-32 20170111_332921 (JIT enabled, AOT enabled)   J9VM - R26_Java726_SR10_20170111_1358_B332921JIT  - tr.r11_20170107_130494 GC   - R26_Java726_SR10_20170111_1358_B332921 J9CL - 20170111_332921 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=iw_IL Framework arguments:  create workspace -r https://<server name>:9443/ccm --integratedWindows --snapshot AA_lior_test1213 lior_lior Command-line arguments:  -os win32 -ws win32 -arch x86 -data @noDefault create workspace -r https://<server name>:9443/ccm --integratedWindows --snapshot AA_lior_test1213 lior_lior  !ENTRY org.eclipse.osgi 2 0 2018-07-05 08:32:43.389 !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.389 !MESSAGE Bundle update@plugins/org.eclipse.ui.navigator.resources_3.4.202.M20101124-0800.jar was not resolved!SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2018-07-05 08:32:43.389 !MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0). !SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2018-07-05 08:32:43.389 !MESSAGE Missing required bundle org.eclipse.ltk.core.refactoring_[3.5.0,4.0.0).

!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.389 !MESSAGE Bundle update@plugins/org.junit_4.8.1.v4_8_1_v20100427-1100/ was not resolved!SUBENTRY 2 org.junit 2 0 2018-07-05 08:32:43.389 !MESSAGE Missing required bundle org.hamcrest.core_1.1.0. 

  !ENTRY org.eclipse.osgi 2 0 2018-07-05 08:32:43.391

!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.391 !MESSAGE Bundle org.eclipse.core.filesystem.linux.x86.nl1_1.4.0.v201102251823 [223] was not resolved!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.391 !MESSAGE Bundle org.eclipse.core.filesystem.linux.x86.nl2a_1.4.0.v201104190813 [224] was not resolved!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.391 !MESSAGE Bundle org.eclipse.core.filesystem.linux.x86.nl2_1.4.0.v201102251823 [225] was not resolved!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.391 !MESSAGE Bundle org.eclipse.core.filesystem.zos.s390x_3.0.1.v20161102_1617 [233] was not resolved. !SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.391 !MESSAGE Bundle org.eclipse.core.filesystem.zos.s390_3.0.1.v20161102_1617 [234] was not resolved!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.391 !MESSAGE Bundle org.eclipse.ui.navigator.resources.nl1_3.4.202.v201102251823 [424] was not resolved!SUBENTRY 2 org.eclipse.ui.navigator.resources.nl1 2 0 2018-07-05 08:32:43.392 !MESSAGE Missing host org.eclipse.ui.navigator.resources_[3.4.0,3.5.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.392 !MESSAGE Bundle org.eclipse.ui.navigator.resources.nl2a_3.4.202.v201104190813 [425] was not resolved!SUBENTRY 2 org.eclipse.ui.navigator.resources.nl2a 2 0 2018-07-05 08:32:43.392   !MESSAGE Missing host org.eclipse.ui.navigator.resources_[3.4.0,3.5.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.392 !MESSAGE Bundle org.eclipse.ui.navigator.resources.nl2_3.4.202.v201102251823 [426] was not resolved!SUBENTRY 2 org.eclipse.ui.navigator.resources.nl2 2 0 2018-07-05 08:32:43.392 !MESSAGE Missing host org.eclipse.ui.navigator.resources_[3.4.0,3.5.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.392 !MESSAGE Bundle rg.eclipse.ui.navigator.resources_3.4.202.M20101124-0800 [427] was not resolved!SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2018-07-05 08:32:43.392 !MESSAGE Missing required bundle org.eclipse.ltk.core.refactoring_[3.5.0,4.0.0). !SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2018-07-05 08:32:43.392    !MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0).!SUBENTRY 1 org.eclipse.osgi 2 0 2018-07-05 08:32:43.392 !MESSAGE Bundle org.junit_4.8.1.v4_8_1_v20100427-1100 [470] was not resolved.!SUBENTRY 2 org.junit 2 0 2018-07-05 08:32:43.392 !MESSAGE Missing required bundle org.hamcrest.core_1.1.0!ENTRY org.eclipse.osgi 4 0 2018-07-05 08:32:43.392 !MESSAGE Application error !STACK 1java.lang.RuntimeException: com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: Internal error   at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.run(SubcommandLauncher.java:143)

   at com.ibm.team.rtc.cli.infrastructure.internal.Application.start(Application.java:41)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)             at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)             at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)         at java.lang.reflect.Method.invoke(Method.java:620)          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)               at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

Caused by: com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: Internal error              at com.ibm.team.filesystem.cli.core.util.StatusHelper.toCLIClientException(StatusHelper.java:801)              at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubcommand.java:53)              at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.run(SubcommandLauncher.java:601)               at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.doStart(SubcommandLauncher.java:370)               at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.run(SubcommandLauncher.java:130)

                ... 13 more

Caused by: java.lang.NullPointerException

                at com.ibm.team.filesystem.cli.core.util.RepoUtil.login(RepoUtil.java:760)            at com.ibm.team.filesystem.cli.core.util.RepoUtil.loginUrlArgAnc(RepoUtil.java:519)            at com.ibm.team.filesystem.cli.core.util.RepoUtil.loginUrlArgAncestor(RepoUtil.java:669)         at com.ibm.team.filesystem.cli.client.internal.createcommand.CreateStreamCmd.run(CreateStreamCmd.java:117)               at com.ibm.team.filesystem.cli.client.internal.createcommand.CreateWorkspaceCmd.run(CreateWorkspaceCmd.java:104) at com.ibm.team.filesystem.cli.client.internal.createcommand.CreateStreamCmd.run(CreateStreamCmd.java:80)             at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubcommand.java:51)

                ... 16 more 


Comments
Shashikant Padur commented Jul 05 '18, 11:37 p.m.
JAZZ DEVELOPER
I see two bundles reported as missing: org.eclipse.ltk.ui.refactoring* and org.hamcrest.core*. Not sure why they are complaining when you use --integratedWindows option.

Do you have an Eclipse client installation? If so, can you copy those jars to cli plugins directory and see if it works.
By the way, you may want to open a defect and attach the log files. This might be a packaging issue. Also specify the version of the client.

Lior Peled commented Jul 10 '18, 3:11 a.m.

hi,


copying those jars didn't help, I heard from someone in my team that it is a known issue which has been fixed in version 6.0.5 (we use 6.0.4) , but I can't be 100% sure as I couldn't find it.
can you confirm on this matter? 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.