Author Topic: Deployment Automation through Cognos SDK  (Read 6835 times)

Offline shishir4u

  • Associate
  • **
  • Join Date: Jul 2008
  • Posts: 3
  • Forum Citizenship: +0/-0
Deployment Automation through Cognos SDK
« on: 19 Sep 2008 12:21:36 pm »
Hi guys,

I am using Cognos SDK for the first time.I have a requirement of automating the deployment procedure.I am working with the DeployPackage folder in java samples in SDK.When i am getting connected to the production server to import the archive and deploy it to production , it is giving me the following error :

An error occurred in getting Deployment options.he error: CM-REQ-4342 An error occurred with the client.

I have figured out that the error is coming in Deployment.java in this line :
deployOptEnum = myConnection.getCMService().getDeploymentOptions(myArchive, new Option[] {});

Can someone suggest the reasons for this error.I have suggested the screenshots of the errors for your cosideration.

Thanks,
Koti.

Offline john_cohen

  • Associate
  • **
  • Join Date: Dec 2008
  • Posts: 2
  • Forum Citizenship: +0/-0
Re: Deployment Automation through Cognos SDK
« Reply #1 on: 17 Dec 2008 12:12:37 pm »
I have the same issue.  I do have 'Allow anonymous access = TRUE' but I can not able to import the zip file.  I did put a Service Request in Cognos but no news from them either.

I did a test making sure that I can import the zip using Cognos web page.  I don't have problem doing the import manually but I can not figure out the reason of the java failure.

Offline john_cohen

  • Associate
  • **
  • Join Date: Dec 2008
  • Posts: 2
  • Forum Citizenship: +0/-0
Re: Deployment Automation through Cognos SDK
« Reply #2 on: 17 Dec 2008 03:24:57 pm »
the problem is the password being set during the creation of the archive.  With no password set the application worked fine.

If any one knows how to get apply the password to during the import please post your code.  Thanks

 


       
Twittear