Setup Standalone Weblogic 12.2.
1 for Production
Sources required
1. JDK 1.8
2. Weblogic 12.2.1.0.0
3. FMW Infrastructure (ADF Runtime)
Setup JDK 8
Double click on the jdk .exe file and setup jdk on the path has no space as
Do the same in JRE as
Setup weblogic 12.2.1
- Open cmd and write this:
<jdk-path>/bin/java.exe –D64 –jar <path to wls jar file>
For example:
C:\Java\jdk1.8.0_74\bin\java.exe –D64 –jar C:\12c_sources\fmw_12.2.1.0.0_wls.jar
- Follow the following screen shots to setup Weblogic 12c
Setup FMW Infrastructure
- Open cmd and write this:
<jdk-path>/bin/java.exe –jar <path to jar file>
For example:
C:\Java\jdk1.8.0_74\bin\java.exe –jar C:\12c_sources\fmw_12.2.1.0.0_infrastructure.jar
- Setup infrastructure on the created Middleware folder as shown on these screenshots
Create Repository Configuration Utility (RCU)
- You should know database connection information with sys user before start setup RCU.
- Open cmd and run “rcu.bat” located on this path (<Middleware
Home>/oracle_common/bin)
For example:
C:\Oracle\Middleware12.2.1\oracle_common\bin\rcu.bat
- Follow these screenshots to setup RCU
These schema owner will be used when you create weblogic domain.
Create Weblogic Domain
- Open cmd and run <Middleware_Home>\wlserver\common\bin\config.cmd
For example:
C:\Oracle\Middleware12.2.1\wlserver\common\bin\config.cmd
- Follow these screenshots to create the domain:
Run and Configure the domain
- Run this command to run
AdminServer<Middleware_Home>\user_projects\domains\<domain_name>\bin\startWebL
ogic.cmd
For example:
C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\bin\startWebLogic.cmd
- After successfully running the AdminServer open the browser and open the console from
this urlhttp://serverIp:port/console
For example:
http://weblogic12:7001/console
- From the browser create a ManagedServer and after creating the managed server the JRF
libraries automatically will applied to the server so no need to go to em to apply
JRFTemplate anymore
- Create a Machine and add AdminServer and ManagedServer to this machine
- Install Node Manager services by invoking
<Milddleware_Home>\user_projects\domains\<domain_name>\bin\installNodeMgrSvc.cm
d
For example:
C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\bin\installNodeMgrSvc.c
md
- You can configure node manager from nodemanager.properties file. You can find this file in
this path:
<Middleware_Home>\user_projects\domains\<domain_name>\nodemanager
For example:
C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\nodemanager
Note: if you make any changes in nodemanager.properties file you have to restart node
manager services.
- Shutdown AdminServer and ManagedServer.
- To increase the ManagedServer memory, you can open setStartupEnv.cmdfile from this
path:
<Middleware_Home>\user_projects\domains\<domain_name>\bin\
For example:
C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\bin\
In the section if "%STARTUP_GROUP%"=="“ you can configure memory as
- Run AdminServer and ManagedServer using node manager as:
Run wlst.cmd from <Middleware_Home>\wlserver\common\bin\wlst.cmd
Connect to node manager using this command
nmConnect('weblogic','<weblogic_password>','<node_manager_ip>','<node_manag
er_port>','<domain_name>','<domain_path>','ssl')
For example:
nmConnect('weblogic','weblogic1','localhost','5556','ADFDomain','C:\Oracle\Middle
ware12.2.1\user_projects\domains\ADFDomain ','ssl')
Start AdminServer using this command:
nmStart('AdminServer')
Start ManagedServer using this command:
nmStart('<ManagedServerName>') as
nmStart('ADFServer')