Skip to main content

Posts

WebLogic Server 12c RESTful Management Services

         WebLogic Server (WLS) 12c  delivers over 200 new features and enhancements.  With 12c, Oracle extended the  WebLogic Management Framework  with a set of  RESTful management services .  These services provide a light-weight and flexible interface for monitoring WebLogic Server.  In this post, I will describe how to use this interface. In 12c, Oracle added   REST  interface for managing WLS resources.  In 12.1.2, this interface allows administrators to monitor WLS resources (servers, clusters, applications, datasources) in any environment where a basic HTTP library is available for communicating with WebLogic admin server, and a DOM or JSON library exists for handling request/response messages. Enable RESTful Management Services? Go to your  Domain -> Configuration -> General -> Advanced -> Enable RESTful Management Services After enabli...
Recent posts

Apache’s open source Derby database to create a database instance For Weblogic Testing sample applications

Step:1 Go To below location for starting network server E:\Middleware\Oracle_Home\wlserver\common\derby\bin>startNetworkServer Step:2 To start the interactive shell for derby Database go to below path and start the interactive shell and execute below commands E:\Middleware\Oracle_Home\wlserver\common\derby\lib>java -jar derbyrun.jar ij ij version 10.11 ij> CONNECT 'jdbc:derby://localhost:1527/demodb;create=true'; ij> exit; step:3 We need to use derby database drivers for connecting weblogic servers. So manually we need to copy the derbyclient.jar file into domain home lib directory like below screenshots. step:4 We need to restart the weblogic admin server and check derby driver loaded (or) not check like below screenshot. Step:5 for creating and testing derby database on weblogic admin console olease find below attached screenshots for reference. Note: For creating derby database no need to user username and passwo...

Avoid password prompt when using startComponent.sh to start OHS 12c

Step:1 Start Ohs With Password Prompt F:\OHS\user_projects\domains\base_domain\bin>startComponent.cmd ohs1 Starting system Component ohs1 ... Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Reading domain from F:/OHS/user_projects/domains/base_domain Please enter Node Manager password: Connecting to Node Manager ... Successfully Connected to Node Manager. Starting server ohs1 ... Successfully started server ohs1 ... Successfully disconnected from Node Manager. Exiting WebLogic Scripting Tool. Done Step:2 Store the password for avoid ohs password F:\OHS\user_projects\domains\base_domain\bin>startComponent.cmd ohs1 storeUserConfig Starting system Component ohs1 ... Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Reading domain from F:/OHS/u...

Multiple Oracle HTTP Server Instances Creation 12c in a Standalone Domain Through Wlst

Step:1 Stop the Node Manager F:\OHS\user_projects\domains\base_domain\bin>stopNodeManager.cmd                                     Stopping System Component ohs1 ... Step:2   Invoke WLST offline F:\OHS\oracle_common\common\bin>wlst.cmd Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/offline> Step:3 Create Second OHS Instance Throgh WLST F:\OHS\oracle_common\common\bin>wlst.cmd Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/offline> readDomain('F:/OHS/user_projects/domains/base_domain') wls:/offline/base_domain>cd('/') wls:/offline/base_domain...

Node Manager Username and Password for Oracle HTTP Server 12c in a Standalone Domain

Start the Ohs Instance for 12C F:\OHS\user_projects\domains\base_domain\bin>stopComponent.cmd ohs1 Step:1 Stop the OHS component F:\OHS\user_projects\domains\base_domain\bin>stopComponent.cmd ohs1 Stopping System Component ohs1 ... Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Reading domain from F:/OHS/user_projects/domains/base_domain Please enter Node Manager password: Connecting to Node Manager ... Successfully Connected to Node Manager. Killing server ohs1 ... Successfully killed server ohs1 Successfully disconnected from Node Manager. Exiting WebLogic Scripting Tool. Done Step:2   Invoke WLST offline F:\OHS\oracle_common\common\bin>wlst.cmd Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/offline> Step:3 Conne...

Oracle WebLogic Server Version Finding Ways

1. We can determine weblogic server version using registry.xml file: Location in WLS 12.2.1.3: $ORACLE_HOME/inventory/registry.xml <distribution status="installed" name="WebLogic Server" version="12.2.1.3.0"> e.g. /u02/oracle12213/oracle_home/middleware/inventory/registry.xml <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?> <registry home="/u02/oracle12213/oracle_home/middleware" platform="226" sessions="5" xmlns:ns2="http://xmlns.oracle.com/cie/gdr/dei" xmlns:ns3="http://xmlns.oracle.com/ cie/gdr/nfo" xmlns="http://xmlns.oracle.com/cie/gdr/rgy">    <distributions>       <distribution status="installed" name="WebLogic Server" version="12.2.1.3.0">          <sessions>             <session id="1" date="2017-10-21T17:53:51.433+05:30" action="install"/>          ...

oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl buildIoException SEVERE: Failed to start the server ohs1 In New Installation of FMW 12.2.1.3 on Windows Server

Problem Summery: When we are trying start OHS instance it's failing with an error. Error: 29 Mar, 2018 10:30:22 PM IST> <INFO> <Server Implementation Class: weblogic.nodemanager.server.NMServer$ClassicServer.> <29 Mar, 2018 10:30:23 PM IST> <INFO> <Secure socket listener started on port 5556> <29 Mar, 2018 10:30:54 PM IST> <INFO> <base_domain> <ohs1> <Creating directory "F:\OHS\user_projects\domains\base_domain\system_components\OHS\ohs1\data\nodemanager"> Mar 29, 2018 10:30:54 PM oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl start INFO: Starting server ohs1 Mar 29, 2018 10:30:55 PM oracle.ohs.plugin.nodemanager.OhsRunCommand execute INFO: Running F:\OHS\ohs\bin\launch.exe F:\OHS\ohs\bin\httpd.exe -DOHS_MPM_WINNT -d F:/OHS/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1 -f F:\OHS\user_projects\doma ins\base_domain\config\fmwconfig\c...