Академический Документы
Профессиональный Документы
Культура Документы
Preamble
Apologies but this has a Windows bias, I’ve been indoctrinated into the ways of
Linux recently but I have a Windows install to do this week, so that’s my guide.
The OER documentation has moved and moved again. So to find the documentation
for OER you need to either know where you’re looking or be a relative of Sherlock
Holmes. This link to Governance Documentation is useful (latest version here).
[Note: This is a slightly updated version for OER 11g PS3 (11.1.1.4.0) but I haven’t
updated all the pictures, or all the configuration pieces yet (2011/02/02)]
Installing the DB
The universal language is important – the database should be storing stuff in Unicode.
You can check the language characteristics with the following SQL:
select * from nls_database_parameters where Parameter = 'NLS_CHARACTERSET';
which should yield:
NLS_CHARACTERSET
AL32UTF8
There are instructions on how to change the characterset in the install guide. Good
Luck!
Install the database (I chose “oracle” as the SYS and SYSTEM passwords).
Make sure the default XE database is running by opening the Oracle DB Home Page:
If the home page doesn’t appear, make sure Oracle is started (it may be an idea to
reboot following the Oracle install), you start the Oracle XE database by clicking
Start|All Programs|Oracle Database 10g Express Edition|Start Database.
Using SQLPLUS create some OER DB Storage space and an OER User. To make
life easier I knocked up a script - unzip these two files into your C: directory and run
the batch file and it should create the appropriate tablespaces and user in the default
XE database. The script assumes you installed OracleXE in its default c:\ drive
location and that you chose “oracle” for the SYSTEM password.
After running the createOERTablespaces.bat script you may see 3 errors associated
with not being able to drop tablespaces that don’t exist. You can ignore these errors.
Run a basic WLS install and do not choose the QuickStart option – the OER installer
will create a domain template, which will provide a checkbox option for you to select
when you use the domain configuration wizard. You can read about WLS Domain
templates here.
This install seems to take care of itself – just double click it and choose the typical
install. You may not need to do this if Java JRE is already on your system – you’ll
notice if you get an error when you click on Asset Editor link or Navigator link in the
OER UI.
Installing OER
It’s now a generic installer jar file installed using java. OER 11.1.1.3.0 is here. This
is located in the Fusion Middleware Download page. OER 11.1.1.4.0 is here.
Your system will need a JAVA_HOME in the path or you could type something like:
C:\MyInstalls\Oracle\Middleware\jdk160_18\bin\java OER111140_generic.jar
Make sure you get the “Fully qualified server name:” correct – to check just ping
it. I got this wrong and the error it gives you isn’t helpful.
You no longer get the option to “configure workflows with default process engine” at
the end of the install process. You need to have ALBPM 10gR3 installed and should
then follow some additional steps to get the Workflow capability installed.
The installer now just creates a WebLogic domain template for you – unless you
choose a different application server! The following pictures are now just a guide as
the numbers are 11 instead of 10 for WLS, although the database sections are the
same.
In the next screen type in OER_DATA, OER_BLOB, OER_INDEX for the database,
Blob and Index tablespaces, to match what was created by the tablespace creation
script – if you created differently named tablespaces use those!
You should get a success message for connection to the database at this point…
Note when you create your domain the OER Template will create a Managed Server
on port 7101 by default and install the OER application there. If you didn’t configure
the Node Manager when creating the domain then you’ll have to start the Managed
server manually, before the OER application will start, otherwise you can start the
managed server from the WLS Admin console.
I wasn’t expecting the oer application to be placed in its own managed server –
obviously it should be in production but I just wanted it running in on the Admin
server. The template creates an oer_machine and an oer_server1 managed server. To
sort this out I clicked on Deployments in the WLS Console, copied the application
install location and then deleted the application from WLS, deleted the machine and
deleted the managed server, I then installed the oer application on the Admin Server.
The easier way is to ensure that you check the Admin Server and the Managed Server
checkboxes, change the Admin Server port to one you want and then delete the
Managed Server. You’ll then just get an Admin Server created – which is all you will
need in a development/demo environment. I find this little process a bit counter-
intuitive, but it works.
The default user and password is admin/admin – you will be invited to change this on
initial logon.
My new password is weblogic1.
You may now start a browser and enter the URL http://localhost:7101/oer. A logon
page should appear – use admin/admin to logon.
If at this point you get a web page with a User name and password field but no
pictures it is possible that you spelled your “Fully qualified server name” incorrectly.
You can change this in the following file:
C:\Oracle\Middleware\user_projects\applications\oer\applications\oer_11.1.1.4.0\oer-
app\WEN-INF\classes\cmee.properties
Installing BI Publisher
This is just a web app running on an application server, there’s a manual simple install
option that I chose. I put it on my OSR domain, I don’t think it’s supported in the
OER domain but I could be wrong. The documentation for simple installation is in
included with the downloaded zip file.
To install BI Publisher:
Create a directory where you’ll put the exploded BIPublisher war file
I chose: C:\MyInstalls\Oracle\xmlpserver
At this point you can replace the XMLP BI Publisher default (see line below) with the
one found in the
C:\MyInstalls\Oracle\Middleware\repository111\core\tools\solutions\reports\BIP
-Oracle.zip file.
Copy the
C:\downloads\Windows\Oracle_Business_Intelligence_Publisher_Standalone\ma
nual\XMLP directory to somewhere.
I chose: C:\MyInstalls\Oracle\
If all is well the application should deploy and start – you may need to start it
manually by selecting it and clicking “start” & “start services all...” If it fails horribly
with a stack trace in the UI then you may not have updated the xmlp-server-
config.xml file correctly.
Go to Admin tab and select JDBC Connection link and click the OER link to update
the JDBC Connection information, test the connection and Apply.
You need to configure the system settings in OER to point to the correct BI Publisher
Server URL and use the OER User. This is done in the Admin tab, under System
Settings.
Further Configuration
You will need to do a little more work to complete the installation if you want to use
some more advanced features. You should import the following solution packs into
OER from the C:\MyInstalls\Oracle\Middleware\repository111\core\tools\solutions
directory:
Note that initially there appeared to be a problem with the Java WebStart that should
run to open the Import/Export dialogue. Retrying the link seemed to resolve the
JNLP issue and the login dialogue box appeared. Use admin/admin. There used to be
a bit of a bug around JNLP whereby if the cookie login option wasn’t chosen or the
cookie got deleted or changed then the Webstart application would fail. I haven’t
noticed that problem in this version. To resolve usually logging in and out of the
OER UI with the cookie option set resolved this.
Click Next and wait for job to complete and click Next and Finish. Repeat for both
Solution Packs.
Policy Management
Policy Management in OER unfortunately doesn’t come out of the box – this is an
historic throw-back to the days when managing policies was an additional feature that
had to be paid for. Getting policies working is a multi-stage process.
To get Policy Management to work you should update the “Enable Asset Policies”
System Setting to True. Then download the Pack as described in the previous section.
This has the effect of placing a button on the web UI called “Apply Policies” which
provides a window for you to select Policies that you wish to apply to the in-view
asset.
The other thing that you need to ensure is that the asset that you applied the policy to
has an element “Applied Asset Policies” available within one of the tabs. This is not
the case by default for all asset types – however if it is available it is usually found as
the last field element in the Miscellaneous tab. You add elements to assets in the
Asset Type Editor. The Asset Type Editor is launched from the menu bar
(Actions|Manage Types (Ctrl+M)) in the Asset Editor (which is launched by clicking
edit on a selected asset or clicking “Edit / Manage Assets” link on the assets home
page.
The Sample Policy assets provided when you import the Policy pack do not have any
text assertion statements, to see how text assertions are passed or failed you should
either create a new Policy Type asset with assertions or edit the existing policy assets
and add some assertions.
The other things you will probably want to do are to set up the Harvester and the
Registry Repository Exchange utility.
The section below is out of date as per OER 11g PS3 (11.1.1.4.0)
D:\MyInstalls\Oracle\Middleware\repository111\harvester
D:\MyInstalls\Oracle\Middleware\repository111\orrxu
Once you’ve downloaded and installed JDeveloper you will need to install the OER
plug-ins. You can download the updates by clicking JDeveloper Help | Check for
Updates. You may need to add a proxy for Jdeveloper to connect to the internet a
pop-up should appear (I used emeacache.uk.oracle.com on port 80). I selected the
following plug-ins following a new JDeveloper 11.1.1.3.0 (Build 5660) install from
here. The install may take a while as the Repository Harvester is 85 MB and the SOA
Composite Editor (which you may not need is 200 MB). You can obtain these
extensions from here.
Once you’ve downloaded these you will need to restart JDeveloper. Click Ctrl + Shift
+ O to bring up the Resource palette, if it’s not visible and then click on the folder
with a gold asterisk icon to give you a drop-down to create a new Connection.
Choose “Oracle Enterprise Repository...”
Then fill in the server connection details and test the connection:
You should now see the Repository as a Resource connection in the resource palette.
You can browse the tree in this palette to view assets based on their taxonomy. You
can also right click on the resource and select Search to search for assets. Right click
on an asset to View in Repository, this will present the Repository UI in JDeveloper.
[Note: If your download is taking a long time you might find this tool
(http://www.freedownloadmanager.org/download.htm) is a beautiful thing.]
Now the next set of instructions on the official install guide are a little confusing. See
Chapter 8: “Installing Oracle Enterprise Repository Workflow into Oracle BPM 10.3”
where there are a number of steps to follow.
Path=D:\Homes\obpm/jre\bin;
D:\ProgramFiles\apache-ant-1.7.1\bin;
C:\oraclexe\app\oracle\product\10.2.0\server\bin;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\Program Files\Symantec\pcAnywhere\
Does OER need to be running? I don’t know, I had a lot of trouble initially so I
ensured it was running…
Appendix
Those database creation files:
createOERTablespaces.bat
echo off
set LOC=c:\
set SQLFILE=createOERTablespaces.sql
set MKDATAFILE=C:\oraclexe\oradata\OER
echo *
echo *
echo *******************************************************
echo * This batch file will use the Oracle SQLPlus utility
echo * to run sql in "%LOC%%SQLFILE%".
echo * Make sure this file exists before continuing.
pause
createOERTablespaces.sql.txt
connect SYSTEM/oracle
quit
README-OERTablespaceBuild.txt
You should copy the two files to your c: drive and remove
the .txt extensions.