tiistai 13. joulukuuta 2011

torstai 1. joulukuuta 2011

WebLogic Server 12c launched

A quick summary of WebLogic 12c launch today

WebLogic Server 12c - version 12.1.1 was officially launched today. The plan is it will be downloadable on OTN next week.

WLS 12c is certified on Java Enterprise Edition 6, Full Profile meaning all the latest JEE6 standards and development improvements. WLS12c supports both Java SE 6 and SE 7.

In addition lot of architecture improvements (200+), to name a few:
*Improved Maven support
*Spring 3.0.x support
*Improved RAC support
*Improved Coherence support (integrated session replication and inbuilt admin tools)
*Built in Class Loading Analysis tool to analyze class loading and library conflicts
*Built in WLS diagnostic framework and JVM Flight Recorder (JRockit VM)
*Both JRockit and HotSpot JVM support
*Built in security optimizations (SSL,TLS)
*FastSwap for in-flight redeployment of classes without JVM restart or session changes to speed up deploy/debug cycle
*Support for GlassFish Deployment Descriptors to provide smooth migration from our OpenSource GlassFish application server to WebLogic Server platform

The c in 12c is for the Cloud, and lot of things are happening there, like using Oracle Virtual Assembly Builder to package WLS multitier installations into virtual appliances and redeploy them for deployment (OVAB is separately licensed product).

There is a new lightweight zip distribution, 168mb file without installer - just download, unzip and you are all set for JEE6 development.


Other FMW 12c products (SOA, WebCenter) will be available later Calendar Year 2012 on future release WLS 12.1.x

Eclipse 3.7 with Oracle Enterprise Pack for Eclipse 11.1.1.8 and NetBeans 7.1 support WLS 12c development right away. JDeveloper release supporting WLS 12c expected later in Calendar Year 2012.

There will be also WLS 11g patch set 5 - version 10.1.3.6 release soon. This is an update of the 11g not to be confused with 12c.

Recorded material from the launch webcast is available at www.oracle.com/goto/weblogicserver12c

WebLogic Server resources:
twitter.com/oracleweblogic
facebook.com/oracleweblogic
blogs.oracle.com/weblogicserver
youtube.com/oracleweblogic
Developer Webcast Series: oracle.com/goto/weblogicdevcast


Disclaimer: All information as it has been announced in public broadcast(s), as usual Oracle reserves the right to change any timing and deliverables

keskiviikko 28. syyskuuta 2011

Creating Webcenter 11g PS4 Managed Server for EDG setup

1. Create Webcenter schemas for your custom Webcenter Portal with RCU utility
Custom portal will look for MDS, WEBCENTER and ACTIVITIES schemas. Best practice is to create them all specific for your custom portal.

2. Register your custom MDS schema through Fusion Middleware Control

3. Run WebCenter_ORACLE_HOME/common/bin/config.sh and extend your domain with template WebCenter_ORACLE_HOME/common/templates/applications/oracle.wc_custom_portal_template_11.1.1.jar

3.1 Extend the domain in "home domain setup folder", i.e. the aserver path

3.2. Configure your custom schema datasources.

3.3. Configure Managed Servers, Clusters and Deployment targets according to your HA setup.

4. Pack your domain into template from aserver path on installation machine.

5. Unpack template and propagate domain settings into mserver path on all domain machines.

If you are unsure how to do steps 3-5 look into Enterprise Deployment Guide, especially chapter 6 and adapt the procedure to Custom Webcenter managed server and your environment.


Document references:

Chapter 7 Deploying WebCenter Applications in Administrator's Guide for Oracle WebCenter, http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e12405/wcadm_deploy.htm#BABBAHHJ
and 3.1.8.2 Extending the Domain to Create Custom Managed Servers in Installation Guide for Oracle WebCenter, http://download.oracle.com/docs/cd/E21764_01/install.1111/e12001/config.htm#CBDEIJJI,
Chapter 6 Extending the Domain for WebCenter Components in Enterprise Deployment Guide for Oracle WebCenter, http://download.oracle.com/docs/cd/E21764_01/core.1111/e12037/extend_wc.htm#CACDEGGH

torstai 14. huhtikuuta 2011

Agile in Enterprise

