Oracle WebLogic 14c on Windows User Guide
Overview
This guide covers the deployment and configuration of Oracle WebLogic Server 14c (14.1.2.0.0) on Windows Server using cloudimg AMIs from the AWS Marketplace.
What's included in this AMI:
- Oracle WebLogic Server 14c (14.1.2.0.0) with Java EE 8 support
- Oracle JDK 11 LTS
- Pre-configured WebLogic domain with Admin Server on port 7001
- Web-based Administration Console at /console
- Scheduled Task for automatic startup at boot
- Oracle software installed on separate D: drive (20GB EBS volume)
- AWS CLI, Systems Manager Agent, and CloudWatch Agent
Supported Operating Systems: Windows Server 2022, Windows Server 2019
Prerequisites
Before launching this AMI, ensure you have:
- An active AWS account
- An active subscription to the Oracle WebLogic 14c on Windows listing on AWS Marketplace
- An RDP client (Remote Desktop Connection) on your local machine
- Familiarity with EC2 instance management
Recommended Instance Type: m5.large (2 vCPU, 8 GB RAM) or larger for production workloads.
Step 1: Launch the AMI
- Navigate to the AWS Marketplace and search for "Oracle WebLogic 14c Windows cloudimg"
- Click Continue to Subscribe, accept the terms, then Continue to Configuration
- Select your preferred Region and Software Version (Windows Server 2022 or 2019)
- Click Continue to Launch
- Choose Launch through EC2 for full control over instance configuration
- Select your instance type (
m5.largerecommended) - Configure your Security Group with the following inbound rules:
| Port | Protocol | Source | Purpose |
|---|---|---|---|
| 3389 | TCP | Your IP | RDP access |
| 7001 | TCP | Your IP | WebLogic Admin Console / REST API |
| 7002 | TCP | Your IP | WebLogic Server (SSL) |
Important: Restrict all ports to your IP address only. Do not open these to 0.0.0.0/0.
Step 2: Connect via RDP
- In the EC2 console, select your instance and click Connect
- Choose the RDP client tab
- Click Get password and upload your key pair (.pem file) to decrypt the Administrator password
- Download the Remote Desktop file or note the Public DNS
- Open your RDP client and connect using:
- Computer: Your instance's Public IP or DNS
- Username:
Administrator - Password: The decrypted password from the EC2 console
Alternatively, use SSM Session Manager for console access without opening port 3389:
https://us-east-1.console.aws.amazon.com/systems-manager/session-manager/<instance-id>?region=us-east-1
Step 3: Retrieve WebLogic Credentials
The WebLogic admin password is unique to each AMI instance. To retrieve it, open a Command Prompt or PowerShell window and run:
type C:\CREDENTIALS.txt
- Username:
weblogic - Password: (unique per instance, see C:\CREDENTIALS.txt)
Important: Change the password after first use. See the Security Hardening section below.
Step 4: Verify the Installation
Open PowerShell and verify the WebLogic installation:
# Check JDK version
& "$env:JAVA_HOME\bin\java.exe" -version
# Check WebLogic home exists
Test-Path D:\Oracle\Middleware\wlserver\server\bin\setWLSEnv.cmd
# Check domain exists
Test-Path D:\Oracle\Middleware\user_projects\domains\base_domain\config\config.xml
# Check scheduled task
Get-ScheduledTask -TaskName OracleWebLogicServer | Select TaskName, State
# Check D: drive
Get-Volume -DriveLetter D
Step 5: Start WebLogic Server
WebLogic is configured to start automatically at boot via a Scheduled Task. To start it manually:
Start-ScheduledTask -TaskName OracleWebLogicServer
Wait approximately 60 to 90 seconds for the server to start. You can verify it's running:
# Check the scheduled task state
Get-ScheduledTask -TaskName OracleWebLogicServer | Select State
# Test the REST API
$cred = Get-Content C:\CREDENTIALS.txt | Select-String "Password" | ForEach-Object { ($_ -split ": ")[1] }
curl.exe -u "weblogic:$cred" http://localhost:7001/management/weblogic/latest/serverRuntime?fields=name,state
Step 6: Access the Admin Console
Navigate to the WebLogic Administration Console in your browser:
http://<public-ip>:7001/console
You will see the Admin Console login page:

Enter your username (weblogic) and password from C:\CREDENTIALS.txt, then click Login. After authentication you will see the Admin Console home page:

