2012年12月10日 星期一

eBao APP開/關機

eBao APP關機
su root
netstat -an|grep 80
sh ${APACHE_HOME}/bin/apachectl stop
sh ${EBAO_HOME}/applications/batch/bin/batch_manage.sh stop
sh ${DOMAIN_HOME}/bin/stopWebLogic.sh
netstat -an|grep 7001
eBao APP開機
su root
nohup sh ${DOMAIN_HOME}/startWebLogic.sh &
netstat -an|grep 7001
nohup sh ${EBAO_HOME}/applications/batch/bin/batch_manage.sh start &
nohup sh ${APACHE_HOME}/bin/apachectl start &
netstat -an|grep 80

App Installation successfully

[self@ebao35 scripts]$ sh install.sh install
started on  2012-12-11 11:29:57
1. Getting eBao App Lib... succeeded

2. Configuring eBao GeneralSystem... succeeded

   Configure weblogic runtime parameters... succeeded
1
The Weblogic Server is started!

3. Deploying eBao GeneralSystem... succeeded

4. Stopping Application Server... succeeded

5. Starting Application Server... succeeded

6. Starting Batch Server... succeeded

7. Deploying eBao PAR File... succeeded

Installation successfully
Finished on  2012-12-11 11:32:21
[self@ebao35 scripts]$

.bash_profile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
 . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/lib/oracle/11.2/instantclient_11_2

export PATH
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/instantclient_11_2
export TNS_ADMIN=/usr/lib/oracle/11.2/instantclient_11_2/tns
SQLPATH=/usr/lib/oracle/11.2/instantclient_11_2
export SQLPATH
NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export NLS_LANG

APACHE_HOME=/usr/local/apache2
export APACHE_HOME
WL_HOME=/home/gs34/Oracle/Middleware/wlserver_10.3
export WL_HOME
DOMAIN_HOME=/home/gs34/Oracle/Middleware/user_projects/domains/base_domain
export DOMAIN_HOME
INSTALL_HOME=${DOMAIN_HOME}/INSTALL/gs34
export INSTALL_HOME

EBAO_HOME=${DOMAIN_HOME}/EBAO_HOME
export EBAO_HOME

EBAO_TMP_HOME=${DOMAIN_HOME}/EBAO_TMP_HOME
export EBAO_TMP_HOME

EBAO_ARCH_HOME=${DOMAIN_HOME}/EBAO_ARCH_HOME
export EBAO_ARCH_HOME

EXT_LIB_HOME=${EBAO_HOME}/share_lib
export EXT_LIB_HOME


BATCH_HOME=${EBAO_HOME}/applications/batch/bin
export BATCH_HOME

EBAO_CLASSPATH=${EBAO_HOME}/share_lib:${EBAO_HOME}/applications:${EBAO_HOME}/applications/export_tool:${EBAO_HOME}/applications/export_tool/export_lib::${EBAO_HOME}/applications/batch/lib:${EBAO_HOME}/EAR_FILE:${EBAO_HOME}/app_config:${EBAO_HOME}/:${EBAO_HOME}/applications/batch/lib:${DOMAIN_HOME}/applications/insurance/web/WEB-INF/lib/
export EBAO_CLASSPATH

#JAXP="-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.xpath.XPathFactory=org.apache.xpath.jaxp.XPathFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema=org.apache.xerces.jaxp.validation.XMLSchemaFactory -Djavax.xml.datatype.DatatypeFactory=org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl"
#export JAXP



#CLASSPATH=${INSTALL_HOME}/EBAO_HOME/share_lib
#export CLASSPATH

CLASSPATH="${CLASSPATH}:${CLASSPATHSEP}:${EBAO_CLASSPATH}"
export CLASSPATH

unset USERNAME

httpd.conf

#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See  for detailed information.
# In particular, see 
# 
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so 'log/access_log'
# with ServerRoot set to '/www' will be interpreted by the
# server as '/www/log/access_log', where as '/log/access_log' will be
# interpreted as '/log/access_log'.

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot "/usr/local/apache2"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the 
# directive.
#
# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule substitute_module modules/mod_substitute.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule log_forensic_module modules/mod_log_forensic.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule ident_module modules/mod_ident.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so



