Posts

Showing posts from 2018

WebLogic Message Unit-of-Order explanation

Example for UOE(Unit Of Order) Somebody enter in a web application (store) for buying a book and choose a book (M1= message number 1). After that, that person immediately cancel  that action (M2= message number 2). In this case the following things may happen:    1) MDB 1(Message Driven Beans 1) read the first message (M1) and start processing that message.    2) MDB2 (Message Driven Beans 2) read the second message (M2) and start processing that message.    3) For some reasons (MDB2 run faster than MDB1), MDB2 try to cancel that operation by sending a "DELETE" operation to the database,  but nothing happen, because MDB1 didn't "INSERT" that operation to the database.    4) MDB1 "INSERT" that operation to the database. At the end the book appears in the database as "INSERTED", so that book will be sent to the person who wanted it at the beginning (but is no longer needed). In order to avoid this problem, WebLogic in...

WebLogic Machine-Steps for enrolling a Nodemanager with a domain

A machine is a logical representation of the physical machine  (computer) that hosts one or more WebLogic Server instances. Oracle WebLogic Machine configuration: If you want to run Node Manager on a machine that does not host an Administration Server, as is typical in production environments. Create a machine configuration for each computer that runs a Node Manager process .  The machine configuration includes information about the listen address and port number that the Administration Server uses  to connect with the Node Manager process running on that machine . Here are the steps for enrolling a WebLogic Node Manager with a domain. For configuring the WebLogic Machine you have to go to the  Domain Structure / Environment /  Machines   and now choose a machine. Then click on Admin Server can communicate with the Node Manager on that machine.  In this case the Node Manager Status is "Reachable": The main c...

Oracle WebLogic Subdeployment

The JMS Module resources can be deployed on a particular JMS Server. Standalone queues or topics can only be targeted to a single JMS server . Whereas, connection factories, uniform distributed destinations (UDDs), and foreign servers can be targeted to one or more JMS servers, one or more server instances, or to a cluster. Therefore, standalone queues or topics cannot be associated with a subdeployment if other members of the subdeployment are targeted to multiple JMS servers. However, UDDs can be associated with such subdeployments since the purpose of UDDs is to distribute its members to multiple JMS servers in a domain. For this reason, in a WebLogic JMS Module we can define a  subdeployment . Each subdeployment has a particular target !!! To see the subdeployments we have for a JMS Module, we can open the WebLogic Administration Console, go to the  Domain Structure -> Services -> Messaging -> JMS Module . Click on a JMS Module and after that click ...

WebLogic Virtual Host and brief information

Virtual hosting  : It is the ability to run multiple web sites ( for instance www.google.com and www.google2.com) on a single web server.  Name-based virtual hosting implies that you map multiple domain names or logical hosts to the same IP address.  WebLogic Server allows you to create a virtual host for any number of different domain names. To configure the DNS server that the  www.google.com  and  www.google2.com  return the same IP address  The WebLogic instance you have to create 2 virtual hosts for the 2 sites and here is the   configuration page of a Virtual host. Monitor virtual hosts: To check status of a monitor virtual host: From the  WebLogic Domain  dropdown menu, select  Environment , then select  Virtual Hosts . The Virtual Hosts table displays information about each virtual host that has been configured in the current domain, including: Name Virtual Host Names Network Access Po...

Step-by-step guide for upgrading WebLogic 10.3.6 (11g) to 12.1.3 (12c):

Pre-Upgrade Steps: Backup Critical Data: Backup: Domain configurations ( DOMAIN_HOME ) Applications ( WAR/EAR/JAR  files) JDBC/JMS configurations Security files ( DefaultAuthenticatorInit.ldift ,  fileRealm.properties ) Keystores ( DemoIdentity.jks ,  DemoTrust.jks ) Check System Requirements Verify OS, JDK, and database compatibility with WebLogic 12.1.3: JDK : Oracle JDK 1.7+ (12.1.3 requires JDK 7/8) Disk Space : 2GB+ for installation RAM : 4GB+ (recommended) Install WebLogic 12.1.3 Download installer from Oracle. Run installation (silent/GUI mode): java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /path/response_file.rsp Set new  ORACLE_HOME  (e.g.,  /opt/oracle/wls1213 ) Upgrade Process: Domain Upgrade (Recommended) Run Upgrade Assistant Navigate to  ORACLE_HOME/oracle_common/upgrade/bin  and execute: ./ua.sh Select  "WebLogic Domain"  → Choose 10.3.6 domain directory. Review Upgrade Tasks The tool detects config changes and ...

