OWB 11gR2 Workspace Creation Issues

October 31st, 2009 by

First of all, I’d like to thank David Allan of the OWB Product Team for helping me solve the problem I discuss below… and also for identifying what he thinks to be the cause.

A few days after Oracle Database 11gR2 was available, I went about building my first VM to test both the database features as well as OWB. I installed 64-bit Oracle Enterprise Linux 5.4 on a VM and then installed the 64-bit version of Oracle Database 11gR2. The database install went just fine, and once complete I executed $ORACLE_HOME/owb/bin/owb to get OWB started, specifying a valid username and password. OWB recognizes that my username is not a registered user of an existing workspace, so it asks me if I want to create a new workspace… or at least register with an existing one.

login error.png

I select yes, which immediately launches the Repository Assistant. I select the first option, “Manage Warehouse Builder Workspaces”, and then again select the first option: “Create a new Warehouse Builder workspace”. At the next screen, I select “Create a workspace with a new user as workspace owner”.

new or existing user.png

At Step 6, I provide a username for my new workspace, a password, and a name for the workspace. Then I select Next.

workspace owner.png

At Step 10, I go ahead and select the username STEWART to be added as a workspace user, and then select next. I then get a summary screen, where I press Finish. Immediately, I get an error involving the installation of the OWBSYS user. The actual exception is “oracle.ide.ExitNotAllowedException” in the process called “processLoadJavaToken”.

repository error.png

I look at the log generated by the Repository Assistant in the $ORACLE_HOME/owb/UnifiedRepos directory… but the only additional piece of information supplied is the following: “Error occurred during Seeding OWBSYS”. This was all quite confusing, as I knew that Mark had successfully built OWB with no issues, and so had Pete Scott, Venkat and others.

At this point, I contacted David Allan and asked if he had seen this error, which he hadn’t. He looked into it a bit further, but in the end, he simply recommended that I clean out the OWBSYS user and then try to “seed” it manually, which simply means creating the required objects in the schema for supporting new workspaces. This is of course what the Repository Assistant is trying to do, but for whatever reason, the seed process in the GUI is not working correctly for me.

To clean out the OWBSYS schema, I use the clean_owbsys.sql script in the $ORACLE_HOME/owb/UnifiedRepos directory. This will drop the OWBSYS user and all roles associated with it.

SQL> @clean_owbsys

User dropped.


User dropped.


Role dropped.


Role dropped.


Role dropped.

SQL>

I follow that up with cat_owb.sql script, which recreates OWBSYS and seeds all the required objects. I truncated some of the output for brevity sake, which I indicated with the “…” characters.

SQL> @cat_owb
Enter Tablespace Name for OWBSYS user:
USERS

Package created.


Package body created.

Create user OWBSYS with default tablespace USERS ...
old   1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE &owbsys_tbs
new   1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE USERS

User created.

User OWBSYS has been created.

PL/SQL procedure successfully completed.


Grant succeeded.

...

Grant succeeded.


PL/SQL procedure successfully completed.


PL/SQL procedure successfully completed.


Commit complete.

...

PL/SQL procedure successfully completed.


Commit complete.


Role created.


Grant succeeded.


Role created.


Grant succeeded.


Role created.


Grant succeeded.

...

Grant succeeded.

old   1: CREATE USER owbsys_audit IDENTIFIED BY owbsys_audit DEFAULT TABLESPACE &owbsys_tbs
new   1: CREATE USER owbsys_audit IDENTIFIED BY owbsys_audit DEFAULT TABLESPACE USERS

User created.


Grant succeeded.


Grant succeeded.


Synonym created.

...

Synonym created.


Table created.


PL/SQL procedure successfully completed.


User altered.


User altered.

NOTE: To associate the Control Center with the correct OWB home, now run owb/UnifiedRepos/reset_owbcc_home.sql. You must run the script as a user with java admin privileges. For example, connect as sys as sysdba to run the script.
SQL>

I follow the advice from the cat_owb.sql script, and I execute the reset_owbcc_home.sql.

SQL> @reset_owbcc_home
Enter the full path of the Oracle home for the OWB Control Center install.
If you are installing in a Windows environment, please ensure that the case of the path exactly matches the Oracle install path including the drive letter.