#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.  
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon




# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
#  definition.  These values also provide defaults for
# any  containers you may define later in the file.
#
# All of these directives may appear inside  containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. admin@your-domain.com
#
ServerAdmin you@example.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
ServerName 10.144.82.159:80

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/local/apache2/htdocs"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
#

    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all


#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#

    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all



#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

    DirectoryIndex index.html


#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#

    Order allow,deny
    Deny from all
    Satisfy All


#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a 
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a 
# container, that host's errors will be logged there and not here.
#
#ErrorLog "logs/error_log"
ErrorLog "|/usr/local/apache2/bin/rotatelogs /usr/local/apache2/logs/error.log%Y%m%d 50M"


#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn


    #
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    #
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    

    #
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a 
    # container, they will be logged here.  Contrariwise, if you *do*
    # define per- access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    #CustomLog "logs/access_log" common
 CustomLog "|/usr/local/apache2/bin/rotatelogs /usr/local/apache2/logs/access.log_%Y%m%d 50M" common
    #
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #
    #CustomLog "logs/access_log" combined



    #
    # Redirect: Allows you to tell clients about documents that used to 
    # exist in your server's namespace, but do not anymore. The client 
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar

    #
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    #
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a  section to allow access to
    # the filesystem path.

    #
    # ScriptAlias: This controls which directories contain server scripts. 
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client.  The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    #
    ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"




    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock logs/cgisock


#
# "/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#

    AllowOverride None
    Options None
    Order allow,deny
    Allow from all


#
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain


    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig conf/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #
    #AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    #
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    #
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    #
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #
    #AddHandler cgi-script .cgi

    # For type maps (negotiated resources):
    #AddHandler type-map var

    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml


#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type.  The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
#MIMEMagicFile conf/magic

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
#MaxRanges unlimited

#
# EnableMMAP and EnableSendfile: On systems that support it, 
# memory-mapping or the sendfile syscall is used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted 
# filesystems or if support for these functions is otherwise
# broken on your system.
#
#EnableMMAP off
#EnableSendfile off

# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be 
# included to add extra features or to modify the default configuration of 
# the server, or you may simply copy their contents here and change as 
# necessary.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include conf/extra/httpd-autoindex.conf

# Language settings
#Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf

# Various default settings
#Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#

SSLRandomSeed startup builtin
SSLRandomSeed connect builtin


LoadModule weblogic_module modules/mod_wl_22.so

 WebLogicHost 10.144.82.159
 WebLogicPort 7001
 WLTempDir /usr/local/apache2/temp
 ConnectRetrySecs 6
 ConnectTimeoutSecs 120
 MatchExpression /


RewriteEngine On
# Rule for disable TRACE
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
# Rule for rewrite directory access to 404 response
RewriteRule ^.*$ /404 [L]

Apache 2.2.23安裝

[root@ebao35 httpd-2.2.23]# pwd
/home/self/installed/Apache/httpd-2.2.23
[root@ebao35 httpd-2.2.23]# mkdir /usr/local/Apache2
[root@ebao35 httpd-2.2.23]# export APACHE_HOME=/usr/local/Apache2
[root@ebao35 httpd-2.2.23]# ./configure --prefix=${APACHE_HOME} --with-expat=builtin --enable-so --enable-mods-shared=all --enable-rule=SHARED_CORE --enable-modules=rewrite --enable-ssl
[root@ebao35 httpd-2.2.23]# make
[root@ebao35 httpd-2.2.23]# make install
[root@ebao35 httpd-2.2.23]# cd ${APACHE_HOME}/bin
[root@ebao35 httpd-2.2.23]# ./apachectl start

2012年12月6日 星期四

安裝 WebLogic 10.3.5版64位元


