Tag Archives: 11g

Memory issues after installing OER

OER assetsAfter installing Oracle Enterprise Repository (OER) we experience some memory issues. Besides the messages in the log files, we also couldn’t use the console and em as we did before (when we were just running SOA Suite). It turned out the installation of OER in the same Weblogic domain resulted in some unexpected things.

The WebLogic Server and SOA Suite are started using the startWebLogic script (for windows .cmd and on Linux/Unix .sh). This script uses the setDomainEnv script to set the environment variable for the domain. The setDomainEnv script in turn calls the setSOADomainEnv that actually sets the USER_MEM_ARGS. That in the end are used in the startWebLogic script.

After the installation of OER the setDomainEnv not only calls the setSOADomainEnv. It also calls a script that sets the USER_MEM_ARGS for the oer_server in the domain. Apparently the memory required for OER is less than needed for the SOA Suite. Since the script for OER is executed last, memory setting remain low. As shown in the smippet taken from the setDomainEnv.cmd:

call "%WL_HOME%\common\bin\commEnv.cmd"
call "%DOMAIN_HOME%\bin\setSOADomainEnv.cmd"
call "%DOMAIN_HOME%\bin\setOERDomainEnv.cmd"

To solve the memory issue when starting the WebLogic Server using the startWebLogic script we alter the sequence so the setOERDomainEnv.cmd goes before the setSOADomainEnv.cmd.

If the installer put a second call to setSOADomainEnv.cmd in the setDomainEnv.cmd. That doesn’t work because the setSOADomainEnv.cmd contains the following check:

REM Skip running this script again if it was run once
if "%XENGINE_DIR%" == "" goto set_env
echo *********************************************************
echo ** SOA specific environment is already set. Skipping ...
goto end_set_env

.

Installing Oracle Enterprise Repository

This blog post will show you how to install Oracle Enterprise Repository, or OER in short. The assumptions is that you have a running WebLogic Server (with SOA Suite on top of it) and a database.

Prepare – database

The most important part of the preparation for the installation of Oracle Enterprise Repository is the creation of tablespaces and the user that will hold the database objects.
Create the required tablespaces
You can change the names of the tablespaces and alter the path and names of the data files according to your needs. The example is based on an installation on the Windows OS. If your on Linux/Unix you probably know what to do to make it work on your platform…

CREATE TABLESPACE OER_DATA
    DATAFILE 'D:\oracle\oraclexe\oradata\XE\oer_data.dbf' SIZE 300M
 AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE
    LOGGING
    ONLINE
    SEGMENT SPACE MANAGEMENT AUTO;
 
CREATE TABLESPACE OER_LOB
    DATAFILE 'D:\oracle\oraclexe\oradata\XE\oer_lob.dbf' SIZE 300M
 AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE
    LOGGING
    ONLINE
    SEGMENT SPACE MANAGEMENT AUTO;
 
CREATE TABLESPACE OER_INDEX
    DATAFILE 'D:\oracle\oraclexe\oradata\XE\oer_index.dbf' SIZE 300M
 AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE
    LOGGING
    ONLINE
    SEGMENT SPACE MANAGEMENT AUTO;

Create the user
Change the user name and password (both OER in this case) to cater your needs.

CREATE USER OER IDENTIFIED BY OER
DEFAULT TABLESPACE OER_DATA
    TEMPORARY TABLESPACE TEMP;
 
GRANT CREATE MATERIALIZED VIEW TO OER;
GRANT CREATE SEQUENCE TO OER;
GRANT CREATE SESSION TO OER;
GRANT CREATE SYNONYM TO OER;
GRANT CREATE TABLE TO OER;
GRANT CREATE TRIGGER TO OER;
GRANT CREATE VIEW TO OER;
GRANT UNLIMITED TABLESPACE TO OER;

Install OER

Us the follwing command from a dos prompt to start the OER installation. By default it will start in graphical mode. You can use the -mode option to start it in console or silent mode.

java -jar OER111150_generic.jar -log=C:\installSOA\logs\OER_install.log

Run WebLogic Server Domain Configuration Wizard

To run the Domain Configuration Wizard on Windows you can click: Start > Programs > Oracle Products > Tools > Configuration Wizard. On any platform you can run the config script in the /common/bin/config.cmd. For example:

> cd oracle\Middleware\wlserver_10.3\common\bin
> config.cmd

Post Install actions

