LNA Web Application Server

Q & A

Application Server 실행 문의

  • n*loud24
  • 2020-01-13 10:08
  • 01-13 10h

설치 진행 과정
[lena@test-lyh bin]$ ./install.sh create lena-se


  • LENA Server Install ! *

+-------------------------------------------------------------------------------------
| 1. SERVER_ID means business code of system and its number of letter is from 3 to 5.
| ex : lean_8180, lena01
| 2. SERVICE_PORT is the port number used by HTTP Connector.
| ex : 8180
| 3. RUN_USER is user running LENA Server
| ex : lena, wasadm
| 4. INSTALL_ROOT_PATH is is server root directory in filesystem.
| ex : /engn001/lena/1.2/servers
| 5. JVM_ROUTE is the name of a balanced worker for web-server.
| ex : host1_8180
+-------------------------------------------------------------------------------------
Input SERVER_ID for execution. (q:quit)
lenawas1
Input SERVICE_PORT for execution. (q:quit)
Default value is '7000'
8080
Input RUN_USER for execution. (q:quit)
Default value is 'lena'

Input INSTALL_ROOT_PATH for execution. (q:quit)
Default value is '/home/lena/lena/servers'

Input JVM_ROUTE for execution. (q:quit)
Default value is '227b14034b6d06161'

========================= Execution Result ========================
LENA_HOME : /home/lena/lena
JAVA_HOME : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64
SERVER_ID : lenawas1
SERVICE_PORT : 8080
RUN_USER : lena
INSTALL_PATH : /home/lena/lena/servers/lenawas1
RESULT : Success
MESSAGE : create succeeded

Execution is completed.!!

Application Server 실행 과정

[lena@test-lyh lenawas1]$ pwd/home/lena/lena/servers/lenawas1[lena@test-lyh lenawas1]$ ./start.shPrevious log does not existPrevious access log does not exist

 LENA Application Server    

Using LENA_HOME : /home/lena/lena
Using JRE_HOME : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64
Using SERVER_HOME : /home/lena/lena/servers/lenawas1
Using SERVER_PID : /home/lena/lena/servers/lenawas1/lenawas1_test-lyh.pid
Using SERVER_ID : lenawas1
Using INSTANCE_NAME : lenawas1_test-lyh
LENA started.
[lena@test-lyh lenawas1]$ netstat -nlpt
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:7625 0.0.0.0:* LISTEN 3946/java
tcp 0 0 0.0.0.0:7629 0.0.0.0:* LISTEN 3946/java
tcp 0 0 0.0.0.0:7700 0.0.0.0:* LISTEN 3946/java
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:16800 0.0.0.0:* LISTEN 3215/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:25 :::* LISTEN -

위와 같이 실행하였으나 netstat로 확인 시 서비스 포트가 올라오지 않는 현상이 있습니다.
start.sh 파일 실행시에도 별도의 에러는 확인되지 않습니다.

설치 방법 및 실행 방법이 잘못된 것인지 확인 부탁드립니다.

답변

  • 2020-01-13 11:21
  • 01-13 11h

안녕하세요 LENA기술 지원 담당자 입니다.

서버 인스턴스가 기동되지 않는것은 라이선스가 만료되어서 그런것 같습니다.(로그확인필요)

필요시 아래의 양식으로 임시 라이선스를 요청해 주시길 바랍니다.

프로젝트명:
업체명:
구분(개발/운영/테스트):
담당자명/연락처:

lena-support@lgcns.com
메일로 회신 부탁드립니다.

감사합니다.

Application Server 실행 문의

  • n*loud24
  • 2020-01-13 14:47
  • 01-13 14h

답변해 주신 사항대로 임시 라이선스 발급 후 등록을 위해 라이선스 교체 가이드를 참고하여 확인 시 아래 사진과 같은 화면이 보여 문의 드립니다.

description

금일 처음 설치한 서버라 라이선스 만료랑은 관계가 없는 것으로 보입니다.

답변

  • 2020-01-13 14:53
  • 01-13 14h

안녕하세요 LENA기술지원 담당자 입니다.

라이선스는 Node단위로 발급이 됩니다.

WEB/WAS Node를 먼저 등록하시면 라이선스 등록이 가능합니다.

감사합니다.

8080 포트 확인 불가능

  • n*loud24
  • 2020-01-13 15:16
  • 01-13 15h

전달해주신 대로 Node 및 라이선스 파일 등록 후 신규로 올라오는 포트는 확인 하였으나 설치할때 8080 포트로 설정된 포트는 확인 되지 않습니다.
실행
description

실행 이후 netstat 포트 확인
description

실행 시킬 당시의 catalina.out 로그


Starting LENA Application Server (Standard Edition)
Version : 1.2.5
Node UUID File does not exist.
License Type : Trial
License Term : 20200113 ~ 20200212
License Status : License is valid.


Jan 13, 2020 3:09:19 PM org.apache.catalina.security.SecurityListener checkUmask
WARNING: No umask setting was found in system property [org.apache.catalina.security.SecurityListener.UMASK]. However, it appears Tomcat is running on a platform that supports umask. The system property is typically set in CATALINA_HOME/bin/catalina.sh. The Lifecycle listener org.apache.catalina.security.SecurityListener (usually configured in CATALINA_BASE/conf/server.xml) expects a umask at least as restrictive as [0007]
Jan 13, 2020 3:09:19 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.16 using APR version 1.6.3.
Jan 13, 2020 3:09:19 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jan 13, 2020 3:09:19 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2o 27 Mar 2018)
Jan 13, 2020 3:09:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-auto-1"]
Jan 13, 2020 3:09:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-auto-2"]
Jan 13, 2020 3:09:19 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1075 ms
Node UUID File does not exist.
Jan 13, 2020 3:09:19 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 13, 2020 3:09:19 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: LENA/1.2.5
Jan 13, 2020 3:09:19 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/lena/lena/servers/lenawas1/conf/Catalina/localhost/ROOT.xml
Jan 13, 2020 3:09:20 PM org.apache.catalina.core.StandardContext setPath
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
Jan 13, 2020 3:09:21 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jan 13, 2020 3:09:21 PM org.apache.tomcat.websocket.server.WsSci onStartup
INFO: JSR 356 WebSocket (Java WebSocket 1.1) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocket JARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.
Jan 13, 2020 3:09:21 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor /home/lena/lena/servers/lenawas1/conf/Catalina/localhost/ROOT.xml has finished in 1,399 ms
Jan 13, 2020 3:09:21 PM org.apache.catalina.core.StandardService startInternal
SEVERE: Failed to start connector [Connector[HTTP/1.1-auto-1]]
org.apache.catalina.LifecycleException: Failed to start component [Connector[HTTP/1.1-auto-1]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:460)
at argo.server.catalina.core.ArgoStandardService.startInternal(ArgoStandardService.java:302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:758)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.startup.Catalina.start(Catalina.java:705)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the specified port value of [-1] is invalid
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1000)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 12 more
Jan 13, 2020 3:09:21 PM org.apache.catalina.core.StandardService startInternal
SEVERE: Failed to start connector [Connector[AJP/1.3-auto-2]]
org.apache.catalina.LifecycleException: Failed to start component [Connector[AJP/1.3-auto-2]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:460)
at argo.server.catalina.core.ArgoStandardService.startInternal(ArgoStandardService.java:302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:758)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.startup.Catalina.start(Catalina.java:705)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the specified port value of [-1] is invalid
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1000)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 12 more
Jan 13, 2020 3:09:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1490 ms

확인 부탁드립니다.