[self@ebao35 WebLogic 10.3.5]$ java -jar -D64 wls1035_generic.jar

無法建立 GUI,預設進入主控台模式。

Extracting 0%....................................................................................................100%

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

歡迎:

-------

此安裝程式將引導您完成 WebLogic 10.3.5.0 的安裝。請輸入 "Next" 或按 "Enter"

繼續下一個提示。如果您想變更之前輸入的資料,則請輸入 "Previous"。您可以透過輸入 "Exit" 隨時結束安裝程式。

輸入 [結束][下一步]>

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

JDK 選擇 (* 表示 Oracle 提供的 VM):

------------------------------------------

將安裝所選的 JDK。  若已安裝, 則會在命令碼字串替代中使用預設值。

   1|新增本機 JDK

   2|/usr/java/jdk1.6.0_35[ ]

   *預估安裝所需空間大小: 667.4 MB

輸入 1 新增,或輸入 >= 2 切換選擇  或 [結束][上一步][下一步]> 2

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

JDK 選擇 (* 表示 Oracle 提供的 VM):

------------------------------------------

將安裝所選的 JDK。  若已安裝, 則會在命令碼字串替代中使用預設值。

   1|新增本機 JDK

   2|/usr/java/jdk1.6.0_35[x]

   *預估安裝所需空間大小: 667.4 MB

輸入 1 新增,或輸入 >= 2 切換選擇  或 [結束][上一步][下一步]>

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

選擇產品安裝目錄:

-------------------------

Middleware 本位目錄: [/home/self/Oracle/Middleware]

產品安裝目錄:

   1|WebLogic Server: [/home/self/Oracle/Middleware/wlserver_10.3]

   2|Oracle Coherence: [/home/self/Oracle/Middleware/coherence_3.6]

輸入要選取的索引編號 或 [結束][上一步][下一步]>

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

將安裝下列產品和 JDK:

-----------------------------

    WebLogic Platform 10.3.5.0

    |_____WebLogic Server

    |    |_____Core Application Server

    |    |_____Administration Console

    |    |_____Configuration Wizard and Upgrade Framework

    |    |_____Web 2.0 HTTP Pub-Sub Server

    |    |_____WebLogic SCA

    |    |_____WebLogic JDBC Drivers

    |    |_____Third Party JDBC Drivers

    |    |_____WebLogic Server Clients

    |    |_____WebLogic Web Server Plugins

    |    |_____UDDI and Xquery Support

    |    |_____Evaluation Database

    |_____Oracle Coherence

         |_____Coherence Product Files

    *預估安裝所需空間大小: 667.5 MB

輸入 [結束][上一步][下一步]>

2012/12/10 下午 03:09:08 java.util.prefs.FileSystemPreferences$2 run

資訊: Created user preferences directory.

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

正在安裝檔案

0%          25%          50%          75%          100%

[------------|------------|------------|------------]

[***************************************************]

正在執行字串替代...

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

正在設定 OCM...

0%          25%          50%          75%          100%

[------------|------------|------------|------------]

[***************************************************]

正在建立網域...

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

安裝完成

恭喜您! 安裝完成。

按 [Enter] 繼續或者鍵入 [結束]>

<-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->

清除程序正在進行中...

[self@ebao35 WebLogic 10.3.5]$cd /home/self/Oracle/Middleware/wlserver_10.3/common/bin
[self@ebao35 bin]$ cd /home/self/Oracle/Middleware/wlserver_10.3/common/bin
[self@ebao35 bin]$ ./config.sh
無法建立 GUI,預設進入主控台模式。





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

歡迎:
-------

在建立和擴充網域之間選擇。依據您的選擇, 組態精靈將引導您完成產生新網域或擴充現有網域的步驟。

 ->1|新增 WebLogic 網域
    |    在您的專案目錄中建立 WebLogic 網域。

   2|擴充現有的 WebLogic 網域
    |    使用此選項將新元件新增至現有網域,並修改組態設定。





輸入要選取的索引編號 或 [結束][下一步]> 1





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

選取網域來源:
-------------------

