1. jeusadmin

Executes jeusadmin. The file is in the 'JEUS_HOME/bin' directory.

  • Usage

    jeusadmin [-u,--username <user-name>]
              [-p,--password <password>]
              [-f <file-name>]
              [-cachelogin]
              [-d,--domain <domain-name>]
              [-host <server-address>]
              [-port <server-port>]
              [-verbose]
              [-help]
              [<target-command>]
              [-version]
              [-fullversion]
              [-buildversion]
              [-licensedue]
              [-licenseinfo]
              [-debug]
              [-script (<script-file>|"<script-file> <args> ...")]
              [-i,--ignore]
  • Parameters

    Parameter Description

    [-u, --username <user-name>]

    User name.

    If set, jeusadmin tries to access the server when it starts.

    [-p, ---password <password>]

    Password.

    If set, jeusadmin tries to access the server when it starts.

    [-f <file-name>]

    File that contains the user name and password required to access the server.

    [-cachelogin]

    Option to cache the user name and password used to access a specific domain or the default domain.

    [-d, --domain <domain-name>]

    Name of the domain to connect.

    [-host <server-address>

    Server address to connect to.

    If the [-u] and [-p] options are set without the host option, jeusadmin tries to connect to the localhost.

    [-port <server-port>]

    Port number to connect to.

    If the [-u] and [-p] options are set without the port option, jeusadmin tries to connect through port 9736.

    [-verbose]

    Option to display details when an error occurs.

    [-help]

    Option to display help for jeusadmin.

    [<target-command>]

    Option to re-execute the <target-command>. This is useful when using a script.

    If the command requires a connection to the server, required options, such as [-u], [-p], [-host], and [-port], must be provided.

    [-version]

    Option to display the major version of JEUS.

    [-fullversion]

    Option to display major and minor versions of JEUS.

    [-buildversion]

    Option to display major and build versions of JEUS.

    [-licensedue]

    Option to display the number of days the license is valid. If the number is 0, JEUS can no longer run, and a new license must be issued by TmaxSoft.

    [-licenseinfo]

    Option to display the current license information.

    [-debug]

    Option to display the log messages in jeusadmin through Jeus Logger.

    [-script (<script-file>|"<script-file> <args> …​")]

    Executes jeusadmin in script mode. File extenders must be .py (Python), or .rb (Ruby).

    [-i,--ignore]

    Option to continuolsy execute the script even if an when running JEUS command exception occurs in script mode. Only available in the script mode.

  • Example

    The following example assumes that the user name is 'administrator' and password is 'jeus'.

    • Executing jeusadmin

      The following is an example of executing jeusadmin.

      JEUS_HOME/bin$jeusadmin
      JEUS 9 Administration Tool
      To view help, use the 'help' command.
      offline>
    • Connecting to the server at startup (1st method)

      The following is an example of connecting to the server at localhost:9736.

      JEUS_HOME/bin$jeusadmin -u administrator -p jeus
      Attempting to connect to 127.0.0.1:9736.
      The connection has been established to JEUS Master Server [adminServer] in the domain [domain1].
      JEUS 9 Administration Tool
      To view help, use the 'help' command.
      [MASTER]domain1.adminServer>
    • Connecting to a server when starting up (2nd method)

      The following is an example of connecting to the server by specifying the IP address and port number.

      JEUS_HOME/bin$jeusadmin -u administrator -p jeus -host 192.168.0.1 -port 9746
      Attempting to connect to 192.168.0.1:9746.
      The connection has been established to JEUS Master Server [adminServer] in the domain [domain1].
      JEUS 9 Administration Tool
      To view help, use the 'help' command.
      [MASTER]domain1.adminServer>
    • Checking the license information

      The following is an example of checking for the JEUS license.

      JEUS_HOME/bin$jeusadmin -licensedue
      Unlimited
      
      JEUS_HOME/bin$jeusadmin -licenseinfo
      ====================  LICENSE INFORMATION =====================
      == EDITION : Enterprise (Trial License)
      == ISSUE-DAY : 2016/1/16
      == LICENSE SEQNO : xxx-xxxx-xxx-xxxx
      ================================================================
  • Connecting to jeusadmin using SSL

    In order to connect to jeusadmin using SSL, configure the following system properties in the jeusadmin execution script file. The values of system properties depend on the SSL configuration of the server.

    . . .
    # execute jeusadmin
     "${JAVA_HOME}/bin/java" -Xmx128m -classpath "${BOOTSTRAP_CLASSPATH}" ${TOOL_OPTION}
          -Djmx.remote.x.request.timeout=600000
          -Djeus.home="${JEUS_HOME}"
          -Djeus.tool.console.useJLine="false"
          -Djava.naming.factory.initial=jeus.jndi.JEUSContextFactory
          -Djava.naming.factory.url.pkgs=jeus.jndi.jns.url
          -Djava.util.logging.config.file="${JEUS_HOME}/bin/logging.properties"
          -Djeus.net.client.use-ssl=true
          -Djavax.net.ssl.trustStore=${JEUS_HOME}/domains/domain1/config/truststore
          -Djavax.net.ssl.trustStorePassword=changeit
          -Djavax.net.ssl.trustStoreType=JKS
          -Dssl.TrustManagerFactory.algorithm=SunX509
          ${JAVA_ARGS}
          jeus.tool.console.ConsoleBootstrapper ${BOOT_PARAMETER}