COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: CognosPaul on 18 Jul 2010 02:06:13 AM

Title: Procedure for connecting FM to a remote server?
Post by: CognosPaul on 18 Jul 2010 02:06:13 AM
I have a local installation of FM (8.4) on a Win7 64bit machine that I'm trying to connect to a remote installation of Cognos (also 8.4) on some sort of Linux box.

I can connect to Cognos via the internet so http://212.123.123.123/cognos8 works. All of the studios work.

While I can open the model in FM, I don't seem to be able to connect to the server. Any time I make any action (making a join, testing a query) that would require an open connection I get this error:

CCL-RCI-0001 Unhandled third-party Web Applications and Services Platform (WASP) exceptions were converted into this generic RCIException code.
The error messages from WASP engine:
TCP problem - got closed connection
location: http://212.123.123.123:9300/p2pd/servlet/dispatch

thrown in 'WASP_HTTPTransportClient::createConnection' at \blacksea\wasp\6.5\isv\wasp\6.5\winSystinet\src\transport\http\HTTPTransportClient.cpp:327
caught in 'WASP_HTTPTransportClient::newConnection' at \blacksea\wasp\6.5\isv\wasp\6.5\winSystinet\src\transport\http\HTTPTransportClient.cpp:482
rethrown in 'WASP_HTTPTransportClient::newConnection' at \blacksea\wasp\6.5\isv\wasp\6.5\winSystinet\src\transport\http\HTTPTransportClient.cpp:487
caught in 'WASP_StubCallData::beginCallImpl' at \blacksea\wasp\6.5\isv\wasp\6.5\winSystinet\src\client\StubCallData.cpp:240
-- end-of-nested 'WASP_HTTPException' --
thrown in 'WASP_StubCallData::beginCallImpl' at \blacksea\wasp\6.5\isv\wasp\6.5\winSystinet\src\client\StubCallData.cpp:242


The gateway URI is: http://212.123.123.123:80/cognos8/cgi-bin/cognos.cgi (cognos.cgi is correct)
Dispatcher URI for external applications is http://212.123.123.123:9300/p2pd/servlet/dispatch

My guess would be that the Linux admin would need to open a connection for me. But at this point I'm venturing onto unknown territory.

Any ideas?
Title: Re: Procedure to connecting FM to a remote server?
Post by: tupac_rd on 20 Jul 2010 10:28:16 AM
I think you nailed it. Its usually the firewall. I have this issue resolved by having the port 9300 (looks like its the same in your case too) opened by the UNIX admin. I think its same for Linux. To make sure if its firewall issue, try to access Cognos through a browser on your FM install PC, using Dispatcher URI, http://212.123.123.123:9300/p2pd/servlet/dispatch. If you cannot access, then there may be a network firewall that is preventing it...


Title: Re: Procedure to connecting FM to a remote server?
Post by: MFGF on 21 Jul 2010 06:01:47 AM
Yes - I'd agree - this kind of problem is typically caused by blocked traffic through a firewall.
Title: Re: Procedure for connecting FM to a remote server?
Post by: CognosPaul on 21 Jul 2010 11:27:34 AM
Success!

Instead of opening the port on the server I added 9300 to the Tunnels category in Putty and set Dispatcher URI for external applications to http://localhost:9300/p2pd/servlet/dispatch.

Thanks!
Title: Re: Procedure for connecting FM to a remote server?
Post by: tupac_rd on 21 Jul 2010 03:34:45 PM
so you are saying on your local FM install, under Cognos configuration, you had to change it to localhost instead of servername or ip, or is it just an example you are mentioning..
Title: Re: Procedure for connecting FM to a remote server?
Post by: CognosPaul on 21 Jul 2010 04:39:17 PM
I set it to localhost. By setting up a tunnel through putty it let me connect straight through the firewall. A sort of VPN I guess.

Putty:
(http://i30.tinypic.com/35jid02.png)

Configuration:
(http://i26.tinypic.com/jue9p2.png)
Title: Re: Procedure for connecting FM to a remote server?
Post by: tupac_rd on 22 Jul 2010 07:59:11 AM
wow interesting, I have always had to correct many folks at different clients to use servername instead of localhost on their FM installs, but your case is different, so good there is something new I learnt  :o)
Title: Re: Procedure for connecting FM to a remote server?
Post by: ddeeppaakk on 30 Dec 2010 11:41:42 PM
Hi I have same issue..And I converted to localhost as well but still I am getting same errror..

Mine is a windows client machine so I did not do the putty step..

Kindly help
Title: Re: Procedure for connecting FM to a remote server?
Post by: ddeeppaakk on 31 Dec 2010 12:03:15 AM
Hi I have resolved this issue,, I was typing wrong URL but local host did not worked fore sure