選取建立網域的來源,您可以透過選取 所需的元件或從現有網域樣板清單選取
來建立網域。

 ->1|選擇 Weblogic Platform 元件
    |    您可以選擇網域要支援的 Weblogic 元件。

   2|選擇自訂樣板
    |    如果您要使用現有樣板,請選擇此選項, 這可以是使用樣板製作器建
    |立的自訂樣板。





輸入要選取的索引編號 或 [結束][上一步][下一步]> 1





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

應用程式樣板選擇:
-------------------------



    可用的樣板
    |_____Basic WebLogic Server Domain - 10.3.4.0 [wlserver_10.3]x
    |_____Basic WebLogic SIP Server Domain - 10.3.4.0 [wlserver_10.3] [2]
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.4.0 [wlserver_10.3] [3]
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.4.0 [wlserver_10.3] [4]



輸入與括號中完全相同的號碼以切換選擇 或 [結束][上一步][下一步]> 1





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

應用程式樣板選擇:
-------------------------



    可用的樣板
    |_____Basic WebLogic Server Domain - 10.3.4.0 [wlserver_10.3]x
    |_____Basic WebLogic SIP Server Domain - 10.3.4.0 [wlserver_10.3] [2]
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.4.0 [wlserver_10.3] [3]
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.4.0 [wlserver_10.3] [4]


    ** 輸入無效,無法選取


輸入與括號中完全相同的號碼以切換選擇 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

編輯網域資訊:
-------------------

    | Name |    Value    |
   _|______|_____________|
   1| *名稱: | base_domain |




輸入以下內容的值 "名稱" 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

為此網域選取目標網域目錄:
-------------------------------------

    "目標位置" = [輸入新的值或使用預設值 "/home/self/Oracle/Middleware/user_projects/domains"]




輸入新的值 目標位置 或 [結束][上一步][下一步]> /home/self/ebao35/domains        




<--------------------------- Fusion Middleware 組態精靈 -------------------------->

組態管理程式使用者名稱和密碼:
-------------------------------------------

建立一個指派管理員角色的使用者。 此使用者是用於啟動開發模式伺服器的預設管理員。

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|          *名稱:           |                weblogic                 |
   2|     *User password:     |                                         |
   3| *Confirm user password: |                                         |
   4|           描述:           | This user is the default administrator. |

使用上方的值或選取其他選項:
    1 - 修改 "名稱"
    2 - 修改 "User password"
    3 - 修改 "Confirm user password"
    4 - 修改 "描述"




輸入要選取的選項號碼 或 [結束][上一步][下一步]> 2





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

組態管理程式使用者名稱和密碼:
-------------------------------------------

建立一個指派管理員角色的使用者。 此使用者是用於啟動開發模式伺服器的預設管理員。

    "*User password:" = []




輸入新的值 *User password: 或 [結束][重設][接受]> 123456





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

組態管理程式使用者名稱和密碼:
-------------------------------------------

建立一個指派管理員角色的使用者。 此使用者是用於啟動開發模式伺服器的預設管理員。

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|          *名稱:           |                weblogic                 |
   2|     *User password:     |               **********                |
   3| *Confirm user password: |                                         |
   4|           描述:           | This user is the default administrator. |

使用上方的值或選取其他選項:
    1 - 修改 "名稱"
    2 - 修改 "User password"
    3 - 修改 "Confirm user password"
    4 - 修改 "描述"
    5 - 捨棄變更




輸入要選取的選項號碼 或 [結束][上一步][下一步]> 3





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

組態管理程式使用者名稱和密碼:
-------------------------------------------

建立一個指派管理員角色的使用者。 此使用者是用於啟動開發模式伺服器的預設管理員。

    "*Confirm user password:" = []




輸入新的值 *Confirm user password: 或 [結束][重設][接受]> 123456





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

組態管理程式使用者名稱和密碼:
-------------------------------------------