The Admin Console provides full graphical management of your WebLogic domain including deployments, server configuration, monitoring, and security settings.
You can also verify credentials via the REST API from PowerShell:
curl.exe -u "weblogic:<your-password>" http://localhost:7001/management/weblogic/latest/serverRuntime?fields=name,state
Directory Structure
| Path | Description |
|---|---|
D:\Oracle\Java\jdk-11.x.x\ |
Oracle JDK 11 LTS (JAVA_HOME) |
D:\Oracle\Middleware\ |
Middleware Home (MW_HOME / ORACLE_HOME) |
D:\Oracle\Middleware\wlserver\ |
WebLogic Server Home (WL_HOME) |
D:\Oracle\Middleware\user_projects\domains\base_domain\ |
Default Domain (DOMAIN_HOME) |
D:\Oracle\oraInventory\ |
Oracle Inventory |
C:\CREDENTIALS.txt |
Admin credentials file |
Environment variables are set system-wide:
JAVA_HOME = D:\Oracle\Java\jdk-11.x.x
MW_HOME = D:\Oracle\Middleware
WL_HOME = D:\Oracle\Middleware\wlserver
DOMAIN_HOME = D:\Oracle\Middleware\user_projects\domains\base_domain
Administration
Option 1: Web-based Admin Console (Recommended)
The WebLogic 14c Admin Console provides a full graphical interface for managing your domain:
- Navigate to
http://<public-ip>:7001/console - Login with your WebLogic credentials
- From the console you can:
- Deploy and manage applications
- Configure servers, clusters, and data sources
- Monitor server health and performance
- Manage security realms and users
- View server logs and diagnostics
Option 2: REST Management API
# Get server runtime status
curl.exe -u "weblogic:<your-password>" http://localhost:7001/management/weblogic/latest/serverRuntime?fields=name,state
# Get domain configuration
curl.exe -u "weblogic:<your-password>" http://localhost:7001/management/weblogic/latest/domainConfig
Option 3: WLST Command Line
# Launch WLST
& "D:\Oracle\Middleware\wlserver\common\bin\wlst.cmd"
# In WLST shell:
connect('weblogic', '<your-password>', 't3://localhost:7001')
serverRuntime()
print('Server State: ' + cmo.getState())
Managing WebLogic Server
Using Scheduled Task
# Start WebLogic
Start-ScheduledTask -TaskName OracleWebLogicServer
# Stop WebLogic (graceful)
Stop-ScheduledTask -TaskName OracleWebLogicServer
# Check status
Get-ScheduledTask -TaskName OracleWebLogicServer | Select TaskName, State
Using Domain Scripts Directly
# Start
& "D:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd"
# Stop
& "D:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd"
Security Hardening
Change the Default Admin Password
Use the Admin Console to change the password:
- Navigate to
http://<public-ip>:7001/console - Go to Security Realms > myrealm > Users and Groups
- Click weblogic > Passwords tab
- Enter and confirm your new password, then click Save
Alternatively, use WLST:
& "D:\Oracle\Middleware\wlserver\common\bin\wlst.cmd"
# In WLST:
connect('weblogic', '<your-password>', 't3://localhost:7001')
cd('/SecurityConfiguration/base_domain/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator')
cd('Users/weblogic')
cmo.setPassword('YourNewSecurePassword')
disconnect()
exit()
After changing the password, update boot.properties:
Set-Content -Path "D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\security\boot.properties" -Value "username=weblogic`npassword=YourNewSecurePassword"
Delete the credentials file:
Remove-Item C:\CREDENTIALS.txt
Restrict Network Access
Ensure your Security Group only allows access from trusted IP addresses:
- Port 3389 (RDP): Your IP only
- Port 7001/7002 (WebLogic Server): Your IP or VPN CIDR only
Troubleshooting
WebLogic Server fails to start
Check the server log:
Get-Content "D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log" -Tail 50
Common causes:
- Insufficient memory: Use an instance type with at least 4 GB RAM
- Port conflict: Ensure port 7001 is not in use
- Scheduled Task not running: Get-ScheduledTask -TaskName OracleWebLogicServer
Cannot access Admin Console
- Verify WebLogic is running: check the REST API or scheduled task state
- Ensure Security Group allows port 7001 from your IP
- Try accessing via
http://localhost:7001/consolefrom an RDP session - Check server logs for startup errors
Cannot connect via RDP
- Verify the instance is running in the EC2 console
- Check Security Group allows port 3389 from your IP
- Verify you have the correct Administrator password (decrypt via EC2 console)
- Use SSM Session Manager as an alternative
REST API returns 401
Verify you're using the correct password from C:\CREDENTIALS.txt, not a default password.
Oracle WebLogic 14c Key Features
- Java EE 8 Platform: Full Java Enterprise Edition 8 compliance
- JDK 11 LTS: Long term support Java runtime
- Web-based Administration Console: Full graphical management interface at /console
- Dynamic Clustering: Elastic server instances for horizontal scaling
- Zero Downtime Patching: Apply patches without service interruption
- RESTful Management API: Programmatic server administration
Support
cloudimg provides 24/7/365 support for all AWS Marketplace products.
- Email: support@cloudimg.co.uk
- Response Time: Guaranteed 24 hour response
- Support Plans: View support tiers
- Oracle Documentation: WebLogic 14.1.2 Documentation