COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: Galaxy on 29 Aug 2011 11:01:17 AM

Title: Installing the Servlet Gateway EAR
Post by: Galaxy on 29 Aug 2011 11:01:17 AM
Hi,

I have a strange problem with the ServletGateway.ear file.

After generating it from Cognos Configuration, it gives no problems if I install it via the WAS admin console.

However, if I "import" the EAR into RSA (where it comes in as a pair of EAR/Web projects) and then add it to WAS, it gives this error:

[8/26/11 16:37:09:149 IST] 0000004c SystemErr R java.io.FileNotFoundException: ..\webapps\p2pd\WEB-INF\PogoLogkitConfig.xml (The system cannot find the path specified.)
[8/26/11 16:37:09:165 IST] 0000004c SystemErr R at java.io.FileInputStream.<init>(FileInputStream.java:135)
[8/26/11 16:37:09:165 IST] 0000004c SystemErr R at java.io.FileInputStream.<init>(FileInputStream.java:95)
[8/26/11 16:37:09:165 IST] 0000004c SystemErr R at com.cognos.servletgateway.Gateway.initLogkitWorld(Gateway.java:754)
[8/26/11 16:37:09:165 IST] 0000004c SystemErr R at com.cognos.servletgateway.Gateway.init(Gateway.java:185)
[8/26/11 16:37:09:165 IST] 0000004c SystemErr R at com.cognos.pogo.isolation.ServletWrapper.initServlet(ServletWrapper.java:121)
[8/26/11 16:37:09:165 IST] 0000004c SystemErr R at com.cognos.pogo.isolation.ServletWrapper.init(ServletWrapper.java:101)

I do see the PogoLogkitConfig.xml in the Web project, but the path it's trying to look up is incorrect. Is there something I'm doing incorrectly, or is it a small bug in Cognos that I can work around by manually specifying the location of this file (maybe in some init-param of the servlet, or a properties file)?

Thanks