26 Jan Running Oracle Weblogic Server on Windows: a shutdown class
- You can start Oracle Weblogic Server from the command line. This is good for test purposes but not very likely to be used in a production environment.
- You can install Oracle Weblogic Server to run as a windows service using the java wrapper beasvc.exe (or beasvcX64.exe on windows 64-bit)
The shutdown class works as follows:
- It sends a request over HTTP to the Admin server
- The Admin server sends the shutdown request to the corresponding server.
Secondly, two options need to be set on each server in the domain:
- You have to enable tunneling. You do this by ticking “Enable Tunneling” under Domain > Environment > Servers > “Server” > Protocols > General
- You have to ignore http sessions during shutdown, otherwise the server keeps on waiting for ever until no more http sessions are active. Enable the option “Ignore Sessions During Shutdown” under Domain > Environment > Servers > “Server” > Control > Start/Stop