1.安装的是64位cognos 10,创建了一个连接oracle内容库并测试通过。但是启动服务在注册内容库这一步错误了
详细错误也没提示详细。java_home切换到cognos自带的jdk就报CAM-CRP-1093 无法读取密钥,换成本地安装的就能测试通过。
然后看了下日志,看第一眼说的是jvm的线程问题,日志如下:
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property CRLF with value "
"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property java_home with value "C:Program FilesJavajdk1.6.0_23"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherStopWaitTime with value "60"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherPingTimeout with value "240"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemory with value "768"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemoryBy2 with value "384"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemoryBy3 with value "256"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemoryBy4 with value "192"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property shutdownPort with value "9399"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property temp with value "D:ibmcognosc10_64.bin64../temp"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSBootstrapService Confirmed that temp directory "D:ibmcognosc10_64.bin64../temp" does exist.
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherURI with value "http://localhost:9300/p2pd/servlet/dispatch"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherPort with value "9300"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property contentManagerURI with value "http://localhost:9300/p2pd/servlet/dispatch"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property serviceName with value "IBM Cognos"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${temp}/cbs.prefs"
to "D:ibmcognosc10_64.bin64../temp/cbs.prefs"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSBootstrapService CBS Java properties file "D:ibmcognosc10_64.bin64../temp/cbs.prefs" is found.
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSBootstrapService AbsJavaHomeInFile ="D:ibmcognosc10_64bin64jre6.0"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property java_vendor with value "IBM"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property java_version with value "1.6.0
"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property java_home with value "C:Program FilesJavajdk1.6.0_23"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property configfile with value "D:/ibm/cognos/c10_64/bin64/cbs_cnfgtest_${platform}.xml"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property platform with value "winx64"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemory with value "768"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemoryBy2 with value "384"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemoryBy3 with value "256"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property dispatcherMaxMemoryBy4 with value "192"
Mon Oct 08 00:16:51 2012 DEBUG t[ddc] CBSPropertyInserter Added property serviceName with value "cbs_cnfgtest"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${install_path}/logs/cbs_cnfgtest_5568"
to "D:ibmcognosc10_64.bin64../logs/cbs_cnfgtest_5568"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"D:/ibm/cognos/c10_64/bin64/cbs_cnfgtest_${platform}.xml"
to "D:/ibm/cognos/c10_64/bin64/cbs_cnfgtest_winx64.xml"
Mon Oct 08 00:16:52 2012 INFO t[ddc] CBSBootstrapService attempt to load config from "D:/ibm/cognos/c10_64/bin64/cbs_cnfgtest_winx64.xml"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSBootstrapService configured startup delay is 25000 ms.
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] PingChildProcess poll interval is 30 seconds
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${dispatcherPingTimeout}"
to "240"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] PingChildProcess failed ping limit is 8
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] PingChildProcess check for child processes shutdown interval is 500 ms
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${dispatcherStopWaitTime}"
to "60"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] PingChildProcess max checks for child process shutdown = 120
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSBootstrapService processing config for process
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSChildProcess preparing process named catalina
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction preparing
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSAction configured wait_time is 5000 ms.
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction sync is 0
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${java_home}/bin/java.exe"
to "C:Program FilesJavajdk1.6.0_23/bin/java.exe"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "-Xrs"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"-Xms${dispatcherMaxMemory}m"
to "-Xms768m"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "-Xms768m"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"-Xmx${dispatcherMaxMemory}m"
to "-Xmx768m"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "-Xmx768m"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${java_vendor}"
to "IBM"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${java_vendor}"
to "IBM"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${java_vendor}"
to "IBM"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg ""-cp""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
""${install_path}/bin64/cogconfig.jar;${install_path}/bin/cogconfigi.jar;${install_path}/tomcat/bin/bootstrap.jar;${java_home}/lib/tools.jar""
to ""D:ibmcognosc10_64.bin64../bin64/cogconfig.jar;D:ibmcognosc10_64.bin64../bin/cogconfigi.jar;D:ibmcognosc10_64.bin64../tomcat/bin/bootstrap.jar;C:Program FilesJavajdk1.6.0_23/lib/tools.jar""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg ""D:ibmcognosc10_64.bin64../bin64/cogconfig.jar;D:ibmcognosc10_64.bin64../bin/cogconfigi.jar;D:ibmcognosc10_64.bin64../tomcat/bin/bootstrap.jar;C:Program FilesJavajdk1.6.0_23/lib/tools.jar""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
""-Dcatalina.base=${install_path}/tomcat""
to ""-Dcatalina.base=D:ibmcognosc10_64.bin64../tomcat""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg ""-Dcatalina.base=D:ibmcognosc10_64.bin64../tomcat""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
""-Dcatalina.home=${install_path}/tomcat""
to ""-Dcatalina.home=D:ibmcognosc10_64.bin64../tomcat""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg ""-Dcatalina.home=D:ibmcognosc10_64.bin64../tomcat""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
""-Djava.io.tmpdir=${temp}""
to ""-Djava.io.tmpdir=D:ibmcognosc10_64.bin64../temp""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg ""-Djava.io.tmpdir=D:ibmcognosc10_64.bin64../temp""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
""-Djava.endorsed.dirs=${install_path}/tomcat/lib/endorsed""
to ""-Djava.endorsed.dirs=D:ibmcognosc10_64.bin64../tomcat/lib/endorsed""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg ""-Djava.endorsed.dirs=D:ibmcognosc10_64.bin64../tomcat/lib/endorsed""
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "com.cognos.crconfig.test.CBSTest"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "start"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSChildProcess stop command type is "socketSend"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSChildProcess processing stop command of type "socketSend"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSockSendAction preparing
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSAction configured wait_time is 2000 ms.
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"http://localhost:${shutdownPort}/"
to "http://localhost:9399/"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSockSendAction URI is http://localhost:9399/
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSockSendAction command string is "SHUTDOWN"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSockSendAction socket I/O timeout is 60
Mon Oct 08 00:16:52 2012 WARN t[ddc] CBSChildProcess no socketSend element in config.
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction preparing
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSAction configured wait_time is 5000 ms.
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction sync is 0
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${bin_path}/cogbootstrapservice.exe"
to "D:ibmcognosc10_64.bin64./cogbootstrapservice.exe"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "-fakeUnix"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"-install_root=${install_path}"
to "-install_root=D:ibmcognosc10_64.bin64.."
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "-install_root=D:ibmcognosc10_64.bin64.."
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"-java_home=${java_home}"
to "-java_home=C:Program FilesJavajdk1.6.0_23"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "-java_home=C:Program FilesJavajdk1.6.0_23"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSArgVector adding arg "runAsDaemon"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSPropertyInserter changed
"${temp}/cbsdaemonwait"
to "D:ibmcognosc10_64.bin64../temp/cbsdaemonwait"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSBootstrapService m_sDaemonWaitFileName is "D:ibmcognosc10_64.bin64../temp/cbsdaemonwait"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSBootstrapService CBSBootstrapService::Run() - starting "catalina"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSChildProcess starting process "catalina"
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction Spawning child process:
Path: C:Program FilesJavajdk1.6.0_23/bin/java.exe
Parameters:
"C:Program FilesJavajdk1.6.0_23/bin/java.exe"
-Xrs
-Xms768m
-Xmx768m
"-cp"
"D:ibmcognosc10_64.bin64../bin64/cogconfig.jar;D:ibmcognosc10_64.bin64../bin/cogconfigi.jar;D:ibmcognosc10_64.bin64../tomcat/bin/bootstrap.jar;C:Program FilesJavajdk1.6.0_23/lib/tools.jar"
"-Dcatalina.base=D:ibmcognosc10_64.bin64../tomcat"
"-Dcatalina.home=D:ibmcognosc10_64.bin64../tomcat"
"-Djava.io.tmpdir=D:ibmcognosc10_64.bin64../temp"
"-Djava.endorsed.dirs=D:ibmcognosc10_64.bin64../tomcat/lib/endorsed"
com.cognos.crconfig.test.CBSTest
start
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction cmdLine = C:Program FilesJavajdk1.6.0_23/bin/java.exe
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction cmdLineWithParams = C:Program FilesJavajdk1.6.0_23/bin/java.exe -Xrs -Xms768m -Xmx768m "-cp" "D:ibmcognosc10_64.bin64../bin64/cogconfig.jar;D:ibmcognosc10_64.bin64../bin/cogconfigi.jar;D:ibmcognosc10_64.bin64../tomcat/bin/bootstrap.jar;C:Program FilesJavajdk1.6.0_23/lib/tools.jar" "-Dcatalina.base=D:ibmcognosc10_64.bin64../tomcat" "-Dcatalina.home=D:ibmcognosc10_64.bin64../tomcat" "-Djava.io.tmpdir=D:ibmcognosc10_64.bin64../temp" "-Djava.endorsed.dirs=D:ibmcognosc10_64.bin64../tomcat/lib/endorsed" com.cognos.crconfig.test.CBSTest start
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSSpawnAction Started child process, pid = 532
Mon Oct 08 00:16:52 2012 DEBUG t[ddc] CBSAction delay for 5000 ms.
Mon Oct 08 00:16:57 2012 DEBUG t[ddc] CBSChildProcess process handle is 532
Mon Oct 08 00:16:57 2012 INFO t[ddc] CBSBootstrapService IBM Cognos Bootstrap Service running as process 5568.
Mon Oct 08 00:17:22 2012 DEBUG t[ddc] CBSBootstrapService test ready...
Mon Oct 08 00:17:22 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - ask if spawned process is alive.
Mon Oct 08 00:17:22 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - PCP reports some child processes not yet ready so sleep a bit
Mon Oct 08 00:17:22 2012 DEBUG t[10dc] PingChildProcess entering timedWait, interval = 30000
Mon Oct 08 00:17:28 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - ask if spawned process is alive.
Mon Oct 08 00:17:28 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - PCP reports some child processes not yet ready so sleep a bit
Mon Oct 08 00:17:34 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - ask if spawned process is alive.
Mon Oct 08 00:17:34 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - PCP reports some child processes not yet ready so sleep a bit
Mon Oct 08 00:17:40 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - ask if spawned process is alive.
Mon Oct 08 00:17:40 2012 DEBUG t[ddc] CBSBootstrapService askPCPifReady() - PCP reports some child processes not yet ready so sleep a bit
收起