简体   繁体   English

添加单一登录服务时,服务代理错误

[英]Service broker error when adding Single Sign On service

In Bluemix, when I try to add the Single Sign On service to a Java app, I get this error: 在Bluemix中,当我尝试将Single Sign On服务添加到Java应用程序时,出现以下错误:

Service broker error: {"description"=>"CTJSO0015E The service instance with ID \"XXXXXXXXXX\" must be configured before the operation can be performed."}

The key parts of the error message are: 错误消息的关键部分是:

Service broker error ...
CTJSO0015E The service instance ...
must be configured before the operation can be performed.

My app is a new, empty Java runtime. 我的应用程序是一个新的空Java运行时。 The service instance gets created but doesn't get bound to the app. 服务实例已创建,但未绑定到应用程序。 When I try to bind the service myself, I get the same error. 当我尝试自己绑定服务时,出现相同的错误。

How do I get around this problem and bind the SSO service to the app? 如何解决此问题并将SSO服务绑定到应用程序?

Unlike other Bluemix services, the Single Sign On service must be configured before it can be bound to an app. 与其他Bluemix服务不同,必须先配置Single Sign On服务,然后才能将其绑定到应用程序。 That process is explained in Single Sign On/Configuring the service . 单一登录/配置服务中说明了该过程。

As the docs explain, you must create the service unbound (not bound to an app), configure it, then you can bind the configured service instance to the application. 如文档所述,您必须创建未绑定的服务(未绑定到应用程序),对其进行配置,然后才能将已配置的服务实例绑定到该应用程序。

This is also explained here: Service Broken error While adding Single Sign On service . 此处也对此进行了解释: 服务损坏错误添加单一登录服务时

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM