COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => SDK => Topic started by: larus on 31 Jan 2013 01:57:29 AM

Title: How to recover My Folders of users that no longer exists in the Auth Provider?
Post by: larus on 31 Jan 2013 01:57:29 AM
I installed SDK for my Cognos BI 10.2.0 environment. Now I try to compile and run a Java program provided by IBM

https://www-304.ibm.com/support/docview.wss?uid=swg21340789 (https://www-304.ibm.com/support/docview.wss?uid=swg21340789)

to recover the My Folders of users that no longer exist in the Authentication Provider. When I try compile this program I get an error

GetOrphanMyFolders.java:96: cannot find symbol
symbol  : variable PropEnum
location: class GetOrphanMyFolders
                                 PropEnum.canBurst      ,
                                 ^
GetOrphanMyFolders.java:97: cannot find symbol
symbol  : variable PropEnum
location: class GetOrphanMyFolders
                                 PropEnum.capabilities   ,
                                 ^


I have set the classpath variable to CLASSPATH=C:\Program Files\ibm\cognos\c10_64\sdk\java\lib. What is the cause for this error. How to correct the code to get this work?
Title: Re: How to recover My Folders of users that no longer exists in the Auth Provider?
Post by: murali999 on 21 Mar 2013 05:06:20 AM
Hi,

You have to set the class path fot jar files from the lib directory .

in your case C:\Program Files\ibm\cognos\c10_64\sdk\java\lib\axis.jar ; C:\Program Files\ibm\cognos\c10_64\sdk\java\lib\axisCognosClient.jar;..... and so on

The error PropEnum.canBurst      , is because it was not able to find  PropEnum class
                                 ^

try to set the class path to all the jar files from the location C:\Program Files\ibm\cognos\c10_64\sdk\java\lib\xxxxxxx.jar
and compile the program

8)