제5장 Installing and Uninstalling JEUS on UNIX

내용 목차

5.1. Overview
5.2. Installing
5.2.1. Installing JEUS in GUI Mode
5.2.2. Installing JEUS in Console Mode
5.3. Verifying Installation
5.3.1. Directory Structure
5.3.2. Environment Configurations
5.3.3. Starting JEUS
5.4. Uninstallation
5.4.1. Uninstalling JEUS in GUI Mode
5.4.2. Uninstalling JEUS in Console Mode
5.5. Verifying Uninstallation

This chapter describes how to install and uninstall JEUS on UNIX.

5.1. Overview

Follow these steps to install/uninstall JEUS on UNIX in GUI or console mode.

  1. Install JDK 7.

  2. Install JEUS.

  3. Verify the installation.

    • Verify that JEUS starts.

    • Configure and verify the environment variables.

5.2. Installing

This section describes how to install JEUS in GUI and console mode.

5.2.1. Installing JEUS in GUI Mode

This section describes how to install JEUS in GUI mode. If GUI mode cannot be used for the installation, refer to "5.2.2. Installing JEUS in Console Mode".

참고

JEUS is installed using the same procedures in Linux, Solaris, HP, and AIX. The screens for installation in UNIX are similar to those in Windows. However, to use the GUI installer on UNIX, a console or terminal that supports Java GUI must be installed.

The following are the steps for installing JEUS.

  1. Insert and mount the installation CD. Go to the directory where jeus8_unix_generic.bin exists.

  2. Open a console window and execute the following command to grant execution permissions for jeus8_unix_generic.bin.

    chmod u+x jeus8_unix_generic.bin

    Execute the file in the console and then press <Enter>.

    jeus8_unix_generic.bin –i GUI
  3. The initial screen of the JEUS installer appears. Wait until the progress shows 100%.

    [그림 5.1] Installing JEUS in GUI Mode - Initial Screen of the Installer

    Installing JEUS in GUI Mode - Initial Screen of the Installer


  4. The Introduction screen appears.

    [그림 5.2] Installing JEUS in GUI Mode - Introduction

    Installing JEUS in GUI Mode - Introduction


  5. Read the introduction to JEUS, and then click [Next]. To cancel the installation, click [Cancel].

  6. Read the contents of the License Agreement screen. Select "I accept the terms of ..." and then click [Next].

    [그림 5.3] Installing JEUS in GUI Mode - License Agreement

    Installing JEUS in GUI Mode - License Agreement


  7. Choose the platform on which to install JEUS.

    [그림 5.4] Installing JEUS in GUI Mode - Choose Platform

    Installing JEUS in GUI Mode - Choose Platform


  8. The Installation Folder screen appears. JEUS executable and other files are installed in this location. Click [Choose...] to select another installation folder. Click [Restore Default Folder] to restore the default folder. It is recommended to use the default folder "/home/tmaxsoft/jeus8". Click [Next] to continue.

    [그림 5.5] Installing JEUS in GUI Mode - Installation Folder

    Installing JEUS in GUI Mode - Installation Folder


  9. The Installation Type screen appears. Choose either Domain Administration Server or Managed Server and click [Next]. The default is Domain Administration Server.

    [그림 5.6] Installing JEUS in GUI Mode - Installation Type

    Installing JEUS in GUI Mode - Installation Type


    The following describes the installation options.

    ItemDescription
    Domain Admin ServerInstall Domain Administration Server and Managed Servers (Domain Administration Server manages Managed Servers).
    Managed ServerInstall Managed Servers.

  10. Choose Installation Mode for Domain Admin Server.

    [그림 5.7] Installing JEUS in GUI Mode - Installation Mode

    Installing JEUS in GUI Mode - Installation Mode


    The following describes the installation options.

    ItemDescription
    Production ModeInstall JEUS in Production Mode. (JEUS Hot Swapping and Automatic Reloading are not used. A warning message is displayed when a demo license is used.)
    Development ModeInstall JEUS in Development Mode. (JEUS Hot Swapping and Automatic Reloading are used.)
  11. Enter the full path to JDK in the Choose JAVA Folder screen (e.g., "/usr/jdk1.7"). The installer provides a default JDK path. Click [Choose...] to select another installation folder. Click [Restore Default Location] to restore the default folder.

    [그림 5.8] Installing JEUS in GUI Mode - Choose JAVA Folder

    Installing JEUS in GUI Mode - Choose JAVA Folder


    참고

    If the JDK is installed after JEUS, the JAVA_HOME environment variable, which contains the path to the JDK, must be modified. Hence, it is recommend to install the JDK before installing JEUS.

  12. The Password screen appears. Enter the JEUS administrator's password and click [Next]. This password is used for the administrator's account, administrator.

    [그림 5.9] Installing JEUS in GUI Mode - Enter Password

    Installing JEUS in GUI Mode - Enter Password


  13. Enter the name of the domain to be used in JEUS and then click [Next].

    [그림 5.10] Installing JEUS in GUI Mode - Domain Name

    Installing JEUS in GUI Mode - Domain Name


  14. If Domain Admin Server has been selected, select a node manager to use. Java node manager is selected by default.

    [그림 5.11] Installing JEUS in GUI Mode - Node Manager Configuration

    Installing JEUS in GUI Mode - Node Manager Configuration


    The following describes the installation items.

    ItemDescription
    javaNode manager implemented in Java. For detailed information about Java node manager, refer to JEUS Node Manager Guide. "Chapter 2. Java Node Manager".
    sshNode manager that uses the SSH provided by OS. For detailed information about SSH node manager, refer to JEUS Node Manager Guide. "Chapter 3. SSH Node Manager".

  15. Check the installation details. Click [Install] to start the installation.

    [그림 5.12] Installing JEUS in GUI Mode - Pre-Installation Summary

    Installing JEUS in GUI Mode - Pre-Installation Summary


  16. Monitor the installation progress.

    [그림 5.13] Installing JEUS in GUI Mode - Install JEUS

    Installing JEUS in GUI Mode - Install JEUS


  17. Check that the installation is completed successfully. Click [Done] to exit the installer.

    [그림 5.14] Installing JEUS in GUI Mode - Installation Complete

    Installing JEUS in GUI Mode - Installation Complete