To use all options in the Repository you need to install Java Web Start. To check whether Java Web Start is installed correctly use the test Java link.

In case the JNLP stuff (needed for java Web Start) doesn’t work. This Firefox JNLP fix might help you (via Andreas).

SOA Suite Installation Quick Start

There are always quite some blog posts on installing SOA Suite on several platforms. Recently I discovered that Oracle publishes a Quick Start Guide on the SOA Suite (PDF!) that mainly deals with the installation process (and de-installation should you need it).

This guide is aimed at installations for developers and not for production machines. Unfortunately the installation of OSB is out of scope. I expect it to be upgraded to PS4 (11.1.1.5) soon. I could find any missing instructions while installing PS4 on a Windows7 VirtualBox.

This document looks very similar to the installation chapter in Getting Started with Oracle SOA Suite 11g R1.

Update

It was confirmed by Simone Geib, Product Manager in the Oracle SOA team, that both the OSB part and the PS4 update are coming soon.

Update September

The update for SOA Suite PS4 (11.1.1.5) including Oracle Service Bus is now available.

Some useful AIA 11g links

For my own reference some useful AIA 11g Foundation Pack references:

Documentation

The AIA 11g Foundation Pack documentation:

Installation

Installing AIA FP (11.1.1.4.0) on SOA Suite 11g R1 PS3 explained by Edwin Biemond on the Whitehorses blog. The Oracle Installation and upgrade guide to go with it can be found here and a whitepaper on installation topologies and architecture.

Blogs on installing previous versions:

Using Composite Application Validation System for non AIA Composites testing

Usings CAVS to test non AIA composites is described by Edwin Biemond.

AIA Service Constructor in JDeveloper 11g PS3

JDeveloper 11g needs extensions to work with SOA Suite / SCA Composites and AIA 3.0 (for example the Service Constructor). An earlier post describes how to use SOA Suite extension in JDeveloper 11g. This post will show you how to install the AIA Service Constructor.

The AIA Service Constructor can be acquired using the menu Help | Check for updates, clicking Next, and selecting Oracle Fusion Middleware Products. SelectAIA Service Constructor and click next to start the download.

Verify the installation of the extension using the menu Help | About, and click on the tab Extensions:

Altering JDeveloper preferences

Now we have to make the aia.jar known to the SOA stuff. In order to do this we use the preferences, using the menu Tools | Preferences.... The is aia.jar in the ...\Middleware\jdeveloper\lib directory.

After these changes JDeveloper needs a restart.

SOA and E20 Partner Community Forum – 2

Some notes and dump of thoughts on the second day of the SOA and E20 Partner Community Forum. A day filled with interesting breakout sessions. Some of them were discussing roadmaps and future developments in the stack, and thus subjective to an NDA.

SOA platform

Again after this session I came to the conclusion that in my opinion BAM is used too little.

During the session was raised whether people in the audience were using non-Oracle databases as dehydration store and Meta Data Store. The mainstream is using Oracle as dehydration store. And although it is certified, it is advised to use Oracle as the database for this purpose. On the Application Server, given the maturity of the J2EE platform, there is less discomfort in operations to deploy the SOA Suite on a non-Oracle App Server.

ADF

Only today I found out that there is an interesting JDeveloper 11g extension. The extension validates ADF code quality. Seems an interesting extension to check code quality besides the already available Java tools.

BPM

When comparing BPEL and BPM and looking into when to use what tool, the following was stated: For all things with human interaction BPM is the tool of choice. In integration driven appraoches BPEL is the tool of choice.

In Oracle point of view BPM includes:

  • People
  • Systems
  • Documents

without the need for separate platforms.

Example of a custom Spring Java worklist application for Oracle BPM.

SOA and E20 Partner Community Forum

Today I attended the first day of the SOA and E2.0 Partner Community Forum. For a detailed agenda of the event check this link. The event with 200 registrations was hosted at Capgemini in Utrecht, The Netherlands.

Tattie picking

The first keynote by Andrew Sutherland had a few great stories that leaded the way to show the rationale behind the Exalogic platform. This included a personal story on “tattie picking”. The larger part was on productisation and gave examples on increasing effiency in IT. One of the ways for the Exalogic platform is the one that is also used by Apple: If you limit the amount of hardware your OS of software stack has to be compliant with, that introduces a better controlled and optimized environment; “If you know the machine you need less code”. This is resulting in several efficiencies. Efficiencies both in the One Time Costs (CTB) and Recurring Costs (RTB).

