0% found this document useful (0 votes)
58 views17 pages

WLST

The document provides instructions for connecting to and managing Oracle WebLogic Server (WLS), Oracle HTTP Server (OHS), and Oracle Reports components using WLST (WebLogic Scripting Tool) for both new and old media. It includes commands for starting, stopping, and checking the status of various servers and components. The instructions are divided into sections based on the type of component (WLS, OHS, Reports) and whether they apply to new or old media.

Uploaded by

Fahad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views17 pages

WLST

The document provides instructions for connecting to and managing Oracle WebLogic Server (WLS), Oracle HTTP Server (OHS), and Oracle Reports components using WLST (WebLogic Scripting Tool) for both new and old media. It includes commands for starting, stopping, and checking the status of various servers and components. The instructions are divided into sections based on the type of component (WLS, OHS, Reports) and whether they apply to new or old media.

Uploaded by

Fahad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

WLST 5.

6 / 12c
Connect WLST (AdminServer)
Connect WLST (OHS)
Start / Stop OHS (New)
Start / Stop OHS (Old)
Start / Stop Admin Components (New)
Start / Stop Admin Components (Old)
Start / Stop Reports Server (New)
Drop Report Server component (New)
Re-Create Report Server component (New)
Drop Report Server component (Old)
Start / Stop Report Tools Component (New)
Drop Report Tools Component (New)
Drop Report Tools Component (Old)
Weblogic User Locked out due to incorrect entries

Enter values in respective columns to Search and Filter

Title / Tag Notes

Connect WLST For Adminserver / WLS / Components / Reports (New)

(AdminServer) Replace <CHANGEME1> with weblogic Password

