Download
Download Page: http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html
The latest version is 12C. You can find the download link for the old version on the above page.
The latest version is: https://edelivery.oracle.com/akam/otn/nt/middleware/12c/wls/1212/wls_121200.jar
"Installers with Oracle WebLogic Server and Oracle coherence", which includes Oracle coherence. What is coherence?
Coherence provides replicated, distributed (partitioned) data management and cache services based on reliable and highly scalable peer-to-peer cluster protocols. Coherence does not have a single point of failure. When a server cannot operate or is disconnected from the network, it can automatically and transparently perform failover and re-distribute its clustered data management service. When a new server is added or the faulty server is restarted, it is automatically added to the cluster. Coherence switches the service back to the server and transparently distributes the Cluster load. Coherence includes network-level fault tolerance and transparent soft restart functions to support server self-repair.
For more details about coherence, refer:
Introduction and use of Oracle coherence
For more information, see how to find the Weblogic download link on the Oracle download homepage.
Oracle classifies WebLogic into middleware (middleware), so you can find the middleware classification.
Install
This article downloads windows 32-bit version 10.3.4.
Http://download.oracle.com/otn/nt/middleware/11g/wls/wls1034_win32.exe
The downloaded file is an executable file of wls1034_win32.exe.
1. The installation is very simple. Just click Next.
Note that there is a step in the middle. Select the installation type, as shown in the following figure.
If you select a typical installation, There is nothing special, and you can continue.
If you choose custom installation, JDK is selected.
Select the JDK to be installed. We recommend that you check and install the Oracle jrockit SDK. Jrockit was originally developed by BEA as a very good JDK for WebLogic and was later incorporated into Oracle. Jrockit JDK is superior to JDK provided by Sun in some aspects, especially the garbage collection mechanism.
Configuration domain
At this point, the Weblogic server is not available and you need to add a domain.
After the above installation is complete, A Configuration Wizard will pop up. If you accidentally turn it off, you can call it up in the following way:
Start-> Oracle WebLogic-> WebLogic Server-> Tools-> Configuration Wizard, go to the following installation page: (you can also go to the Weblogic installation directory/middleware/wlserver_10.3/common/bin/uninstall double-click config.exe to start the configuration program)
Select "create new WebLogic domain" and continue the next step.
Welcome Page:Select create WebLogic domain and click Next.
Select domain source interface:Select "generate an automatically configured domain to support the following products", check "WebLogic advanced Web Services extension", and click "Next.
Interface for specifying domain names and locations:Enter the domain name and storage location, and click Next.
Configure the administrator user name and password:Enter the password for the administrator and click Next.
Configure the server startup mode and JDK interface:Select the development mode. We recommend that you use the JDK provided by Sun. if the system is online, select the production mode. We recommend that you use jrockit JDK. Click Next after setting
Select an optional configuration page:Custom optional configurations. You can configure them on the Weblogic GUI console.
Start WebLogic
You can start the service in either of the following ways:
1. Start-> Oracle WebLogic-> User projects-> base_domain-> start admin server for WebLogic Server domain
2. Double-click startweblogic. CMD in the bin directory of the base_domain configuration folder to start weblogic.
Access: http: // localhost: 7001/console through a browser to access the console.
Modify WebLogic Server Port
Several folders can be found under the base_domain directory:
/Autodeploy /:The automatic deployment directory for WebLogic prevention. developers can automatically deploy WebLogic as long as the Web application or EJB application is copied to the directory.
/Bin /:Contains the command script for starting and disabling the WebLogic Server.
/Config /:The configuration file of the current WebLogic domain is saved. When we configure the domain on the console, the actual changes will be saved in various configuration files under the current directory and subdirectory.
/Lib /:Used to save third-party jar packages added by users.
To modify the Weblogic server port, you only need to modify the config. xml file in the config directory:
<server> <name>AdminServer</name> <listen-address></listen-address> </server>
Find the preceding configuration and add the following parts:
<listen-port>7003</listen-port>
If this parameter is not specified, 7001 is used by default.
You can also modify it in the console:
In the left-side Navigation Pane, choose base_domain> environment> Server> and click "adminserver" in the main block on the right to go to the server configuration page.
You can see the listening port:
Deploy Web Applications
There are three deployment methods
1. Use WebLogic for automatic deployment. Copy the web application to the autodeploy directory of the Weblogic domain, and the system will deploy the application to the Weblogic domain.
2. Use the console for deployment. In the left-side Navigation Pane, choose deployment> Installation, select the war file, and continue to the next step.
3. Modify the config. xml file in the config directory for deployment:
Add the following configurations:
<app-deployment> <name>appTest</name> <target>AdminServer</target> <module-type>war</module-type> <!--war path--> <source-path>C:/deploy</source-path> <security-dd-model></security-dd-model></app-deployment>