Configuration Steps for the WEBLOGIC DOMAIN

STEP 1: CREATE THE WEBLOGIC DOMAIN WebLogic domain will require the following to configure • Machine 1 • Admin Server* • Managed Server 1 • Machine 2 • Managed Server 2 • Each WebLogic machine must be point to a unique running Node Manager instance . • Each Managed Server must use a floating IP address for the host name. The floating IP address  for Managed Server 1 & 2 must be unique. • The Admin Server must have IP address for the host name if the manual Admin Server Migration support is required. STEP 2: SETUP THE NODE MANAGER T he nodemanager.properties file for each Node Manager instance must be updated to indicate the  netmask and network device name (interface) to be used throughout the server migratable cluster. Below is an example of the specific Node Manager properties that are required for server migration  configuration. Sample Node Manager properties: Interface=eth0 NetMask=255.255.255.0 UseMACBroadcast=true...

Basics- Oracle Access Manager (OAM), Oracle Identity Manager (OIM)

Oracle Access Manager (OAM) Oracle Access Manager is a J2EE application typically deployed on a dedicated managed server in a Weblogic (Application Server) clustered environment. An enterprise typically has many applications for different purposes. Each application typically has its own authentication and authorization functionality.  All resource grants in an enterprise in OAM have  multiple applications exist on different platform. OAM provides: Single Sign On (SSO) Authentication Authorization Real time session management Auditing Policy Administration Effective Security Cost Inconsistence Security Complainces Ease for users (Single Sign On) Governance, Support and Management OIM does life cycle management of an identity (generally a user, e.g employee). OIM server is a J2EE application. User provisioning is done in OIM. The OIM integrates this with all the other applications. All application have their *own* authentication and autho...

Oracle WebCenter Portal 12c (12.2.1) – Installation

Steps for installation: Linux 6.7 64 Bit Virtual Machine Oracle Database 12.2.0.4 Oracle Fusion Middleware Infrastructure 12.2.1.0 Oracle Webcenter Portal 12.2.1 Java Development Kit (JDK) 1.8 set JAVA_HOME & JAVA executable is added to PATH environment variable. Navigate to software directory and execute infrastructure installer using JAR Click Next on the Welcome screen Select Skip Auto Updates and click Next Provide Middleware Home path and click Next /u01/app/oracle/product/fmw Select Fusion Middleware Infrastructure and click Next Make sure prerequisites are met and click Next uncheck Security Updates and click Next Click Yes on the confirmation screen Click Install in Installation Summary Screen Make sure all installation steps are successful and click Next Click Finish on the Installation Summary screen Navigate to software directory and execute WebCenter Portal installer using Java Click Next o...

Oracle Identity Management (OID) 11.1.1.7 Installation & Configuration

Image
In this post I will cover the installation & configuration of Oracle Identity Management / Oracle Internet Directory step-by-step. The environment & software I am using: Oracle Linux 6.7 64Bit Virtual Machine Oracle Identity Management 11.1.1.7 Installer Oracle Weblogic Server 10.3.6 Oracle Database 11.2.0.4 (for ODS schema) Repository Creation Utility (11.1.1.7 or higher) JDK 1.8 I have pre-built Oracle Linux 6.6 64Bit along with Oracle Database 11.2.0.4 installation and not covering that part here. Database Pre-requisites 1.Connect to the database as SYS. 2. Set OPEN_CURSORS to 500. (If you are planning to use the same database for Oracle Identity & Access Management, make it 800) alter system set open_cursors=500 scope=both; 3. Set PROCESSES to 500 alter system set processes=500 scope=spfile; 4. If you are running database 11.2.0.4, please grant execute privileges on DBMS_REPUTIL to public. grant execute on DBMS_REPUTIL to public; Operati...