Tmax-Jeus-Webtob

[TmaxSoft] JEUS 8.5 설치

IT-PAPA 2023. 1. 27. 06:30
728x90
반응형

오늘은 Jeus 설치를 위한 과정을 소개하고자 한다.

개인이 사용하기에 무료라이선스를 사용할 수 있기 때문에 쉽게 접근할 수 있고, 설치도 어렵지 않다.

 

WebtoB 설치

[Tmaxsoft] WebtoB 5.0 웹서버 구축하기 (tistory.com)

 

[Tmaxsoft] WebtoB 5.0 웹서버 구축하기

Tmaxsoft 제품 중 웹서버 제품인 Webtob 구축하는 과정을 소개하고자 한다. 아래는 간단하게 WebtoB 설치 과정이니, 관심 있는 유저는 따라 해보길 바란다. WebtoB 메인 화면 TmaxSoft Technical Network [technet-02

betwe.tistory.com

 

TMAX 설치

[Tmaxsoft] 미들웨어 TMAX 5.0 구축 하기 (tistory.com)

 

JEUS 8.5 플랫폼 다운로드 페이지

TmaxSoft Technical Network [technet-01]

 

Message

 

technet.tmaxsoft.com

Jeus 8.5 다운로드 페이지
Jeus 8.5 다운로드 페이지

 

Jues 8.5 다운로드 for Linux 64-bit

Jeus8.5 파일 다운로드 for linux
Jeus8.5 파일 다운로드 for linux

 

Jues 8.5 설치 파일 업로드

Jeus 8.5 설치 파일 업로드
Jeus 8.5 설치 파일 업로드

반응형

hosts 파일 확인 : hostname ip 주소를 아래와 같이 지정된 IP로 설정해야 한다.

vi /etc/hosts

hosts 파일 설정
hosts 파일 설정

 

jdk 8 버전 이상 설치

sudo apt install openjdk-8-jdk -y

 

Jeus 8.5 설치파일 실행

chmod 750 jeus8500_unix_generic_ko.bin
./jeus8500_unix_generic_ko.bin

jeus8500_unix_generic_ko.bin 설치 파일 실행 시 화면
jeus8500_unix_generic_ko.bin 설치 파일 실행 시 화면

 

PRESS <ENTER> TO CONTINUE: 화면에서 ENTER 키 누르면서 진행

라이센스 사용 동의
라이센스 사용 동의

 

플랫폼 선택 : 필자는 default 값인 9를 선택

===============================================================================
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: 9):

 

Jeus 8.5 설치 경로 : 필자는 기본 값으로 세팅

===============================================================================
Installation Folder
-------------------

Enter the installation folder.

  Default Install Folder: /home/master/jeus8_5

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      :

 

JDK 선택 : Jeus 8.5 설치하기 전에 jdk 8 버전 이상은 필수로 설치하도록 하자

===============================================================================
Enter the JDK path.
-------------------

Enter the JDK path:

Enter the JDK path (Default: /usr/lib/jvm/java-8-openjdk-amd64):

 

설치 모드 선택 : 필자는 Production Mode로 선택

===============================================================================
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:

 

Jeus Domain 명칭 : 필자는 default 값인 jeus_domain으로 입력

===============================================================================
input JEUS Environments :: JEUS Domain Name
-------------------------------------------

Enter the
- JEUS Domain Name
- Enter alphanumeric characters (case-sensitive).

Domain Name (Default: jeus_domain):

 

DAS server name 입력 : 필자는 default 값인 adminServer 입력

===============================================================================
input JEUS Environments :: DAS Server Name
------------------------------------------

Enter the
- DAS Server Name
- Enter alphanumeric characters (case-sensitive).

DAS Server Name (Default: adminServer):

 

Jeus 기본 포트 : 9736 입력

===============================================================================
input JEUS Environments :: JEUS BASEPORT
----------------------------------------

Enter the
- JEUS BASEPORT
- Enter digits Only

JEUS BASEPORT (Default: 9736):

 

Admin user 입력 : administrator

===============================================================================
input JEUS Environments :: Admin User Name
------------------------------------------

Enter the
- Admin User Name
- Enter alphanumeric characters (case-sensitive).

Admin User Name (Default: administrator):

 

Admin 비밀번호 입력 : 필자는 wasadmin으로 입력

===============================================================================
Password Input
--------------

Enter the Password for the administrator account.


Input Password: wasadmin

 

Node manager 선택 : 필자는 java 선택

===============================================================================
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:

 

Sample directory 선택 : 필자는 yes

===============================================================================
Sample Directory
----------------

Do you want Sample Directory?

  ->1- yes
    2- no
    3- Previous

ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE 
   DEFAULT:

선택한 옵션 확인

===============================================================================
Pre-Installation Summary
------------------------