5.2.2. Installing JEUS in Console Mode

This section describes how to install JEUS in console mode (command line). First, execute the console installer.

참고

The console installer provides default values for each entry. After a value is entered, it can only be modified after the installation is complete because it is not possible to return to a previous step in console mode.

The following steps describe the installation of JEUS in console mode.

  1. Insert and mount the installation CD. Go to the directory where jeus8_unix_generic.bin exists.

  2. Open a console window and execute the following command to grant execution permissions for jeus8_unix_generic.bin.

    chmod u+x jeus8_unix_generic.bin
  3. Execute the file in the console by entering './jeus8_unix_generic.bin', and then press <Enter>.

    [jeususer@matrix jeus]$ ./jeus8_unix_generic.bin
    Preparing to install...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    
    Launching installer...
    
    Preparing CONSOLE Mode Installation...
  4. The JEUS License Agreement appears.

    ===============================================================================
    License Agreement
    -----------------
    
    Installation and Use of JEUS8 Requires Acceptance of the Following License 
    Agreement:
    
    JEUS (Java Enterprise User Solution) Release JEUS8
    TmaxSoft Co., Ltd. (hereafter, TmaxSoft) End-User License Agreement
    
    Product : JEUS
    
    This is a legal agreement between you (either an individual or an company) and 
    TmaxSoft, Incorporated. By opening the sealed software package and/or by using
    the software, you agree to be bound by the terms of this agreement.
    
    TmaxSoft License
    1.  Grant of License:  This TmaxSoft License Agreement ("License") permits you 
    to use one copy of the TmaxSoft product JEUS, on any single computer, provided 
    the software is in use on only one computer at any one time.  If this package 
    is a license pack, you may make and use additional copies of the software up to
    the number of licensed copies authorized.  If you have multiple licenses for 
    the software, then at any time you may have as many copies of the software in 
    use as you have licenses.
      The software is "in use" on a computer when it is loaded into the temporary 
    memory (i.e., RAM) or installed into the permanent memory (e.g., hard disk, 
    CD-ROM, or other storage devices) of that computer, except that a copy 
    installed on a network server for the sole purpose of distribution to other 
    computers is not "in use".  If the anticipated number of users of the software 
    will exceed the number of applicable licenses, then you must have a reasonable 
  5. To read the remainder of the JEUS license agreement, press <ENTER>.

    PRESS <ENTER> TO CONTINUE: 
    
    mechanism or process in place to ensure that the number of persons using the 
    software concurrently does not exceed the number of licenses.
    
    2.  Copyright:  The software (including any images, "applets," photographs, 
    animations, video, audio, music and text incorporated into the software) is 
    owned by TmaxSoft or its suppliers and international treaty provisions. 
    Therefore, you must treat the software like any other copyrighted materials 
    (e.g., a book or musical recording) except that you may either (a) make one 
    copy of the software solely for backup or archival purposes, or (b) transfer 
    the software to a single hard disk provided you keep the original solely for 
    backup or archival purposes.  You may not copy the printed materials 
    accompanying the software, nor print copies of any user documentation provided 
    in "online" or electronic form.
    
    3.  Other restrictions: This license is your proof of license to exercise the 
    rights granted herein and must be retained by you. You may not rent, lease, or 
    transfer your rights under this license on a permanent basis provided you 
    transfer this license, the software, and all accompanying printed materials, 
    retain no copies, and the recipient agrees to the terms of this license. You 
    may not reverse engine, decompile, or disassemble the software, except to the 
    extent that the foregoing restriction is expressly prohibited by applicable 
    law.
  6. Accept or decline the license agreement.

    Enter 'y' to accept or 'n' to decline the agreement, and then press <ENTER>.

    PRESS <ENTER> TO CONTINUE: 
    
    DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): y
  7. Choose the platform on which to install JEUS.

    ===============================================================================
    Choose Platform
    ---------------
    
    Choose the operating system and architecture :
    1)HP-UX PA-RISC
    2)HP-UX Itanium
    3)Solaris UltraSPARC
    4)Solaris x86
    5)Solaris x64
    6)AIX 5.x, 6.x, 7.x PowerPC
    7)Linux Itanium
    8)Linux x86
    9)Linux x64
    10)Linux PowerPC 64
    Quit) Quit Installer
    
    Choose Current System (DEFAULT: 8): 
  8. Choose the installation folder.

    Use the default path by pressing <ENTER>, or enter another path.

    ===========================================================
    Installation Folder
    -------------------
    
    Enter the installation folder.
    
      Default Install Folder: /home/jeus8
    
    ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
          :
  9. Choose the installation type. The options are Domain Administration Server, or Managed Server. Domain Administration Server is selected by default.

    ===============================================================================
    Installation type
    -----------------
    
    Please choose the Install Set to be installed by this installer.
    
      ->1- Domain Admin Server
        2- Managed Server
    
    ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
       :

    The following describes the installation items.

    ItemDescription
    Domain Admin ServerInstall Domain Administration Server and Managed Servers. Domain Administration Server is used to manage the Managed Servers.
    Managed ServerInstall Managed Servers.

  10. Choose an Installation Mode for Domain Admin Server. Production Mode is selected by default.

    ==========================================================
    Installation Mode
    -----------------
    
    * Production Mode
    - Disables JEUS Hot Swap.
    - Disables Automatic Reloading.
    - Displays a warning message and recommends using a full license if a demo 
    license is used.
    
    * Development Mode
    - Enables JEUS Hot Swap.
    - Enables Automatic Reloading.
    
      ->1- Production Mode
        2- Development Mode
        3- Cancel
    
    ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE 
       DEFAULT:

    The following describes the installation items:

    ItemDescription
    Production ModeInstall JEUS in Production Mode. (JEUS Hot Swapping and Automatic Reloading are not used. A warning message is displayed when a demo license is used.)
    Development ModeInstall JEUS in Development Mode. (JEUS Hot Swapping and Automatic Reloading are used.)

  11. Enter the JDK path. If <ENTER> is pressed without specifying the path, the JDK path will be automatically detected. Enter another path, if desired.

    ==========================================================
    Enter the JDK path.
    -------------------
    
    Enter the JDK path:
    
    Enter the JDK path (DEFAULT: /usr/jdk1.7):

  12. If you have selected the Domain Admin Server, enter the JEUS administrator password. This password is used for the administrator's account, administrator.

    ===============================================================================
    Password Input
    --------------
    
    Enter the Password for the administrator account.
    
    Input Password::

    참고

    Enter the password carefully. It is required to start JEUS, and is saved in memory.

  13. If you have selected the Domain Admin Server, enter the domain name to use on DAS.

    ===============================================================================
    User Domain name
    ----------------
    
    Enter the Domain name
    
    Enter the domain name (DEFAULT: jeus_domain):
  14. Click a node manager to use on DAS. Java node manager is configured by default.

    ===============================================================================
    Node Manager
    ------------
    
    select either ssh or java node manager
    
      ->1- java
        2- ssh
        3- Cancel
    
    ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE
       DEFAULT:

    The following describes the installation items.

    ItemDescription
    javaNode manager implemented in Java. For detailed information about Java node manager, refer toJEUS Node Manager Guide. "Chapter 2. Java Node Manager".
    sshNode manager that uses the SSH provided by OS. For detailed information about SSH node manager, refer to JEUS Node Manager Guide. "Chapter 3. SSH Node Manager".

  15. Check the installation details. Press <ENTER> to start the installation.

    ===============================================================================
    Pre-Installation Summary
    ------------------------
    
    Review the Following Before Continuing:
    
    Product Name:
        JEUS8
    
    Install Folder:
        /home/jeus8
    
    Install Set
        Domain Admin Server
    
    Disk Space Information (for Installation Target): 
        Required:  441,732,614 bytes
        Available: 156,301,557,760 bytes
    
    PRESS <ENTER> TO CONTINUE: 
  16. Monitor the installation progress.

    ===========================================================
    Installing...
    -------------
    
    [===============|===============|===============|===============]
    [---------------|---------------|---------------|---------------]
  17. Check that the installation has completed.

    ===============================================================================
    Installation Complete
    ---------------------
    
    JEUS8 has been successfully installed to:
    
         /home/jeus8
    
    PRESS <ENTER> TO EXIT THE INSTALLER:

5.3. Verifying Installation

After installing JEUS, you need to configure the environment variables and start JEUS to verify that it has been installed properly. Verify the following directory structure before setting the environment variables.

5.3.1. Directory Structure

The following figure shows the directory structure after JEUS has been installed.

[그림 5.15] Directory Structure After Installing JEUS

Directory Structure After Installing JEUS


The following is a description of each directory and file.

{JEUS_HOME}

The top level directory of JEUS. The actual directory name and location are selected during installation.

bin

Contains the scripts to start and stop servers. The scripts are startDomainAdminServer, startManagedServer, and stopServer. This directory also contains the executable files including the JEUS console tool 'jeusadmin'.

derby

Contains Apache Derby, which helps users build sample applications or perform tests..

docs

Contains Javadoc documentations for the APIs provided by JEUS.

lib

Contains the libraries used to start JEUS. Users only need to access the shared directory.

DirectoryDescription
shared

Contains the libraries used by applications. Library information must be added to libraries.xml in order to use the libraries in the shared directory. Reference information about the library must also be specified in the JEUS deployment descriptor of the application that will use the library.

For detailed information about the shared library, refer to JEUS Applications & Deployment Guide. "3.3.2. Shared Library".

license

Contains JEUS license files that are needed to execute JEUS.

nodemanager

