【已解决】Cognos如何开启CJAP认证程序日志

在cognos认证开发过程中,本人采用customer Java  Authentication Provider.  但是这个程序运行状况调试起来很麻烦.out出信息每次都需要重启服务什么的,各位懂的,漫长的等待啊.偶尔看到帖子上面可以开启CJAP的日志

IBM官网的方法参见: http://www-01.ibm.com/support/docview.wss?uid=swg21340422
大概就是说在configuration目录里面有两个配置文件的样例
AAA.properties.sample
ipfaaaclientconfig.xml.sample
Answer

1) IPF logging for AAA

Attached is a sample IPF configuration file for AAA: (ipfclientconfig.xml) Options are from FATAL to DEBUG.

2) Extra logging specific to the Custom Authentication Provider.

To enable the custom provider logging drop the attached file(aaa.properties) in the cognos8/configuration directory and modify the trace.output to point to the full path if needed (make sure you don't use '' but '/'):


Clean out the log file directory and after reproducing the problem zip up the /logs directory and send them to support these logs will help development access issue.


For Cognos 8.3 the log files exist in the /configuration directory you can either rename them or use the ones provided with this knowledge base.

AAA.properties.sample - rename to
aaa.properties and make appropriate changes

ipfaaaclientconfig.xml.sample - rename to ipfclientconfig.xml and make appropriate changes

按照下面的操作,保存,重启服务器 运行 在从c10/logs/  下面也没有找到 AAAclient.log

AAA.properties.sample - rename to
aaa.properties and make appropriate changes

ipfaaaclientconfig.xml.sample - rename to ipfclientconfig.xml and make appropriate changes

但是 这个 make appropriate changes 做出相应的变化该如何变?请指点1、2 不胜感谢!

参与4

3同行回答

kingwangkingwang商业智能工程师前景科技有限公司
步骤:1:修改ipfaaaclientconfig.xml.sample为ipfclientconfig.xml,修改为绝对路径,路径用正斜杠‘/’2:替换ipfclientconfig.xml中warn的关键值为debug3:修改AAA.properties.sample为AAA.properties   修改主要内容为############################## Custom Provid...显示全部
步骤:
1:修改ipfaaaclientconfig.xml.sample为ipfclientconfig.xml,修改为绝对路径,路径用正斜杠‘/’
2:替换ipfclientconfig.xml中warn的关键值为debug
3:修改AAA.properties.sample为AAA.properties
   修改主要内容为
#############################
# Custom Provider Debugging #
#############################
trace.output=D:/Program Files (x86)/ibm/cognos/c10/logs/CJAP.log
trace.debug=true
trace.debug.exception=true
trace.debug.API=true
trace.debug.logic=true
在logs中出现 AAAclient.log
PS:不知为何不出现CJAP.log收起
医药 · 2014-06-12
浏览653
kingwangkingwang商业智能工程师前景科技有限公司
回复 2# iceacman English is  too  poor!:handshake显示全部
回复 2# iceacman English is  too  poor!:handshake收起
医药 · 2014-06-12
浏览571
iceacmaniceacman学生stagiaire
首先,我在原帖里贴了两个链接,要结合起来看 (原帖地址 http://www.cognoschina.net/club/thread-66695-1-1.html)其次,每个链接里ibm都提供了一个配置例子的下载,依葫芦画瓢。你问的问题里面都有答案哈~。~...显示全部
首先,我在原帖里贴了两个链接,要结合起来看
(原帖地址 http://www.cognoschina.net/club/thread-66695-1-1.html
其次,每个链接里ibm都提供了一个配置例子的下载,依葫芦画瓢。你问的问题里面都有答案哈~。~收起
互联网服务 · 2014-06-12
浏览599

提问者

kingwang
商业智能工程师前景科技有限公司
擅长领域: 商业智能大数据cognos

相关问题

相关资料

问题状态

  • 发布时间:2014-06-11
  • 关注会员:1 人
  • 问题浏览:3607
  • 最近回答:2014-06-12
  • X社区推广