One of the sound bites that stayed with me was:

The most sticky stack is the least sticky one

Indicating that the stack that is the most open and complying with standards is the one that is most likely to survive…

SOA/ BPM Reference Case

In the Partner SOA/ BPM Reference Case Leon Smiers of Capgemini introduced us to the BPM practise of Capgemini and two of their BPM cases. One of the quotes that I think is very true was:

SOA supports the success of BPM.

Besides that Leon stressed the structure, insight and compliance advantages that BPM efforts deliver. One of the things they learned by doing was the importance of showing BAM to business people. This really enables you to get visibility on a lot of stuff that is under the hood. Besides that it is a catalyst for generating more business value with ideas from the people you are showing BAM to.

WebCenter/ UCM Reference Case

During the WebCenter/ UCM Reference Case Vikram Setia of Infomentum shared great insight on how to deliver an excellent web site using Oracle technology. He did this in a very lively session showing us around a live site and telling what Oracle technologies were used behind the scenes. Besides the UCM and WebCenter stuff there were some cool uses database thingies like:

  • Text Clustering
  • Thesaurus
  • Locator

SOA and BPM 11gR1 PS3 Update

Another intresting session was the SOA and BPM 11gR1 PS3 Update by David Shaffer. Mr Shaffer showed us some of the history and some of the highlight in the current stack. A more detailed dive into the latter will be on day 2 of the conference.

Wednesday’s Breakout Sessions

On the second day I will be attending the following breakout sessions:

  • SOA Suite 11g PS3 & OSB
  • ADF/WebCenter 11g integration with BPM Suite 11g
  • BPM 11g, Whats New

JDeveloper 11.1.1.4. supports 64-bit versions of Windows and Java

There is a small note in the JDeveloper 11.1.1.4 Installation Guide:

This release of Oracle JDeveloper supports the 64-bit versions of Windows and Java.

More on the question What is 64-bit Java?, can be found on this Java Hotspot FAQ.

The Installation Guide mentioned before doesn’t show additional details on How-To get JDeveloper working on Windows 7 with an 64 bit Java version….
To get this working:

  • Download and install a recent 64 bit JDK for Windows 7 64 bit, eg jdk-6u24-windows-x64
  • go to the $Middleware_Home$\jdeveloper\jdev\bin directory and edit the jdev.conf
  • Alter the SetJavaHome to the directory in which you just installed the JDK:
#
# Directive SetJavaHome is not required by default, except for the base
# install, since the launcher will determine the JAVA_HOME.  On Windows
# it looks in ..\..\jdk, on UNIX it first looks in ../../jdk. If no JDK
# is found there, it looks in the PATH.
#
#SetJavaHome C:\Oracle\Middleware\jdk160_21
SetJavaHome C:\Program Files\Java\jdk1.6.0_24
  • And then start the jdev64W.exe in the $Middleware_Home$\jdeveloper\jdev\bin directory.

Additional hints

February 2012 Spyros Doulgeridis posted on his blog on Running JDeveloper in 64 bits. He shows additional guiding on:

  • Adjust JDeveloper’s memory settings in in the C:\Oracle\Middleware\jdeveloper\ide\bin\ide.conf
  • Increasing the memory of the embedded weblogic – in the setDomainEnv.cmd file
  • Configure Windows pagefile – to avoid the Virtual Memory Minimum Too Low error in Windows

Whitehorses SOA Specialized Partner

Whitehorses a Gold level partner of OPN, has achieved the Specialized status for Oracle Service-Oriented Architecture (SOA). Achieving this Whitehorses has been recognized by Oracle for its expertise in delivering services specifically around Oracle SOA Suite 11g through business results and proven success.

Frank Dorst, CTO of Whitehorses:

“We strongly believe in the power of IT. Information technology makes real change possible and that does not always have to mean huge investments. We distinguish ourselves by clearly defined improvement projects, with involvement of both IT and business in which collaboration with customers is essential. Achieving Specialization is our confirmation that we are doing well. It continues our long relationship with Oracle and gives our customers the confidence to work with a qualified party. ”

Bas Diepen, senior manager of Alliances and Channels at Oracle:

Whitehorses know how to keep changes small and simple, no matter how big projects are. We are pleased that the investment they have made in gaining knowledge and Oracle skills, is now reflected in achieving this Specialized status.”