Contains the jeusnm.xml file used to configure JEUS nodemanager.

setup

Contains the files needed to set up the environment to use JEUS after JEUS has been installed.

templates

Contains configuration file templates.

samples

Contains example files for JEUS.

webserver

Directory where the JEUS Web server is installed during the JEUS installation. For details, refer to "JEUS Web Engine Guide".

domains

Each domain contains a file named nodes.xml that contains the information about the nodes used from DOMAIN_HOME and JEUS_HOME.

DOMAIN_HOME contains the following files and directories:

  • .applications

    Contains application files managed by the domain. These can only be added or deleted by using the install-application and uninstall-application commands. This is a JEUS system directory with restricted user access.

    For detailed information about each command, refer to JEUS Reference Book. "4.2.6.16. uninstall-application".

  • .deploymentplans

    Contains deployment plan files managed by the domain. These can only be added or deleted by using the install-deployment-plan and uninstall-deployment-plan commands. This is a JEUS system directory with restricted user access.

    For detailed information about each command, refer to JEUS Reference Book. "4.2.6.8. install-deployment-plan" and JEUS Reference Book. "4.2.6.17. uninstall-deployment-plan".

  • .libraries

    Contains library files managed by the domain. These can only be added or deleted by using the install-application and uninstall-application commands. This is a JEUS system directory with restricted user access.

    For detailed information about each command, refer to JEUS Reference Book. "4.2.6.7. install-application" and JEUS Reference Book. "4.2.6.16. uninstall-application".

  • bin

    Contains the scripts to start or stop the DAS and MSs of the domain. The functions of the scripts are the same as startDomainAdminServer, startManagedServer, and stopServer scripts in the 'JEUS_HOME/bin' directory, except that the users don't need to specify the file names.

  • config

    Contains backup files that store changes to domain.xml, a do main configuration file. For detailed information about domain configurations, refer to JEUS Domain Guide. "Chapter 3. Changing Domain Settings".

    DirectoryDescription
    security
    • SYSTEM_DOMAIN: Contains security domain files, including accounts.xml and policies.xml. Each XML file can be dynamically modified by using WebAdmin and jeusadmin. For detailed information about security domain configurations, refer to JEUS Security Guide. "2.2. Configuring the Security System Domain".

    • security.key: Contains the keys for symmetric key encryption. They are created when 'JEUS_HOME/bin/encryption' is executed. For detailed information about the security.key file, refer to JEUS Security Guide. "2.5.4. Configuring Password Security".

    • policy: Contains the Java permissions configuration file. This is used by Java SE Security Manager, separate from the JEUS security system.

    servlet
    • web.xml: This file is used when a Web module does not have a separate web.xml file. By default, the file is empty.

    • webcommon.xml: Settings that apply to all Web modules of the Web engines in the domain. For detailed information about the file, refer to JEUS Web Engine Guide. "1.5. Directory Structure".

  • lib/application

    Contains the shared application libraries for the domain. If a library conflicts with an application library in the SERVER_HOME directory, it is overridden by 'SERVER_HOME/lib/application' and a warning message appears. For detailed information about the 'lib/application' directory, refer to JEUS Applications & Deployment Guide. "3.3.1. The lib/application Directory".

  • servers

    Create the SERVER_HOME directory by using the server name in this directory. For detailed information about the directory structure, refer to JEUS Server Guide. "1.5. Directory Structure".

    DirectoryDescription
    .workspaceContains workspaces used by each JEUS server. Cannot be modified by the user.
    binContains scripts to start and stop the server. The scripts execute the same functions as those in 'JEUS_HOME/bin', except that there is no need to specify the names of the domains and servers in the scripts. DASs use the startDomainAdminServer and stopServer scripts, and MSs use the startManagedServer and stopServer scripts.
    lib/application

    Contains the shared application libraries for the domain. If a library conflicts with an application library in the SERVER_HOME directory, it is overridden by 'SERVER_HOME/lib/application' and a warning message appears.

    For detailed information about the 'lib/application' directory, refer to

    JEUS Applications & Deployment Guide. "3.3.1. The lib/application Directory".

    logsIncludes launcher logs, server logs, and access log files. For detailed information, refer toJEUS Server Guide. "Chapter 8. Logging".
    nodemanagerContains information used to determine whether a server is managed when a node manager restarts. This is a JEUS system directory with restricted user access.

