Cognos商业智能论坛

Lotus中国专家坐诊活动火热开启,等你来挑战! 全面解析FM和TM建模
返回列表 发帖

[权限控制] 【已结贴】COGNOS权限控制之自定义JAVA程序的问题

cognos8通过安装SDK,建好名字空间:
       Type:                      Custom Java provider
          Namespace ID:       Sample1
          Java class name:    JDBCSample

写好JAVA程序,将配置文件放入<install>/configuration,JAR包放入<install>/webapps/p2pd/WEB-INF/lib,
重启COGNOS成功,日志里报错:
Audit.RTUsage.cms.CAM.CRP.jcam        CallEnd                        Failure        <messages><message><messageString><![CDATA[CAM-CRP-1099 找不到相应的通用对称密钥,无法解密数据。]]</messageString></message></messages>       

Audit.dispatcher.caf        Request                        Failure                SecureErrorId: 2010-08-13-10:43:59.921-#1  Original Error: CM-REQ-4154 This request is not valid because it was incorrectly signed. The security keys on the computer running Content Manager may not match the security keys on the computer that originated the request.  CAM-CRP-1343 未能处理可信请求。 找不到相应的通用对称密钥,无法解密数据。
请有这方面经验的大虾梳理下思路.

Cognos需要重建CSK,参考interboy日志:
http://www.cognoschina.net/home/ ... do=blog&id=1210

TOP

本帖最后由 Fengmang11 于 2010-8-14 01:54 编辑

版主,重启没有问题,COGNOS可以正常使用,就是 “自定义JAVA程序” 的名字空间没用,查日志就看到以上的错误。  之前有试过你说的这种方法,重启后还是报一样的错。

TOP

自定义JAVA程序的Namespace ID一般是在jar包里写死了,我们用的是dbAuth这个名称,要不你试试这个。

TOP

本帖最后由 Fengmang11 于 2010-8-18 09:37 编辑

名称空间换成dbAuth,启动成功后,日志报以下错误:


Audit.Other.dispatcher.DISP.pogo        pogo        com.cognos.pogo.services.DefaultHandlerService                Failure        <messages><message><messageString>DPR-DPR-1035 调度程序检测到错误。</messageString></message><message><messageString>Can't find bundle for base name restmsgsRL, locale zh</messageString></message></messages>        problem reconfiguring handler restHandlerCan't find bundle for base name restmsgsRL, locale zh java.util.MissingResourceException: Can't find bundle for base name restmsgsRL, locale zh         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:853)         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:743)         at java.util.ResourceBundle.getBundle(ResourceBundle.java:593)


登录提示错误:
无法检索用户“”的信息。CAM-AAA-0023 参数“searchPath”无效。CAM-AAA-0146 未提供名称空间“”。

TOP

经过代码改造系列问题已经解决

TOP

请问楼上您的代码必造系统问题指的是改造了哪些呢?

TOP

提示: 作者被禁止或删除 内容自动屏蔽

TOP

返回列表

站长推荐 关闭


【Cognos课堂】Anda哥言传身教即将开课啦!

请各位将自己感兴趣的内容跟帖,anda哥可以根据各位的关注方向来制定课程!


查看