建立一個指派管理員角色的使用者。 此使用者是用於啟動開發模式伺服器的預設管理員。

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|          *名稱:           |                weblogic                 |
   2|     *User password:     |               **********                |
   3| *Confirm user password: |               **********                |
   4|           描述:           | This user is the default administrator. |

使用上方的值或選取其他選項:
    1 - 修改 "名稱"
    2 - 修改 "User password"
    3 - 修改 "Confirm user password"
    4 - 修改 "描述"
    5 - 捨棄變更




輸入要選取的選項號碼 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

網域模式組態:
-------------------

為此網域啟用開發或生產模式。

 ->1|開發模式

   2|生產模式




輸入要選取的索引編號 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

Java SDK 選擇:
----------------

 ->1|Sun SDK 1.6.0_35 @ /usr/java/jdk1.6.0_35
   2|其他 Java SDK




輸入要選取的索引編號 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

選取選擇性組態:
----------------------

   1|管理伺服器 [ ]
   2|受管理伺服器、叢集和機器 [ ]
   3|RDBMS 安全儲存 [ ]



輸入要選取的索引編號 或 [結束][上一步][下一步]> 1





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

選取選擇性組態:
----------------------

   1|管理伺服器 [x]
   2|受管理伺服器、叢集和機器 [ ]
   3|RDBMS 安全儲存 [ ]



輸入要選取的索引編號 或 [結束][上一步][下一步]> 2





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

選取選擇性組態:
----------------------

   1|管理伺服器 [x]
   2|受管理伺服器、叢集和機器 [x]
   3|RDBMS 安全儲存 [ ]



輸入要選取的索引編號 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

設定管理伺服器:
----------------------

每個 WebLogic Server 網域都必須有一個管理伺服器。 管理伺服器用來執行管理工作。

    |       Name       |        Value        |
   _|__________________|_____________________|
   1|       *名稱:       |     AdminServer     |
   2| *Listen address: | All Local Addresses |
   3|   Listen port:   |        7001         |
   4|    SSL 監聽連接埠:    |         N/A         |
   5|     啟用 SSL:      |        false        |

使用上方的值或選取其他選項:
    1 - 修改 "名稱"
    2 - 修改 "Listen address"
    3 - 修改 "Listen port"
    4 - 修改 "啟用 SSL"




輸入要選取的選項號碼 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

設定受管理伺服器:
-------------------------

為受管理伺服器新增或刪除組態資訊。典型的生產環境都具有一個或多個 受管理伺服器。每個
受管理伺服器都是 WebLogic Server 的執行處理,承載企業應用程式。

    | 名稱* | Listen address* | Listen port | SSL 監聽連接埠 | 啟用 SSL |
   _|_____|_________________|_____________|___________|________|




輸入名稱用於新的  或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

設定叢集:
-------------

為叢集新增或刪除組態資訊。叢集事由多個一起運作的伺服器執行處理組成, 以提高擴展性和可靠性。

    | 名稱* | 叢集訊息傳遞模式 | 多點傳播位址 | 多點傳播連接埠 | 叢集位址 |
   _|_____|__________|________|_________|______|




輸入名稱用於新的 叢集 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

設定機器:
-------------

新增或刪除機器。一部機器可承載一個或多個 WebLogic Server 執行處理。 管理伺服器和節點管理程式使用此機器定義來啟動遠端伺服器。

    | 名稱* | 節點管理程式監聽位址 | 節點管理程式監聽連接埠 |
   _|_____|____________|_____________|




輸入名稱用於新的 機器 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

設定 Unix 機器:
-------------------

新增或刪除機器。一部機器可承載一個或多個 WebLogic Server 執行處理。 管理伺服器和節點管理程式使用此機器定義來啟動遠端伺服器。

    | Name |
   _|______|




輸入名稱用於新的 Unix 機器 或 [結束][上一步][下一步]>





<--------------------------- Fusion Middleware 組態精靈 -------------------------->

正在建立網域...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


**** 網域建立成功! ****


[self@ebao35 bin]$

Dragon_V1.0.0.0.B24.04 Deploy successfully.