5.3.2. Environment Configurations

The environment variables must be configured in order to use JEUS. Some environment variables are set during the installation, but they can be changed if needed. The PATH variable is set in the '.profile/.cshrc' file and other environment variables are set in the '$JEUS_HOME/bin/jeus.peoperties' file.

The following table lists the key environment variables.

Environment VariableDescription
PATH

System path.

It must include:

  • /home/jeus/bin

  • /home/jeus/lib/system

JEUS_HOME

JEUS installation directory.

Example: /home/jeus

JEUS_LIBPATH

JEUS library file path.

Example: /home/jeus/lib/system

VM_TYPE

Option to use the Java HotSpot JVM.

Example: hotspot or old

USERNAME

Administrator account ID.

PASSWORD

Administrator account password.

JAVA_HOME

Path to JDK.

Example: /usr/jdk1.7

JAVA_ARGSJDK parameters.
JAVA_VENDOR

JDK vendor.

Example: Sun, IBM, or HP

The setenv command is used to set the JEUS_HOME variables in the console.

setenv JEUS_HOME “/home/jeus”

The following is an example of setting the system path.

setenv PATH “${PATH}:/home/jeus/bin:
/home/jeus/lib/system”

참고

Since the Java executable directory (/usr/jdk1.7/bin) is used by JEUS, it must be added before other environment variables.

After setting the environment variables, log out of JEUS console and then log in again to apply the changes.

5.3.3. Starting JEUS

