Dockerized DCTM 7.3和Dockerized DCTM REST 7.3无法检索全局注册表或其文档

时间:2017-08-16 21:48:47

标签: documentum opentext emc documentum7.3

我的设置包含

  • 在docker容器中运行的Documentum Content Server 7.3(dctm-cs)(来自EMC)
  • 在docker容器(来自EMC)中运行的Documentum REST Services 7.3(dctm-rest)

我绝对能够通过使用iapi对其执行查询来从dctm中获取信息,例如:

API> ?,c,select user_name from dm_user enable (return_top 5)
user_name
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
docu
ubuntudb
dm_superusers
dm_superusers_dynamic
dm_browse_all
(5 rows affected)

我也可以从dctm-rest容器及其主机容器$ curl http://localhost:8080/dctm-rest/repositories.json得到结果:

{"id":"http://localhost:8080/dctm-rest/repositories","title":"Repositories","author":[{"name":"EMC Documentum"}],"updated":"2017-08-16T21:42:44.177+00:00","page":1,"items-per-page":1000,"total":1,"links":[{"rel":"self","href":"http://localhost:8080/dctm-rest/repositories.json"}],"entries":[{"id":"http://localhost:8080/dctm-rest/repositories/ubuntudb","title":"ubuntudb","summary":"ubuntudb","updated":"2017-08-16T21:42:44.178+00:00","published":"2017-08-16T21:42:44.178+00:00","links":[{"rel":"edit","href":"http://localhost:8080/dctm-rest/repositories/ubuntudb.json"}],"content":{"type":"application/json","src":"http://localhost:8080/dctm-rest/repositories/ubuntudb.json"}}]}

然而,

尝试$ curl http://localhost:8080/dctm-rest/repositories/ubuntudb.json会无限期地挂起。

我试图通过基本的HTTP身份验证提供默认的用户名和密码,结果也相同。

dctm-cs中的dfc.properties文件的内容:

dfc.data.dir=/opt/dctm
dfc.tokenstorage.dir=/opt/dctm/apptoken
dfc.tokenstorage.enable=false
dfc.docbroker.host[0]=ubuntustateless
dfc.docbroker.port[0]=1489
dfc.crypto.repository=ubuntudb
dfc.session.secure_connect_default=try_secure_first
dfc.globalregistry.repository=ubuntudb
dfc.globalregistry.username=dm_bof_registry
dfc.globalregistry.password=AAAAEL9wp8c6k3K2UTQJwTYO5kMnE3rDrHJVDL+LijAg+zLk

dctm-rest中的dfc.properties文件的内容:

dfc.docbroker.host[0]=172.18.0.1
dfc.docbroker.port[0]=1489
#Add the global registry repository name to the following key.
dfc.globalregistry.repository=ubuntudb
#Add the username of the global registry user to the following key.
dfc.globalregistry.username=dmadmin
#Add an encrypted password value for the following key.
dfc.globalregistry.password=password
dfc.exception.include_id=false
dfc.exception.include_decoration=false

我试图将dfc.globalregistry.username的值更改为与dctm-cs相同,但无效并且请求时挂起。

我还尝试在{dctm-cs和dctm-rest中同时使用dfc.globalregistry.password的加密和解密值,但没有运气。

0 个答案:

没有答案