Brief comment on Agile vs. Enterprise, being an Agile fan and Certified ScrumMaster working in a huge organization (mostly from Scrum point of view):

The IT Skeptic wrote

"Both Agile and Lean seem based on a rosy view of human behaviour that many in IT Ops would regard as naive.

The concept of small teams seems to be predicated on Renaissance Man, the miracle polymath who can fulfill multiple roles and leap tall buildings; who is seemingly skilled at most things, and interested in everything else. Human progress can be put down in large part to specialisation, and Agile seems to want to put that into reverse. Developers who understand operations; wild creative types who respect risk mitigation; project managers who are relaxed about changing deliverables; programmers who are good at supporting and training end users; system geeks whom can focus on business value; hackers who document."


Then on other hand take Daniel Pink's great TEDTalk where he nails down with scientific research how only intrinsic motivators - autonomy, mastery and purpose - drive knowledge workers for better performance solving complex problems: http://www.ted.com/talks/dan_pink_on_motivation.html


I think Skeptic is totally right - and totally wrong. It's all about applying right methods in right places. As Pink points out traditional ways of working with extrinsic motivators kick ass for Simple Problems and running a production system is such - mostly. It's not about coming with great new ideas so it's not necessarily an optimal place for Agile. Agile needs autonomy and if your environment cannot cope with it, don't do Agile. Agile, and Scrum especially work best for time limited projects developing new solutions, where autonomy can be allowed.

Besides, lot of IT projects nowadays are actually taking off-the-shelf products and then customizing them (as little as possible) to meet customer requirements. Agile works excellent for this kind of project needing prototyping and then finding best balance in the traditional time, cost, features -triangle.

Skeptic's disbelief in finding those Renaissance Men people for Agile projects is partly sound. They are hard to find, and having a team of them is dream scenario. But Agile is Agile, it can and should be adapted to situation and limitations every time. If team is not self-driven, take more control. If it's not multi-talented, make sure to fill the gaps with extra resources. Also when money is involved there will (or at least should) be some stakeholder control, project and budget management frameworks one needs to adapt to etc. Pure Agile is actually rare, trade-offs must be made in Enterprise world. This puts lots of responsibility on the shoulders of Agile coach (ScrumMaster), who should be able to handle and adapt to the situation. In the end his/her professional skills can make or break the project.

Then on the other hand there's too much Agile abuse. IT industry is in love with Scrum and every project must be Scrum now - too often without proper knowledge, consideration and real empowerment for the team. Project doesn't become Agile by calling it Scrum and having stand-up meetings every now and then. Seeing people stating day after day same status reports (i.e. "I haven't done anything"), hearing "We don't write documentation, we are Agile" while calling it Test-Driven Development without anybody actually testing anything is far too common.

ScrumMasters, take pride in making Agile work.


Wikipedia on Motivation

tiistai 25. tammikuuta 2011

Yum updates for Oracle Enterprise Linux 5

Oracle Enterprise Linux (variant of Red Hat Enterprise Linux) is one sure choice when it comes to Oracle supported operating systems. Unfortunately the distribution doesn't include all required packages for such elementary software like Database 11g. System tools can be used to fetch updates from Oracle - if you have support contract.
Oracle has published public Yum repository which everybody can configure and use. Anyway Yum is de facto standard of updating RHEL systems and OEL doesn't have any repository configured out of the box so here is what you should do (from http://public-yum.oracle.com):

Fetch Oracle public Yum repository definition file
cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-el5.repo

Then set enable=1 for your system repositories in the fetched configuration file. Running OEL 5 update 5 they would be entries [el5_u5_base] and [ol5_u5_base].

Update your kernel
yum install kernel

Update Oracle required standard packages
yum install oracle-linux

Reboot your system
reboot


Oracle has also created oracle-validated RPM including common required packages and kernel settings. Oracle Support Note 728346.1 discusses this a bit more. To prepare your environment for Oracle software installations, issue
yum install oracle-validated


Then, if you are still later missing any required packages you can install them with command
yum install [required package]


Yum is superior to plain rpm as it fetches latest available RPMs for your system from the configured repositories, manages dependencies automatically and handles download & install.

tiistai 18. tammikuuta 2011