Use the following steps to start JEUS in order to verify that JEUS has been installed properly.

  1. Enter startDomainAdminServer in the console. The following message will be displayed. Enter the user name and password that were specified during installation by using the '-p' option.

    [was@localhost ~]$ startDomainAdminServer -u administrator -p <password>
    [was@localhost ~]$ startDomainAdminServer -u administrator -p 1111111
    ***************************************************************
      - JEUS Home         : /home/was/jeus8
      - Java Vendor       : Sun
      - Added Java Option :
    ***************************************************************
    + /usr/java/jdk1.7.0_80/bin/java -server -Xmx512m -Xbootclasspath/p:/home/was/jeus8/lib/system/extension.jar -classpath /home/was/jeus8/lib/system/bootstrap.jar
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Djava.library.path=/home/was/jeus8/lib/system
    -Djava.endorsed.dirs=/home/was/jeus8/lib/endorsed
    -Djava.naming.factory.initial=jeus.jndi.JNSContextFactory
    -Djava.naming.factory.url.pkgs=jeus.jndi.jns.url
    -Djava.net.preferIPv4Stack=true
    -Djava.util.logging.manager=jeus.util.logging.JeusLogManager
    -Djava.util.logging.config.file=/home/was/jeus8/bin/logging.properties
    -Djeus.home=/home/was/jeus8 -Djeus.jvm.version=hotspot
    -Djeus.tm.checkReg=true 
    -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net jeus.server.LauncherBootstrapper -u administrator -p <password>
    
    
    ================ JEUS LICENSE INFORMATION ================
    === VERSION : JEUS 8 (8.0.0.0-b83)
    === EDITION: Enterprise (Trial License)
    === NOTICE: This license restricts the number of allowed clients.
    === Max. Number of Clients: 5
    ==========================================================
    
    This license is not appropriate for product runtime mode. Replace the license with an appropriate one.
    [2016.12.28 13:51:50][2] [launcher-1] [Launcher-0012] Starting the server [adminServer] with the command
    /usr/java/jdk1.7.0_80/bin/java 
    -DadminServer -Xmx1024m -XX:MaxPermSize=128m -server -Xbootclasspath/p:/home/was/jeus8/lib/system/extension.jar -classpath /home/was/jeus8/lib/system/bootstrap.jar
    -Djava.security.policy=/home/was/jeus8/domains/jeus_domain/config/security/policy
    -Djava.library.path=/home/was/jeus8/lib/system
    -Djava.endorsed.dirs=/home/was/jeus8/lib/endorsed 
    -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net
    -Djeus.jvm.version=hotspot -Djava.util.logging.config.file=/home/was/jeus8/bin/logging.properties
    -Dsun.rmi.dgc.server.gcInterval=3600000 
    -Djava.util.logging.manager=jeus.util.logging.JeusLogManager
    -Djeus.home=/home/was/jeus8 -Djava.net.preferIPv4Stack=true
    -Djeus.tm.checkReg=true -Dsun.rmi.dgc.client.gcInterval=3600000 
    -Djeus.domain.name=jeus_domain
    -Djava.naming.factory.initial=jeus.jndi.JNSContextFactory
    -Djava.naming.factory.url.pkgs=jeus.jndi.jns.url 
    -Djeus.server.protectmode=false -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/home/was/jeus8/domains/jeus_domain/servers/adminServer/logs/jvm.log
     jeus.server.admin.DomainAdminServerBootstrapper -u administrator -domain jeus_domain -server adminServer .
    [2016.12.28 13:51:50][2] [launcher-1] [Launcher-0014] The server[adminServer] is being started ...
    [2016.12.28 13:51:59][0] [adminServer-1] [SERVER-0000] Version information - JEUS 8 (8.0.0.0-b83).
    
    ... Omitted
    
    [2016.12.28 13:52:07][2] [adminServer-1] [SERVER-0248] The JEUS server is STANDBY.
    [2016.12.28 13:52:07][2] [adminServer-1] [SERVER-0248] The JEUS server is STARTING.
    [2016.12.28 13:52:07][2] [adminServer-1] [WEB-3413] The web engine is ready to receive requests.
    [2016.12.28 13:52:07][2] [adminServer-1] [UNIFY-0100] Listener information
            BASE (plain, 0.0.0.0 : 9736) - VIRTUAL 
                                             - JMXConnectionServer/JEUSMP_adminServer
                                             - JNDI
                                             - JMXConnectionServer/JeusMBeanServer
                                             - ClassFTP
                                             - FileTransfer
                                             - TransactionManager
                                             - SecurityServer
                                             - BootTimeFileTransfer
                                         - HTTP
     http-server (plain, 0.0.0.0 : 8808) - HTTP
    jms-internal (plain, 0.0.0.0 : 9941) - VIRTUAL 
                                             - JMSServiceChannel-internal
    
    [2016.12.28 13:52:07][2] [launcher-10] [Launcher-0034] The server[adminServer] initialization completed successfully[pid : 24542].
    [2016.12.28 13:52:07][0] [launcher-1] [Launcher-0040] Successfully started the server. The server state is now RUNNING.
    

    The previous messages show that DAS has been started normally, and the message "Successfully started server. The server is RUNNING now." is displayed.

    참고

    1. If an "Invalid License" message is displayed, there is a problem with the license. Obtain a license from TmaxSoft and copy it to the '$JEUS_HOME/license' directory.

    2. Verify that all the steps have been completed successfully and that the environment variables have been configured correctly. In particular, check that the '/jeus/bin' directory is included in the system path so that the startDomainAdminServer script can be executed.

  2. Enter startManagedServer in the console. The following message will be displayed. Enter the password that was specified with the '-p' option during the installation.

    [was@localhost ~]$ startManagedServer -domain jeus_domain -server server1 -u administrator -p <password>
    ***************************************************************
      - JEUS Home         : /home/was/jeus8
      - JEUS Base Port    :
      - Java Vendor       : Sun
      - Added Java Option :
    ***************************************************************
    + /usr/java/jdk1.7.0_80/bin/java -server -Xmx512m -Xbootclasspath/p:/home/was/jeus8/lib/system/extension.jar -classpath /home/was/jeus8/lib/system/bootstrap.jar
     -Dsun.rmi.dgc.client.gcInterval=3600000 
    -Dsun.rmi.dgc.server.gcInterval=3600000 
    -Djava.library.path=/home/was/jeus8/lib/system 
    -Djava.endorsed.dirs=/home/was/jeus8/lib/endorsed 
    -Djava.naming.factory.initial=jeus.jndi.JNSContextFactory 
    -Djava.naming.factory.url.pkgs=jeus.jndi.jns.url 
    -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=jeus.util.logging.JeusLogManager 
    -Djava.util.logging.config.file=/home/was/jeus8/bin/logging.properties 
    -Djeus.home=/home/was/jeus8 -Djeus.jvm.version=hotspot 
    -Djeus.tm.checkReg=true -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net jeus.server.ManagedServerLauncherBootstrapper -domain jeus_domain -server server1 -u administrator -p <password>
    
    ================ JEUS LICENSE INFORMATION ================
    === VERSION : JEUS 8 (8.0.0.0-b83)
    === EDITION: Enterprise (Trial License)
    === NOTICE: This license restricts the number of allowed clients.
    === Max. Number of Clients: 5
    ==========================================================
    This license is not appropriate for product runtime mode. Replace the license with an appropriate one.
    [2016.12.28 14:11:33][0] [launcher-1] [Launcher-0054] Starting the server using the local configuration.
    [2016.12.28 14:11:33][2] [launcher-1] [Launcher-0012] Starting the server [server1] with the command
    /usr/java/jdk1.7.0_80/bin/java -Dserver1 -Xmx1024m -XX:MaxPermSize=128m -server -Xbootclasspath/p:/home/was/jeus8/lib/system/extension.jar -classpath /home/was/jeus8/lib/system/bootstrap.jar 
    -Djava.security.policy=/home/was/jeus8/domains/jeus_domain/config/security/policy 
    -Djava.library.path=/home/was/jeus8/lib/system
    -Djava.endorsed.dirs=/home/was/jeus8/lib/endorsed 
    -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net 
    -Djeus.jvm.version=hotspot
    -Djava.util.logging.config.file=/home/was/jeus8/bin/logging.properties 
    -Dsun.rmi.dgc.server.gcInterval=3600000 
    -Djava.util.logging.manager=jeus.util.logging.JeusLogManager
    -Djeus.home=/home/was/jeus8 
    -Djava.net.preferIPv4Stack=true 
    -Djeus.tm.checkReg=true 
    -Dsun.rmi.dgc.client.gcInterval=3600000 
    -Djeus.domain.name=jeus_domain
    -Djava.naming.factory.initial=jeus.jndi.JNSContextFactory 
    -Djava.naming.factory.url.pkgs=jeus.jndi.jns.url
    -Djeus.server.protectmode=false -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/home/was/jeus8/domains/jeus_domain/servers/server1/logs/jvm.log
    jeus.server.ServerBootstrapper -domain jeus_domain -server server1 -u administrator -independent .
    [2016.12.28 14:11:33][2] [launcher-1] [Launcher-0014] The server[server1] is being started ...
    [2016.12.28 14:11:37][0] [server1-1] [SERVER-0000] Version information - JEUS 8 (8.0.0.0-b83).
    
    
    ... Omitted
    
    [2016.12.28 14:11:49][2] [server1-1] [WEB-3484] ServletContext[name=examples#welcome, path=/, ctime=Wed Dec 28 14:11:46 KST 2016] started successfully.
    [2016.12.28 14:11:49][2] [server1-1] [Deploy-0404] Successfully started the module [welcome.war] in the EAR [examples].
    [2016.12.28 14:11:49][2] [server1-1] [Deploy-0099] Successfully started the application[examples].
    [2016.12.28 14:11:49][2] [launcher-10] [Launcher-0034] The server[server1] initialization completed successfully[pid : 25468].
    [2016.12.28 14:11:49][0] [launcher-1] [Launcher-0040] Successfully started the server. The server state is now RUNNING.
    

    The previous messages show that the MS has been started normally, and the message "Successfully started server. The server is RUNNING now." is displayed.

    참고

    When JEUS MS is started successfully, examples will be deployed. To verify that the files have been successfully deployed, go to 'http://localhost:8088/examples/' in the web browser.

  3. Execute the following command in another console window. Enter the password that was specified with the '-p' option during the installation. In general, administrator's account is 'administrator' and the password is the one that was specified during JEUS installation.

    [was@localhost ~]$ jeusadmin -u administrator -p <password>
    Attempting to connect to 127.0.0.1:9736.
    The connection has been established to Domain Administration Server adminServer in the domain jeus_domain.
    JEUS8 Administration Tool
    To view help, use the 'help' command.
    [DAS]jeus_domain.adminServer>
  4. A message that JEUS has been started successfully will be displayed and the prompt shows that it is ready to accept user input.

  5. Open a web browser and enter the following URL in the address bar.

    http://localhost:9736/webadmin
  6. Enter the user name and password of the JEUS administrator, and click the [Login] button. In general, administrator's account is 'administrator' and the password is the one that was specified during JEUS installation.

    [그림 5.16] WebAdmin Login Screen

    WebAdmin Login Screen


  7. JEUS can be monitored in the WebAdmin.

    [그림 5.17] Main WebAdmin Page

    Main WebAdmin Page


  8. Select [Servers] under jeus_domain to start or stop a JEUS service or engine. The list of servers will appear in the right pane. Click [start] to start a server, or [stop] to stop a server. The node manager must be running or the SSH must be configured on the server. This function can only be used for Linux or Unix machines. For more information, refer to "JEUS Node Manager Guide".

    [그림 5.18] WebAdmin Servers

    WebAdmin Servers


  9. Log in to jeusadmin. The JEUS server can be controlled by using the local-start-server and local-shutdown commands of the tool.

    To terminate a JEUS server, enter local-shutdown and press <ENTER>.

    [DAS]jeus_domain.adminServer>local-shutdown
    The server [adminServer] has been shut down successfully.
  10. Enter exit to exit jeusadmin.

    exit

5.4. Uninstallation

This section describes how to uninstall JEUS in GUI and console mode.

5.4.1. Uninstalling JEUS in GUI Mode

This section describes how to uninstall JEUS in GUI mode. If GUI mode cannot be used for uninstallation, refer to "5.4.2. Uninstalling JEUS in Console Mode". To use the GUI uninstaller in UNIX, a console or terminal that supports Java GUI must be installed.

  1. Terminate all JEUS programs such as jeus script and WebAdmin.

  2. Execute '$JEUS_HOME/UninstallerData/Uninstall -i GUI' from where JEUS is installed as in the following.

    [jeususer@matrix UninstallerData]$./Uninstall -i GUI
    
  3. The Uninstall JEUS screen appears.

    [그림 5.19] Uninstalling JEUS in GUI Mode - Uninstall JEUS

    Uninstalling JEUS in GUI Mode - Uninstall JEUS


  4. Read the message, and then click [Uninstall] to uninstall JEUS. To cancel uninstallation, click [Cancel].

    참고

    Any files created after the installation of JEUS will not be removed. These files need to be deleted manually.

  5. Monitor the uninstallation progress.

    [그림 5.20] Uninstalling JEUS in GUI Mode - Uninstalling

    Uninstalling JEUS in GUI Mode - Uninstalling


  6. Check that the uninstallation has completed successfully. Click [Done] to finish the uninstallation.

    [그림 5.21] Uninstalling JEUS in GUI Mode - Uninstallation Complete

    Uninstalling JEUS in GUI Mode - Uninstallation Complete


5.4.2. Uninstalling JEUS in Console Mode

The following describes how to uninstall JEUS in console mode.

  1. Execute '$JEUS_HOME/UninstallerData/Uninstall' from where JEUS is installed to remove JEUS and the installation directories as shown in the following.

    [was@localhost ~ UninstallerData]$./Uninstall
  2. JEUS will be uninstalled. When the uninstallation is complete, a message that the uninstallation is complete is displayed.

    Preparing CONSOLE Mode Installation...
    
    ===============================================================================
    JEUS8                          (created with InstallAnywhere by Macrovision)
    -------------------------------------------------------------------------------
    
    ===============================================================================
    Uninstall JEUS8
    -----------------
    
    About to uninstall...
    
    JEUS8
    
    This will remove features installed by InstallAnywhere.  It will not remove 
    files and folders created after the installation.
    
    PRESS <ENTER> TO CONTINUE: 
    
    ===============================================================================
    Uninstalling...
    ---------------
    ...*
    *
    *************************
    *************************
    *************************
    ************************
    ...*
    *
    *************************
    *************************
    *************************
    ************************
    
    ...
    
    ===============================================================================
    Uninstallation Complete
    ------------------
    
    All items were successfully uninstalled.

5.5. Verifying Uninstallation

Check that all JEUS directories and files have been removed. Any files created after the installation of JEUS will not be removed. These files need to be deleted manually.