Review the Following Before Continuing:

Product Name:
    JEUS 8.5

Install Folder:
    /home/master/jeus8_5

Install Set:
    Domain Admin Server

Disk Space Information (for Installation Target): 
    Required:  620,129,202 Bytes
    Available: 40,205,615,104 Bytes

PRESS <ENTER> TO CONTINUE:

Jeus 설치 진행 화면
Jeus 설치 진행 화면

 

설치 완료 화면

===============================================================================
Installation Complete
---------------------

JEUS 8.5 has been successfully installed to:

     /home/master/jeus8_5

PRESS <ENTER> TO EXIT THE INSTALLER:

 

Jeus 8.5 설치된 폴더 

Jeus 설치된 폴더
Jeus 설치된 폴더

 

jeus.properties 에서 admin 계정 입력

vi /home/master/jeus8_5/bin/jeus.properties

jeus.properties 에서 admin 계정 입력
jeus.properties 에서 admin 계정 입력

 

startDomainAdminServer 실행

# jeus.properties 에서 admin 계정을 입력하지 않을 경우 시작 명령어
./startDomainAdminServer -domain jeus_domain -u administrator -p wasadmin

# jeus.properties 에서 admin 계정을 입력했을 경우 시작 명령어
./startDomainAdminServer
master@master:~/jeus8_5/bin$ ./startDomainAdminServer
***************************************************************
  - JEUS Home         : /home/master/jeus8_5                           
  - JEUS Base Port    :                        
  - Java Vendor       : etc                         
  - Added Java Option : -d64 -Djeus.vm.bits=64 -Djeus.io.buffer.size-per-pool=81920 -Djeus.cdi.enabled=false -Djeus.jms.server.manager.produce-wait-strategy-type=blocking -Djeus.servlet.sortWebinfLibraries=name_asc                           
***************************************************************
+ /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Xbootclasspath/p:/home/master/jeus8_5/lib/system/extension.jar -Djava.endorsed.dirs=/home/master/jeus8_5/lib/endorsed -Xmx256m -classpath /home/master/jeus8_5/lib/system/bootstrap.jar:/home/master/jeus8_5/lib/system/activation-1.1.1.jar -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.library.path=/home/master/jeus8_5/lib/system:/home/master/tibero6/lib:/home/master/tibero6/client/lib -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/master/jeus8_5/bin/logging.properties -Djeus.home=/home/master/jeus8_5 -Djeus.jvm.version=old -Djeus.tm.checkReg=true -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net jeus.server.LauncherBootstrapper -u administrator -p wasadmin

================ JEUS LICENSE INFORMATION ================
=== VERSION : JEUS 8.5 (8.5.0.0-b266025)
=== 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.
[2023.01.25 22:59:30][2] [launcher-1] [Launcher-0012] Starting the server [adminServer] with the command
 /usr/lib/jvm/java-8-openjdk-amd64/bin/java -DadminServer -Xms1024m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m -d64 -Djeus.vm.bits=64 -Djeus.io.buffer.size-per-pool=81920 -Djeus.cdi.enabled=false -Djeus.jms.server.manager.produce-wait-strategy-type=blocking -Djeus.servlet.sortWebinfLibraries=name_asc -Xbootclasspath/p:/home/master/jeus8_5/lib/system/extension.jar -classpath /home/master/jeus8_5/lib/system/bootstrap.jar -Djava.security.policy=/home/master/jeus8_5/domains/jeus_domain/config/security/policy -Djava.library.path=/home/master/jeus8_5/lib/system:/home/master/tibero6/lib:/home/master/tibero6/client/lib -Djava.endorsed.dirs=/home/master/jeus8_5/lib/endorsed -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net -Djeus.jvm.version=old -Djava.util.logging.config.file=/home/master/jeus8_5/bin/logging.properties -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.util.logging.manager=jeus.util.logging.JeusLogManager -Djeus.home=/home/master/jeus8_5 -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 jeus.server.admin.DomainAdminServerBootstrapper -u administrator -domain jeus_domain -server adminServer .
