If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Help, How to use the SDK against multiple Cognos Servers

Started by cschang, 12 Nov 2008 11:02:36 AM

Previous topic - Next topic

cschang

Hi,

We have 2 Cognos C8.3 Servers, say cs1 and cs2.

We are using the SDK (from Java) to publish packages to the content store.

The Cognos endpoint is always fixed at http://cs1:9300/, but I believe the SDK requests are being dispatched internally by cs1 to either itself or cs2 for handling.

The SDK calls to publish a package are: openModel, setActiveLocale, publishPackage, closeModel. All are updateMetadata calls.

The issue we encountered is that after the openModel call, the setActiveLocale call would failed with a "Model was not opened" exception.

After some investigation, I believe this is what happened:

1. The openModel call is handled by say cs1, so the model is open in server cs1.
2. The setActiveLocale call was (roundrobin) dispatched to cs2, since the model is not open in cs2, the exception occur.

Is there any recommended way or settings to overcome this issue?

Thank you.