Replace <CHANGEME2> with HOSTNAME/FQDN eg: DEN01UFU - Do not use Localhost

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect Nodemanager
nmConnect
('weblogic','Pa55w0rd','WFIVM03818','5558'
nmConnect ,'OperaDomain','D:
('weblogic','CHANGEME1','CHANGEME2','5558' \\ORA\\user_projects\\domains\\OperaDomain
,'OperaDomain','D: ','ssl')
\\ORA\\user_projects\\domains\\OperaDomain
','ssl')
Connect WLST For OHS (New)

(OHS) Replace <CHANGEME> with weblogic Password

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\12213ohs\
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect Nodemanager
nmConnect
('weblogic','Pa55w0rd','localhost','5559',
nmConnect 'OperaOHSDomain','D:
('weblogic','CHANGEME','localhost','5559', \ORA\user_projects\domains\OperaOHSDomain'
'OperaOHSDomain','D: ,'ssl')
\ORA\user_projects\domains\OperaOHSDomain'
,'ssl')

Start / Stop For NEW Media only 982706+

OHS (New) Replace <CHANGEME> with weblogic Password

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\12213ohs\
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager
nmConnect
('weblogic','Pa55w0rd','localhost','5559',
nmConnect 'OperaOHSDomain','D:
('weblogic','CHANGEME','localhost','5559', \ORA\user_projects\domains\OperaOHSDomain'
'OperaOHSDomain','D: ,'ssl')
\ORA\user_projects\domains\OperaOHSDomain'
,'ssl')

WLST Actions

--- Status
nmServerStatus(serverName='ohs1', serverType='OHS')

-- Start
nmStart(serverName='ohs1', serverType='OHS')

-- Stop/Kill
nmKill(serverName='ohs1', serverType='OHS')
Start / Stop For OLD Media only 982411

OHS (Old) Replace <CHANGEME> with weblogic Password

Command Example

Connect to WLST

# or (5.6.5 12c OLD Media only 982411)

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\12213ohs\
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.
security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2
-Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

or

cd D:\ORA\12213ohs\oracle_common\common\bin
call setWlstEnv.cmd
D:\ORA\JDK\bin\java -Dweblogic.security.SSL.ignoreHostnameVerification=true weblogic.WLST

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME','localhost','5559', ('weblogic','Pa55w0rd','localhost','5559',
'OperaOHSDomain','D: 'OperaOHSDomain','D:
\ORA\user_projects\domains\OperaOHSDomain' \ORA\user_projects\domains\OperaOHSDomain'
,'ssl') ,'ssl')

WLST Actions

--- Status
nmServerStatus(serverName='ohs1', serverType='OHS')

-- Start
nmStart(serverName='ohs1', serverType='OHS')

-- Stop/Kill
nmKill(serverName='ohs1', serverType='OHS')
Start / Stop For NEW Media only 982706+

Admin Replace <CHANGEME1> with weblogic Password


Components
Replace <CHANGEME2> with HOSTNAME/FQDN eg: DEN01UFU - Do not use Localhost
(New)
Replace <CHANGEME3> with Schema Name OPERA, TRAINING etc

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

WLST Actions WLST Actions

-- Status -- Status
nmServerStatus('AdminServer') nmServerStatus('AdminServer')
nmServerStatus('WLS_HOME') nmServerStatus('WLS_HOME')
nmServerStatus('WLS_FORMS') nmServerStatus('WLS_FORMS')
nmServerStatus('WLS_REPORTS') nmServerStatus('WLS_REPORTS')
nmServerStatus nmServerStatus
(serverName='rep<CHANGEME2><CHANGEME3>', (serverName='repWFIVM03818OPERA',
serverType='ReportsServerComponent') serverType='ReportsServerComponent')
nmServerStatus nmServerStatus
(serverName='reptools_<CHANGEME2>', (serverName='reptools_wfivm03818',
serverType='ReportsToolsComponent') serverType='ReportsToolsComponent')

-- Start -- Start
nmStart('AdminServer') nmStart('AdminServer')
nmStart('WLS_HOME') nmStart('WLS_HOME')
nmStart('WLS_FORMS') nmStart('WLS_FORMS')
nmStart('WLS_REPORTS') nmStart('WLS_REPORTS')
nmStart nmStart(serverName='repWFIVM03818OPERA',
(serverName='rep<CHANGEME2><CHANGEME3>', serverType='ReportsServerComponent')
serverType='ReportsServerComponent') nmStart(serverName='reptools_wfivm03818',
nmStart serverType='ReportsToolsComponent')
(serverName='reptools_<CHANGEME2>',
serverType='ReportsToolsComponent') -- Stop / Kill
nmKill(serverName='reptools_wfivm03818',
-- Stop / Kill serverType='ReportsToolsComponent')
nmKill(serverName='reptools_<CHANGEME2>', nmKill(serverName='repWFIVM03818OPERA',
serverType='ReportsToolsComponent') serverType='ReportsServerComponent')
nmKill nmKill('WLS_REPORTS')
(serverName='rep<CHANGEME2><CHANGEME3>', nmKill('WLS_FORMS')
serverType='ReportsServerComponent') nmKill('WLS_HOME')
nmKill('WLS_REPORTS') nmKill('AdminServer')
nmKill('WLS_FORMS')
nmKill('WLS_HOME')
nmKill('AdminServer')
Start / Stop For OLD Media only 982411

Admin Replace <CHANGEME1> with weblogic Password


Components
Replace <CHANGEME2> with HOSTNAME/FQDN eg: DEN01UFU - Do not use Localhost
(Old)
Replace <CHANGEME3> with Schema Name OPERA, TRAINING etc
Command Example

Connect to WLST

# For (5.6.5 12c OLD Media only 982411)

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.
security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2
-Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

WLST Actions WLST Action

-- Status -- Status
nmServerStatus('AdminServer') nmServerStatus('AdminServer')
nmServerStatus('WLS_HOME') nmServerStatus('WLS_HOME')
nmServerStatus('WLS_FORMS') nmServerStatus('WLS_FORMS')
nmServerStatus('WLS_REPORTS') nmServerStatus('WLS_REPORTS')
nmServerStatus(serverName = nmServerStatus(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType = 'repWFIVM03818OPERA', serverType =
'ReportsServerComponent') 'ReportsServerComponent')
nmServerStatus nmServerStatus
(serverName='rep<CHANGEME2><CHANGEME3>', (serverName='reptools_wfivm03818',
serverType='ReportsServerComponent') serverType='ReportsToolsComponent')

-- Start -- Start
nmStart('AdminServer') nmStart('AdminServer')
nmStart('WLS_HOME') nmStart('WLS_HOME')
nmStart('WLS_FORMS') nmStart('WLS_FORMS')
nmStart('WLS_REPORTS') nmStart('WLS_REPORTS')
nmStart(serverName = nmStart(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType = 'repWFIVM03818OPERA', serverType =
'ReportsServerComponent') 'ReportsServerComponent')
nmStart nmStart(serverName='reptools_wfivm03818',
(serverName='rep<CHANGEME2><CHANGEME3>', serverType='ReportsToolsComponent')
serverType='ReportsServerComponent')
-- Stop / Kill
-- Stop / Kill nmKill(serverName='reptools_wfivm03818',
nmKill serverType='ReportsToolsComponent')
(serverName='rep<CHANGEME2><CHANGEME3>', nmKill(serverName = 'repWFIVM03818OPERA',
serverType='ReportsServerComponent') serverType = 'ReportsServerComponent')
nmKill(serverName = nmKill('WLS_REPORTS')
'rep<CHANGEME2><CHANGEME3>', serverType = nmKill('WLS_FORMS')
'ReportsServerComponent') nmKill('WLS_HOME')
nmKill('WLS_REPORTS') nmKill('AdminServer')
nmKill('WLS_FORMS')
nmKill('WLS_HOME')
nmKill('AdminServer')
Start / Stop New Media ONLY

Reports Replace <CHANGEME1> with weblogic Password


Server (New)
Replace <CHANGEME2> with HOSTNAME/FQDN eg: DEN01UFU - Do not use Localhost

Replace <CHANGEME3> with Schemaname eg: OPERA or TRAINING

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

WLST Actions WLST Actions

-- Status -- Status
nmServerStatus(serverName = nmServerStatus(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType = 'repWFIVM03818OPERA', serverType =
'ReportsServerComponent') 'ReportsServerComponent')
nmServerStatus nmServerStatus
(serverName='rep<CHANGEME2><CHANGEME3>', (serverName='reptools_wfivm03818',
serverType='ReportsServerComponent') serverType='ReportsToolsComponent')

-- Start -- Start
nmStart(serverName = nmStart(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType = 'repWFIVM03818OPERA', serverType =
'ReportsServerComponent') 'ReportsServerComponent')
nmStart nmStart(serverName='reptools_wfivm03818',
(serverName='rep<CHANGEME2><CHANGEME3>', serverType='ReportsToolsComponent')
serverType='ReportsServerComponent')
-- Stop / Kill
-- Stop / Kill nmKill(serverName='reptools_wfivm03818',
nmKill serverType='ReportsToolsComponent')
(serverName='rep<CHANGEME2><CHANGEME3>', nmKill(serverName = 'repWFIVM03818OPERA',
serverType='ReportsServerComponent') serverType = 'ReportsServerComponent')
nmKill(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType =
'ReportsServerComponent')
Drop Report New Media ONLY

Server Stop Reports Service First if it is running.


component
Replace <CHANGEME1> with weblogic Password
(New)
Replace <CHANGEME2> with HOSTNAME eg: t3s://CHANGEME2:7042 = t3s://WFIVM03818:7042

Replace <CHANGEME3> with HOSTNAME eg: DEN01UFU

Replace <CHANGEME4> with Schemaname eg: OPERA or TRAINING

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

Connect Weblogic Connect Weblogic

connect connect
('weblogic','CHANGEME1','t3s://CHANGEME2: ('weblogic','Pa55w0rd','t3s://WFIVM03818:
7042') 7042')

WLST Actions WLST Actions

deleteReportsServerInstance deleteReportsServerInstance
(instanceName='rep<CHANGEME3><CHANGEME4>') (instanceName='repWFIVM03818OPERA')
Re-Create New Media ONLY

Report Server Stop Reports Service First if it is running.


component
Drop the reports server component first (see above)
(New)
Replace <CHANGEME1> with weblogic Password

Replace <CHANGEME2> with HOSTNAME eg: t3s://CHANGEME2:7042 = t3s://WFIVM03818:7042

Replace <CHANGEME3> with HOSTNAME eg: DEN01UFU

Replace <CHANGEME4> with Schemaname eg: OPERA or TRAINING

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

Connect Weblogic Connect Weblogic

connect connect
('weblogic','CHANGEME1','t3s://CHANGEME2: ('weblogic','Pa55w0rd','t3s://WFIVM03818:
7042') 7042')

WLST Actions WLST Actions

createReportsServerInstance createReportsServerInstance
(instanceName='rep<CHANGEME3><CHANGEME4>', (instanceName='repWFIVM03818OPERA',
machine='<CHANGEME2>') machine='WFIVM03818')

Further actions required

Validate the RWSERVER.conf and if possible compare settings with OLD to accomodate new Like NLS, tweaks etc
Drop Report OLD Media ONLY

Server Stop Reports Service First if it is running.


component (Ol
Replace <CHANGEME1> with weblogic Password
d)
Replace <CHANGEME2> with localhost

Replace <CHANGEME3> with HOSTNAME eg: DEN01UFU

Replace <CHANGEME4> with Schemaname eg: OPERA or TRAINING

Command Example

Connect to WLST

# For (5.6.5 12c OLD Media only 982411)

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.
security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2
-Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

Connect Weblogic Connect Weblogic

connect connect
('weblogic','CHANGEME1','localhost', ('weblogic','Pa55w0rd','localhost',
'localhost:7041') 'localhost:7041')

WLST Actions WLST Actions

deleteReportsServerInstance deleteReportsServerInstance
(instanceName='rep<CHANGEME3><CHANGEME4>') (instanceName='repWFIVM03818OPERA')
Start / Stop New Media ONLY

Report Tools Replace <CHANGEME1> with weblogic Password


Component
Replace <CHANGEME2> with HOSTNAME/FQDN eg: DEN01UFU - Do not use Localhost
(New)
Replace <CHANGEME3> with Schemaname eg: OPERA or TRAINING

Command Example

Connect to WLST

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

WLST Actions WLST Actions

-- Status -- Status
nmServerStatus(serverName = nmServerStatus(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType = 'repWFIVM03818OPERA', serverType =
'ReportsServerComponent') 'ReportsServerComponent')
nmServerStatus nmServerStatus
(serverName='rep<CHANGEME2><CHANGEME3>', (serverName='reptools_wfivm03818',
serverType='ReportsServerComponent') serverType='ReportsToolsComponent')

-- Start -- Start
nmStart(serverName = nmStart(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType = 'repWFIVM03818OPERA', serverType =
'ReportsServerComponent') 'ReportsServerComponent')
nmStart nmStart(serverName='reptools_wfivm03818',
(serverName='rep<CHANGEME2><CHANGEME3>', serverType='ReportsToolsComponent')
serverType='ReportsServerComponent')
-- Stop / Kill
-- Stop / Kill nmKill(serverName='reptools_wfivm03818',
nmKill serverType='ReportsToolsComponent')
(serverName='rep<CHANGEME2><CHANGEME3>', nmKill(serverName = 'repWFIVM03818OPERA',
serverType='ReportsServerComponent') serverType = 'ReportsServerComponent')
nmKill(serverName =
'rep<CHANGEME2><CHANGEME3>', serverType =
'ReportsServerComponent')
Drop Report
Tools NEW Media ONLY
Component
Stop Reports Service First if it is running.
(New)
Replace <CHANGEME1> with weblogic Password

Replace <CHANGEME2> with HOSTNAME eg DEN01UFU

Command Example

Connect to WLST

# For (5.6.5 12c OLD Media only 982411)

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.
security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2
-Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

Connect Weblogic Connect Weblogic

connect
('weblogic','CHANGEME1','t3s://CHANGEME2:
7042') connect
('weblogic','Pa55w0rd','t3s://WFIVM03818:
7042')

WLST Actions WLST Actions

deleteReportsToolsInstance deleteReportsToolsInstance
(instanceName='reptools_CHANGEME2') (instanceName='reptools_WFIVM03818')
Drop Report
Tools OLD Media ONLY
Component (Ol
Stop Reports Service First if it is running.
d)
Replace <CHANGEME1> with weblogic Password

Replace <CHANGEME2> with HOSTNAME eg DEN01UFU

Command Example

Connect to WLST

# For (5.6.5 12c OLD Media only 982411)

set FMW_HOME=D:\ORA\MWFR\12cappr2
set ORACLE_HOME=D:\ORA\MWFR\12cappr2
cd /D %ORACLE_HOME%\Oracle_Common\common\bin
set WLST_PROPERTIES= -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.
security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2
-Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.SSL.
ignoreHostnameVerification=true
wlst.cmd

Connect to Nodemanager Connect to Nodemanager

nmConnect nmConnect
('weblogic','CHANGEME1','CHANGEME2','5558' ('weblogic','Pa55w0rd','WFIVM03818','5558'
,'OperaDomain','D: ,'OperaDomain','D:
\\ORA\\user_projects\\domains\\OperaDomain \\ORA\\user_projects\\domains\\OperaDomain
','ssl') ','ssl')

Connect Weblogic Connect Weblogic

connect connect
('weblogic','CHANGEME1','localhost', ('weblogic','Pa55w0rd','localhost',
'localhost:7041') 'localhost:7041')

WLST Actions WLST Actions

deleteReportsToolsInstance deleteReportsToolsInstance
(instanceName='reptools_CHANGEME2') (instanceName='reptools_WFIVM03818')

Weblogic User When trying to log into weblogic console or fusion console weblogic user can get locked out after 5 attempts.

Locked out It will "Automatically" unlock after 30 minutes of no activity or attempts.


due to
when connecting to weblogic via admin console web will show:
incorrect
entries When trying to log into weblogic console or fusion console weblogic user can get locked out after 5 attempts.

It will "Automatically" unlock after 30 minutes of no activity or attempts.

when connecting to weblogic via admin console web will show:


or

Admin Log will show:

Alternatively, you can use WLST to unlock.

Command Example

Connect to WLST and Connect to Node Manager - Update CHANGEME1 to weblogc Password and CHAN Connect to
GEME2 to Hostname WLST and
Connect to
Node
set FMW_HOME=D:\ORA\MWFR\12cappr2
Manager -
set ORACLE_HOME=D:\ORA\MWFR\12cappr2 Update
cd /D %ORACLE_HOME%\Oracle_Common\common\bin CHANGEM
set WLST_PROPERTIES= -Dweblogic.security.SSL.enableJSSE=true -Dweblogic. E to
security.SSL.ignoreHostnameVerification=true weblogc
wlst.cmd Password
and
nmConnect('weblogic','CHANGEME1','CHANGEME2','5558','OperaDomain','D: CHANGEM
E2 to
\\ORA\\user_projects\\domains\\OperaDomain','ssl')
HOSTNAME
set
FMW_HOM
E=D:
\ORA\MW
FR\12ca
ppr2
set
ORACLE_
HOME=D:
\ORA\MW
FR\12ca
ppr2
cd /D %
ORACLE_
HOME%
\Oracle
_Common
\common
\bin
set
WLST_PR
OPERTIE
S= -
Dweblog
ic.
securit
y.SSL.
enableJ
SSE=tru
e -
Dweblog
ic.
securit
y.SSL.
ignoreH
ostname
Verific
ation=t
rue
wlst.
cmd

nmConne
ct
('weblo
gic','P
a55w0rd
','WFIV
M03818'
,'5558'
,'Opera
Domain'
,'D:
\\ORA\\
user_pr
ojects\
\domain
s\\Oper
aDomain
','ssl'
)
Connect to NodeManager - Update CHANGEME to weblogic Password / CHANGEME2 to Hostname Connet to
NodeManag
er - Update
user='weblogic'
CHANGEM
connect('weblogic','CHANGEME','t3s://CHANGEME2:7042')
E to
serverRuntime() weblogic
dr = cmo.getServerSecurityRuntime().getDefaultRealmRuntime() Passwrd / C
ulmr = dr.getUserLockoutManagerRuntime() HANGEME2
print ulmr to Hostname

user='w
eblogic
'
connect
('weblo
gic','P
a55w0rd
','t3s:
//wfivm
03818:
7042')
serverR
untime(
)
dr =
cmo.
getServ
erSecur
ityRunt
ime().
getDefa
ultReal
mRuntim
e()
ulmr =
dr.
getUser
Lockout
Manager
Runtime
()
print
ulmr
Verify Status if status is 0 it is unlocked - if status is 1 it is locked

## if status shows 0 then account is locked ##

ulmr.isLockedOut(user)

Unlock the user and check status again

ensure status is 0

## unlock user ##

ulmr.clearLockout(user)

## Check Status ##

ulmr.isLockedOut(user)

Now use the weblogic console to log back in again.

if all OK - exit WLST

disconnect()
exit()

You might also like