[2023.01.25 22:59:30][2] [launcher-1] [Launcher-0014] The server[adminServer] is being started ...
[2023.01.25 22:59:34][2] [adminServer-1] [SERVER-0248] The JEUS server is STARTING.
[2023.01.25 22:59:34:469][0] [adminServer-1] [SERVER-0000] Version information - JEUS 8.5 (8.5.0.0-b266025).
[2023.01.25 22:59:34:470][0] [adminServer-1] [SERVER-0001] java.specification.version=[1.8], java.runtime.version=[1.8.0_352-8u352-ga-1~20.04-b08], vendor=[Private Build]
[2023.01.25 22:59:34:471][2] [adminServer-1] [SERVER-0002] Domain=[jeus_domain], Server=[adminServer], baseport=[9736], pid=[12197]
[2023.01.25 22:59:34:491][2] [adminServer-1] [SERVER-0004] The current system time zone : 한국 표준시
[2023.01.25 22:59:34:531][2] [adminServer-1] [SERVER-0570] Check [jeus.jms.server.manager.produce-wait-strategy-type]. It may be incorrect.
[2023.01.25 22:59:34:532][2] [adminServer-1] [SERVER-0570] Check [jeus.io.buffer.size-per-pool]. It may be incorrect.
[2023.01.25 22:59:34:532][2] [adminServer-1] [SERVER-0570] Check [jeus.vm.bits]. It may be incorrect.
[2023.01.25 22:59:34:554][2] [adminServer-1] [SERVER-0568] Service address='master:9736', hostname='master', representation ip='192.168.87.128'
[2023.01.25 22:59:34:588][2] [adminServer-1] [SERVER-0561] The default RMI export port = 9743 and bind address = master/192.168.87.128.
[2023.01.25 22:59:34:683][2] [adminServer-1] [NET-0002] Beginning to listen to NonBlockingChannelAcceptor: master:9736.
[2023.01.25 22:59:34:864][1] [adminServer-1] [CloudSupport-0114] CloudServiceProvider is com.tmax.jeus.cloud.provider.JeusNonCloudDefaultProvider.
[2023.01.25 22:59:34:909][2] [adminServer-1] [SCF-0120] Virtual Multicast Transport has been successfully initialized.
[2023.01.25 22:59:34:913][2] [adminServer-1] [SCF-0126] Addresses of whole group for virtual multicast.
                                        192.168.87.128:9736(SCF)
                                        192.168.87.128:9936(SCF)

[2023.01.25 22:59:34:920][2] [adminServer-1] [SCF-0001] System Clustering Framework has been successfully initialized.
[2023.01.25 22:59:35:122][2] [adminServer-1] [JNSS-0009] The JNDI naming server has been successfully initialized.
[2023.01.25 22:59:35:133][2] [adminServer-1] [JNDI.Local-0001] Starting JNDI Local Client...
[2023.01.25 22:59:35:191][2] [adminServer-1] [JMXR-0138] JMXConnector service URL : service:jmx:jmxmp://192.168.87.128:9736/JeusMBeanServer
[2023.01.25 22:59:35:194][2] [adminServer-1] [JMXR-0138] JMXConnector service URL : service:jmx:jmxmp://192.168.87.128:9736/JEUSMP_adminServer
[2023.01.25 22:59:35:258][2] [adminServer-1] [JMX-0051] JMXConnector started with the JNDI name [mgmt/rmbs/adminServer].
[2023.01.25 22:59:35:351][2] [adminServer-1] [SCF-0210] Leader election state has been changed from 'UNKNOWN' to 'ELECTING'.
[2023.01.25 22:59:35:717][2] [adminServer-1] [Scheduler-0022] The JEUS scheduler has been exported as jeus_service/Scheduler.
[2023.01.25 22:59:35:718][2] [adminServer-1] [SERVER-0182] The SchedulerService started.
[2023.01.25 22:59:36:739][2] [adminServer-1] [JMS-7374] The persistence store manager for the JMS server 'adminServer' has been started.
[2023.01.25 22:59:36:831][2] [adminServer-1] [JMS-6843] Adding a destination: type=81, name=JEUSMQ_DLQ, export name=JEUSMQ_DLQ.
[2023.01.25 22:59:36:833][2] [adminServer-1] [JMS-6843] Adding a destination: type=81, name=JEUSMQ_AMQPQ, export name=JEUSMQ_AMQPQ.
[2023.01.25 22:59:36:879][2] [adminServer-1] [JMS-6822] The JMS engine with the server named adminServer has started.
[2023.01.25 22:59:36:920][2] [adminServer-1] [EJB-5501] EJB engine started successfully.
[2023.01.25 22:59:36:942][2] [adminServer-1] [WEB-1003] Socket send buffer size of this operating system = [8192], JEUS default output buffer size = [8192]
[2023.01.25 22:59:38:009][2] [adminServer-1] [WEB-1030] The web engine has started successfully.
[2023.01.25 22:59:38:058][2] [adminServer-56] [Deploy-0095] Distributing the application[webadmin].
[2023.01.25 22:59:38:068][2] [adminServer-1] [SERVER-0248] The JEUS server is STANDBY.
[2023.01.25 22:59:38:073][2] [adminServer-1] [SERVER-0248] The JEUS server is STARTING.
[2023.01.25 22:59:38:132][2] [adminServer-1] [WEB-3413] The web engine is ready to receive requests.
[2023.01.25 22:59:38:134][2] [adminServer-1] [NET-0002] Beginning to listen to NonBlockingChannelAcceptor: master:8808.
[2023.01.25 22:59:38:136][2] [adminServer-1] [NET-0002] Beginning to listen to NonBlockingChannelAcceptor: master:9941.
[2023.01.25 22:59:38:138][2] [adminServer-1] [UNIFY-0100] Listener information
                                     BASE (plain, master : 9736) - VIRTUAL - JMSServiceChannel-default
                                                                           - JMXConnectionServer/JEUSMP_adminServer
                                                                           - FileTransfer
                                                                           - System Clustering Framework
                                                                           - SecurityServer
                                                                           - ClassFTP
                                                                           - JMXConnectionServer/JeusMBeanServer
                                                                           - JNDI
                                                                           - TransactionManager
                                                                 - HTTP
                              http-server (plain, master : 8808) - HTTP
                             jms-internal (plain, master : 9941)
