Following the Oracle CAF tutorial here, I got to Cloning Answers Requests section and then got stuck. I’d set up my environment exactly the same as in the tutorial, down to the same paths etc. After firing up the CAF to clone requests from the SampleSales catalog:
I clicked on Next and got the error “Exception occurred when while initializing repository!!!”
By playing around with the passwords and path names I determined that both RPD files existed and that CAF could load them enough to validate the passwords. If the password is incorrect you get the error “The repository C:\CAF_Training\Source\samplesales.rpd cannot be opened”.
Watching what happens in from ProcMon it looks like it checks the target RPD (paint) is present, then connects to Presentation Services web service. In the sawserver log (with enhanced logging) all that’s really shown is the login request comes in and a valid session ID is returned.
In ContentAccelerator.properties I’ve set
LOG_FOLDER=C\:\\OracleBI\\web\\catalogmanager\\log but just get a zero-byte CAF_Exception.log file in that directory. The double slashes are deliberate c.f. the CAF usage instructions. The doc also indicates that the logging will be for operations carried out (clone etc), not for the tool as such.
Can anyone suggest how to resolve the “Exception occurred when while initializing repository!!!” error?
Footnote – RTFM, a.k.a set your paths right!
I’d seen the 1.6 requirement but have it installed so didn’t think too much about it. Clearly 1.5 was taking precedence, as could be seen from my PATH variable:
Even after updating the PATH variable through settings > Control Panel > System Properties > Advanced > Environment Variables, Catalog Manager was still using JDK 1.5. ProcessExplorer can be used to examine the environment variables that a process is using by right-clicking on a process and selecting Properties and then the Environment tab:
A reboot fixed this (at least, CatalogManager now fired up using the correct JDK 1.6 – which I’d have had in the first place if I’d RTFM‘d … ), but I then got a new error in the same place as before (i.e. after clicking on Next in the Content Accelerator Wizard):
D’oh – after the reboot I’d forgotten to restart my OBIEE services.
But — I still have the Exception occurred when while initializing repository!!!” problem 😦
Turns out I was almost on the right lines with my comment above about PATHs and java.
There are two downloads for CAF, one when it was released (v1.01) and the current one (v1.02). In the readme for v1.02 java 1.6.0_10 is specified, whereas in v1.01 it only states 1.6.
After I’d upgraded my java installation (from 1.6.0_03 to 1.6.0_16) CAF worked fine.