WebLogic Application Server

Table of Contents

1 WebLogic简介

Oracle WebLogic Server is a scalable, enterprise-ready Java Platform, Enterprise Edition (Java EE) application server.

参考:
Oracle Fusion Middleware 12c 12.1.3: http://docs.oracle.com/middleware/1213/wls/index.html

1.1 WebLogic安装

下面以WebLogic Server 12c Release 3 (12.1.3)以为例,介绍其安装过程。

安装过程比较简单,用下面命令启动后,在图形界面中依次点击“下一步”即可。

$ java -jar fmw_12.1.3.0.0_wls.jar

说明:WebLogic 12.1.3安装程序需要java jdk 7及以上版本(jre也不行,jdk 6也不行)。

参考:http://docs.oracle.com/middleware/1213/core/WLSIG/install_gui.htm#WLSIG125

2 WebLogic Domain

An Oracle WebLogic Server domain is a logically related group of Oracle WebLogic Server resources. Domains include a special Oracle WebLogic Server instance called the Administration Server, which is the central point from which you configure and manage all resources in the domain. Usually, you configure a domain to include additional Oracle WebLogic Server instances called Managed Servers.

A Managed Server is a WebLogic Server instance that runs deployed applications. It refers to the Administration Server for all of its configuration and deployment information. Usually, you use Managed Servers to run applications in a production environment.

weblogic_domain.gif

Figure 1: WebLogic Domain Structure

可以简单地认为WebLogic中Domain是逻辑管理单元,它由Administration Server和Managed Servers组成。WebLogic应用服务器的启动/停止以Domain为单位进行管理。

参考:
https://docs.oracle.com/middleware/1213/wls/INTRO/domains.htm
https://docs.oracle.com/middleware/1213/wls/WLDCW/intro.htm

2.1 创建Domain

可以使用 Configuration Wizard 创建Domain。用下面命令可以启动 Configuration Wizard:

$ ./wlserver/common/bin/config.sh

在创建Domain过程时,需要创建Administrator的用户名和密码(如weblogic/admin123)。

2.2 使用Administration Console管理Domain

The WebLogic Server Administration Console is a browser-based Web application that allows you to configure and monitor your WebLogic Server domain, server instances, and running applications and their associated resources.

首先,先要启动Administration Server,如:

$ ./user_projects/domains/my_domain/bin/startWebLogic.sh &

然后,用浏览器打开Administration Console的URL,如 http://xxx.yyy.com:7001/console

weblogic_administration_console.png

Figure 2: WebLogic Administration Console

利用Administration Console,可以:

  • Configure, start, and stop WebLogic Server instances
  • Configure WebLogic Server clusters
  • Configure WebLogic Server services, such as database connectivity (JDBC) and messaging (JMS)
  • Configure security parameters, including managing users, groups, and roles
  • Configure and deploy your applications
  • Monitor server and application performance
  • View server and domain log files
  • View application deployment descriptors
  • Edit selected run-time application deployment descriptor elements
  • Control (start, stop, and restart) managed Coherence servers
  • Create and configure Coherence clusters

参考:
Oracle WebLogic Server Administration Console Online Help 12c (12.1.3): https://docs.oracle.com/middleware/1213/wls/WLACH/core/index.html


Author: cig01

Created: <2015-11-24 Tue 00:00>

Last updated: <2017-12-25 Mon 12:10>

Creator: Emacs 25.3.1 (Org mode 9.1.4)