[2023.01.25 22:59:38:138][0] [adminServer-1] [SERVER-0242] Successfully started the server.
[2023.01.25 22:59:38:139][2] [adminServer-1] [SERVER-0248] The JEUS server is RUNNING.
[2023.01.25 22:59:38][2] [launcher-12] [Launcher-0034] The server[adminServer] initialization completed successfully[pid : 12197].
[2023.01.25 22:59:38][0] [launcher-1] [Launcher-0040] Successfully started the server[adminServer]. The server state is now RUNNING.

 

startDomainAdminServer 실행 시 jeus.server.JeusServerException: Starting the security manager failed. 해결 방법

 

 

[Tmax] Ubuntu 20.04 환경에서 Jeus8.5 도메인 서버 실행 시 오류

Ubuntu 환경에서 Jeus 8.5 버전을 설치 후 도메인 서버부터 기동하려니, 몇일째 구글링하고, 삽질하다가 결국 오늘 해내고야 말았다. 환경 OS : Ubuntu 20.04 64bit .profile jeus.properties 도메인 서버 실행 시

betwe.tistory.com

 

NodeManager 실행 : background로 실행되지 않기 때문에 nohup 명령어를 사용한다

nohup startNodeManager > [노드 매니저 로그 파일] &
nohup startNodeManager > ~/nodemanager.log &

nodemanager 실행 화면
nodemanager 실행 화면

 

Jeus WebAdmin 사이트 접속 : administrator / wasadmin

http://[서버 IP]:9736/webadmin/login
Jeus Webadmin 사이트 접속 화면
Jeus Webadmin 사이트 접속 화면

Jeus webadmin 로그인 완료 화면
Jeus webadmin 로그인 완료 화면

 

server1 접속

http://[서버 IP]:8088

server1 접속 화면
server1 접속 화면
server1 접속하기 위한 port 조회
server1 접속하기 위한 port 조회

 

Jeus NodeManager 종료 명령어

stopNodeManager -host [서버 IP] -port [노드 매니저 Port]
stopNodeManager -host localhost -port 7730

nodemanager 종료 화면
nodemanager 종료 화면

Jeus DAS 종료 명령어

jeusadmin -host [DAS IP:DAS PORT] -domain [도메인명] -u [관리자 ID] -p [관리자 PW] local-shutdown
jeusadmin -host localhost:9736 -domain jeus_domain -u administrator -p wasadmin local-shutdown

Jeus DAS 종료 명령어
Jeus DAS 종료 명령어

MS(Managed Server) 시작 명령어

startManagedServer -dasurl [DAS IP:DAS Port] -domain [도메인명] -server [서버명] -u [관리자 ID] -p [관리자 PW]
startManagedServer -dasurl localhost:9736 -domain jeus_domain -server server1 -u administrator -p wasadmin

 

MS(Managed Server) 종료 명령어

stopServer -host [MS_IP:MS_BASEPORT] -u [관리자 ID] -p [관리자 PW]
stopServer -host localhost:9936 -u administrator -p wasadmin

MS 시작/종료 버튼
MS 시작/종료 버튼

 

로그 경로 : 하위 폴더에 각각의 MS 서버 로그가 적재

$JEUS_HOME/domains/DOMAIN_NAME/servers
$JEUS_HOME/domains/DOMAIN_NAME/servers/$SERVER/logs/servlet/access.log : 웹 애플리케이션(사용자) 요청에 대한 접근 로그
$JEUS_HOME/domains/DOMAIN_NAME/servers/$SERVER/logs/JeusLauncher.log: 서버 기동 로그$JEUS_HOME/domains/DOMAIN_NAME/servers/$SERVER/logs/JeusServer.log: 서버에서 로깅하는 기본 로그$SERVER_HOME/logs/jvm.log: 서버 JVM에서 발생하는 로그 메시지

server 로그 폴더
server 로그 폴더

728x90
반응형
LIST