Thursday, September 24, 2020

Domain Info

  

To install weblogic in 64-bit version

To install 64-bit version in GUI mode:

java –jar ./wls1036_generic.jar

To install 64-bit version in console mode:

java –jar ./wls1036_generic.jar -mode=console

To install 64-bit version in silent mode:

java –jar ./wls1036_generic.jar -mode=silent -silent_xml=silent.xml

How to start Managed server:

Open cmd prompt navigate to 
E:Oracle_MadhaviMiddlewareuser_projectsdomainsbase_domainbin> 
startMangedWeblogic.cmd ms1 t3://192.168.1.2:7001

Creating machines:
Machine is logical representation of physical machine.

We will assign managed servers with Machines. Once we assign the managed servers with the machine we can start and stop the servers through administration console.

Each machine is having one node manager.

Node manager is a java service .it will start and stop and monitoring the servers under that machine.

Nodemanger default port is 5556

New machine creation :
Click “Machine” in Domain structure. Then click “New”
Enter new machine details such as Name, click “Next”

Providing the Node Manager Properties:
Default Node manager Listen Port: 5556. Click “Finish”

New machine successfully created.
Click on machine1
Setting of machine1 appears.
Navigate to servers.
Click “Add” and select managed server (ms1). Click on finish
Navigate to servers try to start server.
Giving error as Node manager is not reachable, so needs to start node manager service.

Navigate to Machine->m1->Monitoring.
Node manager status showing “Inactive”.
When node-manger is inactive need to start the node-manager.

To start nodemanger
Navigate to weblogic_homeserverbin>startNodeManger.cmd <nodemanger hostname> <nodemanger portnumber>
Eg : Startnodemagner.cmd  192.******.46

It saying already in use JVM_BIND means port is using already

Navigate to “Services.msc” in command prompt and already one Nodemanger service is running.

Stop the service and run Nodemanger through cmd prompt again.
Now it’s in “Reachable” mode.

Creating Nodemanger service:
Navigate to weblogic_home/server/bin> run installNodeMgrSvc.cmd
Navigate to serversàcontrol àstart the ms
Managed server is in Starting mode

After few minutes its changed to “Running” mode.

To Populate Line Number in 12C:
Tools-preference- code Editor –Line Gutter – check show line numbers–Ok

Increase JDeveloperPermMemory Size:
C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\bin ->jdev.conf
Modify the MaxPermSize value to 784M  (320M) – Save

EM: localhost:localhost:7101/em/
Listen Port- 7101
SSL listen Port- 7102
Port can be different according to the domain configuration.

Disable Secure Sockets Layer
SSL is enabled by default in the Integrated Weblogic Server. 
S1- Login to console  localhost:7101/console
S2- click Environment – Servers – DefaultServer(admin)
S3- Deselect SSL listen Port Enabled
S4-save
S5-restart Server.

Notes:
Every domain has their own port.
At a time, we can start one domain server.
While configure domain we can select SOA,OSB..etc .
admin server: delete cache and temp
managed server: delete cache, temp, data.

Step to install BPM and SOA
S1- create RCU
S2- create domain (BPM,SOA,OSB)
S3- jdev

Unreadable data while testing from SOAP (while calling local server)
Soap->preference->HTTP Settings
Response compression: uncheck ->Accept compressed responses from hosts

RCU:
open C:\Oracle\Middleware\Oracle_Home\oracle_common\bin
run-> rcu or rcu.bat (rc->run as adminstrator)
in rcu cmd prompt move till
go through all wizard and finish.
localhost
1521
xe
sys
admin
sys
admin

Note:
 SOA 12c comes as standalone installer that means we need not to install Database, RCU, Weblogic , SOA and OSB installer separately. By default, Oracle SOA 12c use Java DB but we can also use Oracle Database.
Different types of domain in Oracle SOA 12c
Integrated WebLogic Server's default domain in JDeveloper:
http://www.soawork.com/2014/08/create-soa-12c-server-domain.html
Default domain is created on Integrated weblogic server which is chained to Jdeveloper that means when we close the jdeveloper session weblogic server also shut down. This integrated weblogic by default use Java DB so this default domain also use Java DB.

Configure a standalone domain
We can also create Standalone domain for Integrated WebLogic Server. The server and domain run independently of JDeveloper. This domain still use Java DB.

Benefits of standalone domain over default domain is, This will you save you startup time if you plan on developing an application in JDeveloper over a series of separate sessions. This will save you even more time if you plan to develop applications in the Oracle Service Bus browser-based console and never plan to launch JDeveloper.

Configure a compact domain
When we plan to use Oracle database then we use this domain. we use this domain when we need to use MFT (Managed File Transfer ), ESS (Enterprise Service Scheduler) , Healthcare , B2B, BAM components.

Default Database 
Oracle SOA 12c default installer comes with Java DB which is very light weight. so developer can use Java DB for SOA and OSB development but problem arises when we need to use MFT (Managed File Transfer) and ESS (Enterprise Service Scheduler), in the current version of SOA 12c Java DB does not support MFT and ESS so we need to install Oracle DB if we need to use MFT and ESS. Oracle XE 11g database is compatible with SOA 12c.

If you do not define JDEV_USER_DIR, your domain home and application home will be created at two different locations.

On a Windows host, the default domain home will be created at %USERPROFILE%\AppData\Roaming\JDeveloper\system12.2.1.x.x.x.xxxx\DefaultDomain. Your default application home will be created at C:\JDeveloper\mywork.

Quick Starts :
Quick starts are installation for development or evaluation only.
The generic SOA Suite Quick Start Installer for developers is used on all platforms. It allows you to quickly install a development or evaluation environment on a single host computer. It includes Oracle BPEL Process Manager, Oracle Human Workflow, Oracle Business Rules, Oracle Mediator, Oracle Service Bus, Technology Adapters Oracle Enterprise Scheduler, SOA Spring Component, Enterprise Manager Fusion Middleware Control, Oracle JDeveloper with SOA IDE extensions and an integrated WebLogic Server and Java DB.

Production Environment:
Install a full-scale development environment that can scaled to a production environment. 
In a production environment,it is specific about Managed Servers and clusters.
(OWSM) Oracle Web Service Manager to one cluster and Oracle Soa Suite to another cluster.

For example, if you are planning to configure a Oracle WebLogic Server domain with an Administration Server and two Managed Servers, then you could use the following formula to determine the minimum required available memory:

   3 GB for the operating system and other software
   3 GB for the Admin Server 
 + 6 GB for the two Managed Servers
--------------------------------------
  12 GB











No comments:

Post a Comment

SOA Overview Part-1

  Middleware It provides a mechanism for the process to interact with other processes running on multiple network machines. Advantages...