VMware Server 2.0.2 on 64 bit Fedora 14, Ubuntu 10.0.4

Having more than 4 gigs of memory for running Oracle Fusion Middleware is essential, and it requires 64 bit operating system. As lot of things are often run as VMware images there's a problem: VMware does not support latest 64 bit Linux releases. With some help it can be done. Radu Cotescu has written scripts that virtually solve the problem.

Fedora 14

I spent considerable amount of time trying to get VMware working on Fedora 13 but finally gave up as it seemed impossible, and didn't find anybody who would have gotten it working. Now Fedora 14 fortunately is working. Here's how:

Turn SELinux to disabled, if it's not already
vi /etc/sysconfig/selinux
and set following:

SELINUX=disabled
reboot

Update kernel and install needed packages:
yum update kernel
yum install kernel-devel-`uname -r` xinetd gcc gcc-c++ perl-devel perl-ExtUtils-Embed wget vim-enhanced

In your working directory, fetch & unpack Radu's script and VMware Server:
cd [working directory]
wget --no-check-certificate http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh
tar xvfz raducotescu-vmware-server-linux-2.6.3x-kernel-release-1.5-1-g71f8b66.tar.gz
cp [location of VMware server]/VMware-server-2.0.2-203138.x86_64.tar.gz .

Run install & configure (which will fail until next step):
./vmware-server-2.0.x-kernel-2.6.3x-install.sh

Additionally Fedora needs one change to VMware configure script:
vi /usr/bin/vmware-config.pl
Around line 2702 replace

[...]
    if (-e $answer . '/linux/utsrelease.h') {
      $uts_headers .= "#include <linux/utsrelease.h>\n";
    }
[...]

with

[...]
    if (-e $answer . '/generated/utsrelease.h') {
      $uts_headers .= "#include <./generated/utsrelease.h> \n";
    }
[...]


Finally run configure:
/usr/bin/vmware-config.pl


Ubuntu 10.0.4

Ubuntu has similar process, but no need to edit VMware configure script. Just fetch & unpack Radu's script and VMware Server, run install and configure. (You might want to upgrade kernel before starting).
cd [working directory]
wget [http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh]
tar xvzf raducotescu-vmware-server-linux-2.6.3x-kernel-592e882.tar.gz
cd raducotescu-vmware-server-linux-2.6.3x-kernel-592e882/
cp [location of VMware server]/VMware-server-2.0.2-203138.x86_64.tar.gz .
tar xvzf VMware-server-2.0.2-203138.x86_64.tar.gz
./vmware-server-2.0.x-kernel-2.6.3x-install.sh
..and follow install process, just press enter as default for everything.


Firefox 3.6.x Console plugin doesn't work

As of writing VMware Server console plugin does not work in Firefox 3.6.x, you will get "Cannot access virtual machine console. The request timed out" error. Solution is to use Internet Explorer or downgrade to Firefox 3.5.9 until it works.

Any version, locale and platform version of Firefox can be fetched through a www.mozilla.com URL, so for instance fetch 3.5.9 package from http://www.mozilla.com/en-US/products/download.html?product=firefox-3.5.9&os=linux&lang=en-US. Then unpack and run.
cd [working directory]
tar jxpvf firefox-3.5.9.tar.bz2
./firefox/firefox
On Ubuntu you probably get "./run-mozilla.sh: 399: ./firefox-bin: not found" and need to install libraries to support running 32 bits applications:
sudo apt-get install ia32-libs

Then just access http://127.0.0.1:8222 (or whatever port you specified) and VMware Server should be running smoothly.


Additional notes

Intel Virtualization Technology must be enabled to run 64 bit guest operating systems on Intel processors. On Lenovo T410 this seems to be disabled by default, so it needs to be enabled in BIOS setup.

Network proxy must be configured for yum and wget if you're installing inside corporate network.


Helpful links:

http://www.howtoforge.com/how-to-install-vmware-server-2-on-a-fedora-14-desktop-kernel-2.6.35
http://www.marcosorfila.com/site/vmware-server-202-on-ubuntu-1004
http://radu.cotescu.com/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/
http://www.marcosorfila.com/site/installing-older-versions-of-firefox-in-ubuntu-1004-64-bits/