OWB Control Center Home:
/oracle/product/11.2.0/dbhome_1

PL/SQL procedure successfully completed.


PL/SQL procedure successfully completed.

SQL>

The cat_owb.sql script recreates and locks the OWBSYS account… so I unlock the account and change the password. Now, when I run the repository assistant I get a different result.

install successful.png

David Allan’s assessment of the cause of this issue is the use of the client tools, namely the Design Client and the Repository Assistant, on a 64-bit Linux platform. According to the certification matrix, none of the OWB client tools are certified on 64-bit Linux. That’s very strange, as it’s unclear why any of the client tools would continue to ship on the 64-bit installations if they shouldn’t be used.

Remember, both the Oracle Database and OWB continue to be supported on 64-bit Linux, it’s just my use of the client tools from that same installation that is not supported. Were I to download a 32-bit Linux installation and use the client tools from that installation to connect to a 64-bit installation… I’d be using a certified solution. And when Oracle starts shipping 11gR2 on Windows, the use of the 32-bit Windows client installation to connect to the 64-bit database installation is supported as well.

I can certainly work around the workspace creation issue, as I showed above, by doing the OWBSYS seeding manually. However, as David points out, I’m opening myself up for lots of issues by using a non-certified OWB client.

Comments

  1. Catalin Says:

    Unfortunatelly, I have exactly the same problem. But, the workaround you propose doesn’t work for me :(. I am installing Oracle 11gR2 in OEL 5.3 (32 bit). Any help would be greatly apreciated!

  2. Stewart Bryson Says:

    @Catalin:

    When you say the workaround doesn’t work, can you elaborate on what you are seeing?

  3. Catalin Says:

    Of course,
    I encounter the same error when creating an workspace with the Repository Assistant in Oracle 11gR2. I follow the steps you suggest:
    1. @clean_owbsys
    2. @cat_owb
    3. @reset_owbcc_home
    ….but the error remains :(
    I remind you that I am installing Oracle 11gR2 in OEL 5.3 (32 bit). Any help would be greatly apreciated!
    Thank you!

  4. Stewart Bryson Says:

    @Catalin:

    Could you send me the log file from $ORACLE_HOME/owb/UnifiedRepos to stewart.bryson@rittmanmead.com, and I’ll take a look. In the meantime, if you have a Metalink account, I recommend you go ahead and open an SR while I investigate.

  5. Catalin Says:

    I have sent the log.

  6. Stewart Bryson Says:

    @Catalin:

    Can you do the following in a SQL-Plus window:

    spool owb_reseed.log
    set echo on
    @clean_owbsys
    @cat_owb
    @reset_owbcc_home
    spool off

    Then send me the log file.

    Thanks.

  7. Stewart Bryson Says:

    @Catalin:

    Also… trying calling the Repository Assistant directly using $ORACLE_HOME/owb/bin/unix/reposinst.sh, instead of calling it indirectly through the OWB design client. That might solve your problem…

  8. Catalin Says:

    Yes! Followed you last suggestion and it worked.
    Thank you very much! Now I would like to play with OWB 11gr2 a bit.
    If you happen to know some good free tutorials (besides the ones on the Oracle site) please do not hesitate to post them.
    Catalin

  9. Rob Says:

    Hi,

    I am facing an issue here. I am on 64 Bit Linux (Ubuntu 9.10) and managed to get teh Database and Repository installed just fine, but the Design Center shows me a blank screen after login in with my workspace user. Did you get the Design Center up and running?

    Best Regards

  10. Robert Says:

    I had same problem on XP 32bit and 11g 32bit Version 11.2.0.1.0
    what I did I started C:\oracle\ora112\owb\bin\win32>reposinst.bat

  11. phuong-hv Says:

    @Catalin;
    Design Center client is error.

    You must:
    1. @clean_owbsys
    2. @cat_owb
    3. @reset_owbcc_home
    4. Don’t creat by “Design Center”, you try creat by “Repository Assistant” (on window )

    i done!

Write a comment





Website Design & Build: tymedia.co.uk