RNM

September 3, 2009

CAF troubles

Filed under: caf, catalogmanager, obiee, windows — rmoff @ 17:20

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:
caf1
I clicked on Next and got the error “Exception occurred when while initializing repository!!!”

error

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!

Digging around with the brilliant Process Monitor and ProcessExplorer I noticed that Catalog Manager was running with JDK 1.5:
procxp

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:
jdk
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:
catman

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):
javaerror
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 :-(

Fixed

Update 9-Sep-09:
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.

About these ads

2 Comments

  1. Hi
    incase the problem is still happening, can you confirm your source / target RPD does not contain Essbase related mappings ? This content creates issue in 10.3.4.x parsing of XUDML. one way to check if your source rpd is creating the pb is to run CAF on a different set of RPDs, see if issue still there.
    Philippe

    Comment by Philippe — October 27, 2009 @ 23:01

    • Hi Philippe,
      Thanks for the info. I can confirm my RPD does not contain any Essbase related mappings.
      The problem was with my version of Java.

      thanks.

      Comment by rnm1978 — October 30, 2009 @ 09:49


RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

The Silver is the New Black Theme Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: