Thursday, 18 November 2010

Installing fusion middleware 11G

Read the instructions I always say…  I don’t always do…

I’ve installed the middleware, but nor run the rcu.bat “Repository Creation Utility”.

So, I had to download this from:  http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html, more specifically search for Repository Creation Utility (11.1.1.2.1)

download the 300ish Mb and extract zip file

goto bin dir and run rcu.bat

image

Create

image

Enter your database details

image

Check

image

Next

image

I needed to connect as user sys using sysdba privs.  Note that I did not select the identity management schemas, as they are a little sensitive

image

Enter your password

image

You need to change the two passwords as a minimum, above

image

create Table spaces

image

Create

image

Then, the process runs for ages (for us anyway, we are using an old VM machine)

image

Then you can run the SOA installer!

emctl show em status and URL

Quite often I struggle to remember the URL for oracle DB em and also struggle to know if it’s up…  Well, here is the solution.

login to DB machine as oracle

emctl status dbconsole

[oracle@E1DB ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
https://E1DB.MITS.LOCAL:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11ovm/db_1/E1DB.MITS.LOCAL_jdevm/sysman/log

I thought I blogged this, but I cannot find it.

New location, new professional attitude, new look

I’ve gone up market and moved from http://moistymoistymoisty.blogspot.com to http://shannonscncjdeblog.blogspot.com  for obvious reasons.  Hopefully followers can see the change and get told about it.

More BI Publisher

I’ve been doing some work on a POC for embedded BIP and will be writing a few things about it’s functionality.

Previously all intermediate files and PDF files were only available temporarily while the process was running, now this has all changed.

When BIP is enabled for a report in E1, the report produces an XML file which is the raw data and it also produces all of the output files - which JDE also stores - in tables!

· F95630 contains the XML data created from the UBE run.

· F95631 contains the actual output files.

So, VERY easily a UBE could be written or a DB procedure to extract the files to a flat file location.

Note that you can also activate some JDE.INI settings to write them to the local machine, and therefore script them out to another dir too:

[UBE] section
BipSaveOutputOnFs= 0 or 1

A value of 1 enables the archiving of Report Definition Output. The default value is 0 (zero).  If the value is 0, archiving is turned off and report output is saved only in the F96531 table, not in the file system.
BipOutputDirectory=

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=816003.1

A client that does a lot of XMLP / BIP will need to be very wary of growth in this tablespace.

Wednesday, 17 November 2010

my DAD server

Data access driver I mean.

It’s a strange beast, so I thought that I write some things down about it.  Firstly you cannot start or stop it, so yeah…  That it a little weird.  Well, at least you cannot start and stop it from Server Manager.

You also don’t need to download a software component for it, it just seems to exist.

I installed BIP on OEL, which eventually installed to a path like:

/home/oracle/OraHome_1/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/WEB-INF/lib

The DAD install seems to bang a bunch of JAR files in the dir above, you can see this from the .properties file in the server manager agent directories.

I also think that this thing starts when you access it from BIP, i.e. when the jars are loaded into memory.  So you need to get all of the settings right first.

image

Once these are in, then you can test the connection.  If the test works, the SM will tell you DAD is working

Note also that you need to enter the tnsnames.ora details into the SM config for the application.

image

Then in BIP you can use the DAD connection for queries:

image

Tuesday, 16 November 2010

Oracle BI Publisher and 64 bit office

This combo will not work…  Well it did not work for me.  When I had office downgraded, everything worked like a peach!  What an awesome waste of time!  Office 2010 32 bit is fine, office 2010 64 bit does not work.

Monday, 15 November 2010

bi publisher desktop won’t install

I’m running windows 7 virtual on OVM with office 2010.  Have E1 fat boy and oracle 11G client.  I’m using this machine for some BIP prototype work – cool.

But, I keep getting:

image

“Template Builder Installer failed": Unexpected Error”

People are putting all sorts of stuff on forums that look like pot shots.  “Try uninstall and install again” – huh??? Call me Mr. Crazy trousers, but computers generally do the same thing given the same input.

How about I find some log files and go from there.

C:\Users\ShannonM\AppData\Local\Temp has TemplateBuilderInstaller.log – WOW!  direct hit.

This has:

Word process check start
Error No.: 339
Description: Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

WOW again, direct hit.

I need to install this file, mscomctl.ocx does not exist on my machine

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=25437d98-51d0-41c1-bb14-64662f5f62fe&displaylang=en

913Kb file above, install it.  You can install this on 64 windows.

image

Yeah baby!

image

Hmm, we’ll see

Right…  That did not work, even when I tried the repair…  Damn!

I tried a few other things, and then..

http://www.ascentive.com/support/new/support_dll.phtml?dllname=MSCOMCTL.OCX

Downloaded this file (the file only)

regsvr32 full path to mscomctl.ocx

restart the installation!