Make sure enviroment is setup:
-
cd /export/home/awlsdev/middleware/Oracle_SOA1/common/bin
-
./wlst.sh
Exit
-
exit()
Connect to admin server
-
connect('weblogic','weblogic1','t3://devsoavip1.ad.ic.ac.uk:7001')
Export Metadata
-
exportMetadata(application='soa-infra', server='WLS_SOA1',toLocation='/export/home/awlsdev/rjmtmp/soainfra', docs='/**')
Create detailed thread dump
-
cd /export/home/awlsdev/middleware/Oracle_SOA1/common/bin
-
./wlst.sh
-
connect('weblogic','weblogic1','t3://devsoavip1.ad.ic.ac.uk:7001')
-
executeDump(name="jvm.threads", outputFile="/export/home/awlsdev/rjmthreaddumps/001_WLS_SOA2.txt", args={'context' : 'true', 'timing' : 'true'},server="WLS_SOA2")
-
exit()
Un deploying composite when SOA-INFRA is down
Deploy https://storage.googleapis.com/google-code-archive-downloads/v2/code.go… to the SOA cluster.
Make tmp directory
-
mkdir /export/home/awlsdev/rjmtmp
Launch wlst
-
cd /export/home/awlsdev/middleware/oracle_common/bin
-
./wlst.sh
Connect to SOA Server:
-
connect('weblogic','weblogic1','t3://devsoavip2.ad.ic.ac.uk:8001')
Export meta data
-
exportMetadata(application='ShareSoaInfraPartition',server='AdminServer',toLocation='/export/home/awlsdev/rjmtmp',docs='/deployed-composites/deployed-composites.xml')
Change output deployed-composites file to remove composite.
Import meta data
-
importMetadata(application='ShareSoaInfraPartition',server='AdminServer',fromLocation='/export/home/awlsdev/rjmtmp',docs='/deployed-composites/deployed-composites.xml')
Restart (and remove tmp directories)
Locations of wlst in enviroments
(find | grep wlst.sh helps)
Oracle Taining SOA_12.1.3.0.1_OTN VM
-
/u01/fmw/soa/mft/common/bin/wlst.sh
-
/u01/fmw/soa/soa/common/bin/wlst.sh
-
/u01/fmw/soa/wlserver/common/bin/wlst.sh
-
/u01/fmw/soa/osb/tools/configjar/wlst.sh
-
/u01/fmw/soa/oracle_common/common/bin/wlst.sh
-
/u01/fmw/apim/wlserver/common/bin/wlst.sh
-
/u01/fmw/apim/osb/common/bin/wlst.sh
-
/u01/fmw/apim/osb/tools/configjar/wlst.sh
-
/u01/fmw/apim/oracle_common/common/bin/wlst.sh
Run using sh
Importing policy to integrated server
https://docs.oracle.com/middleware/1212/core/FCCCR/custom_webservices.h…
-
connect(url='t3://localhost:7101')
-
importWSMArchive('OutboundSecurityPolicy.zip')
Command Resourses
https://docs.oracle.com/cd/E17904_01/web.1111/e13813/custom_soa.htm#WLS…
Google Juice
Weblogic scripting tool
metadata
RJM Article Type
Quick Reference