diff --git a/WebContent/META-INF/persistence.xml b/WebContent/META-INF/persistence.xml index 2668051..a013e0b 100644 --- a/WebContent/META-INF/persistence.xml +++ b/WebContent/META-INF/persistence.xml @@ -2,14 +2,11 @@ org.hibernate.jpa.HibernatePersistenceProvider jdbc/dsOBP_EMS - - - + + + - com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness - + com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp false @@ -17,14 +14,11 @@ org.hibernate.jpa.HibernatePersistenceProvider jdbc/dsOBP_EMS - - - + + + - com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness - + com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp false \ No newline at end of file diff --git a/WebContent/WEB-INF/applicationContext-jpa.xml b/WebContent/WEB-INF/applicationContext-jpa.xml index cd7fa7d..53b9b53 100644 --- a/WebContent/WEB-INF/applicationContext-jpa.xml +++ b/WebContent/WEB-INF/applicationContext-jpa.xml @@ -41,9 +41,7 @@ - - + @@ -66,15 +64,10 @@ - - - - - - + + + + diff --git a/WebContent/WEB-INF/applicationContext.xml b/WebContent/WEB-INF/applicationContext.xml index 5e52154..99fd189 100644 --- a/WebContent/WEB-INF/applicationContext.xml +++ b/WebContent/WEB-INF/applicationContext.xml @@ -52,10 +52,10 @@ - - + + + + diff --git a/WebContent/jsp/dashmain3.jsp b/WebContent/jsp/dashmain3.jsp new file mode 100644 index 0000000..c8cfe86 --- /dev/null +++ b/WebContent/jsp/dashmain3.jsp @@ -0,0 +1,2258 @@ +<%@ page language="java" contentType="text/html; charset=utf-8"%> +<%@ page import="java.util.List"%> +<%@ page import="com.eactive.eai.rms.common.context.MonitoringContext"%> +<%@ page import="com.eactive.eai.rms.common.util.CommonUtil"%> +<%@ page import="com.eactive.eai.rms.common.datasource.DataSourceType"%> +<%@ page import="com.eactive.eai.rms.common.datasource.DataSourceTypeManager"%> +<%@ page import="com.eactive.eai.common.util.SystemUtil"%> +<%@ include file="/jsp/common/include/localemessage.jsp" %> + +<% + response.setHeader("Pragma", "No-cache"); + response.setHeader("Cache-Control", "no-cache"); + response.setHeader("Expires", "0"); + request.setCharacterEncoding("utf-8"); + MonitoringContext monitoringContext = (MonitoringContext)CommonUtil.getBean(request, "monitoringContext"); + + String NEW_TITLE = (String) session.getAttribute(MonitoringContext.NEW_DASHBOARD_TITLE); + String fepBatchUrl = monitoringContext.getStringProperty("FEP_BATCH_SERVER", ""); + String eaiBatchUrl = monitoringContext.getStringProperty("EAI_BATCH_SERVER", ""); + + List srvList = DataSourceTypeManager.getOnlineDataSourceTypes(); + // 마지막 서버. interval 호출 시 확인을 위한 용도로 사용한다. + + int srvCnt = srvList.size(); + + String srvLast = srvList.get(srvCnt - 1).getName(); + + // 서버 리스트가 홀수 일 경우 Dummy를 추가해 짝수를 만든다. As-Is + if (srvCnt % 2 == 1) { + DataSourceType d = new DataSourceType(); + d.setName(""); + d.setText(""); + srvList.add(d); + } + +%> + + + +▣▣▣ EAI 모니터링 시스템 ▣▣▣ + + + + + + + + + + +
+
+ +
+ +
+ +
+
button
+
+ + + +
+ +

2020.02.26(수) 15:19:59

+ + + + + + + +
    +
  • " onclick="javascript:clearSmsInfo();" onfocus="blur();">SMS초기화
  • +
  • " onclick="javascript:btnSound();" onfocus="blur();" id="soundOption" >소리끄기
  • +
  • " onclick="javascript:btnPopupClose();" onfocus="blur();" >전체팝업닫기
  • +
  • " onclick="javascript:btnPopup();" onfocus="blur();" id="popOption">팝업끄기
  • +
+
+ + + + + +
+
+

MCI

+ <% for(int j = 1; j < 5; j++){ %> +
+ +
    +
  • CPU

  • +
  • MEM

  • +
  • DISK

  • +
+

<%= localeMessage.getString("dashMain.nA") %>

+
+ <%} %> +
+ +
+

EAI

+ <% for(int j = 1; j < 5; j++){ %> +
+ +
    +
  • CPU

  • +
  • MEM

  • +
  • DISK

  • +
+

<%= localeMessage.getString("dashMain.nA") %>

+
+ <%} %> +
+ +
+

FEP

+ <% for(int j = 1; j < 5; j++){ %> +
+ +
    +
  • CPU

  • +
  • MEM

  • +
  • DISK

  • +
+

<%= localeMessage.getString("dashMain.nA") %>

+
+ <%} %> +
+ +
+

OPA

+ <% for(int j = 1; j < 3; j++){ %> +
+ +
    +
  • CPU

  • +
  • MEM

  • +
  • DISK

  • +
+

<%= localeMessage.getString("dashMain.nA") %>

+
+ <%} %> +
+ +
+

<%= localeMessage.getString("dashMain.bat") %>

+ <% for(int j = 1; j < 3; j++){ %> +
+ +
    +
  • CPU

  • +
  • MEM

  • +
  • DISK

  • +
+

<%= localeMessage.getString("dashMain.nA") %>

+
+ <%} %> +
+ +
+

<%= localeMessage.getString("dashMain.bap") %>

+ <% for(int j = 1; j < 3; j++){ %> +
+ +
    +
  • CPU

  • +
  • MEM

  • +
  • DISK

  • +
+

<%= localeMessage.getString("dashMain.nA") %>

+
+ <%} %> + +
+
+ + + +
+

<%= localeMessage.getString("dashMain.tranProgTotSta") %>

+ + + + + + + + + + + + + + + + <% + int j; + if (srvCnt > 3) j = 3; + else j = srvCnt; + + for (int i = 0; i < j; i++) { + DataSourceType d = srvList.get(i); + + if (d.getName() != null && !"".equals(d.getName())) { + %> + + + + + + + + + + + + <% + } + } + %> + +
<%= localeMessage.getString("dashMain.bizGrp") %><%= localeMessage.getString("dashMain.tran") %><%= localeMessage.getString("dashMain.tranInc") %>TIMEOUT<%= localeMessage.getString("dashMain.timeOutInc") %><%= localeMessage.getString("dashMain.traErr") %><%= localeMessage.getString("dashMain.traErrInc") %><%= localeMessage.getString("dashMain.connErr") %><%= localeMessage.getString("dashMain.connErrInc") %>
<%=d.getText()%>" style="cursor: pointer">00" style="cursor: pointer">00" style="cursor: pointer">00" style="cursor: pointer">00
+ + + + + + + + + + + + + + + + + <% + for (int i = j; i < srvCnt; i++) { + DataSourceType d = srvList.get(i); + + if (d.getName() != null && !"".equals(d.getName())) { + %> + + + + + + + + + + + + <% + } + } + + %> + + + + + + + + + + + + + +
<%= localeMessage.getString("dashMain.bizGrp") %><%= localeMessage.getString("dashMain.tran") %><%= localeMessage.getString("dashMain.tranInc") %>TIMEOUT<%= localeMessage.getString("dashMain.timeOutInc") %><%= localeMessage.getString("dashMain.traErr") %><%= localeMessage.getString("dashMain.traErrInc") %><%= localeMessage.getString("dashMain.connErr") %><%= localeMessage.getString("dashMain.connErrInc") %>
<%=d.getText()%>00000000
<%= localeMessage.getString("dashMain.tot") %>00000000
+
+ + + + + + + + + + + +
<%= localeMessage.getString("dashMain.bap") %>

<%= localeMessage.getString("dashMain.norSend") %>

0

<%= localeMessage.getString("dashMain.norRecv") %>

0

<%= localeMessage.getString("dashMain.errSend") %>

0

<%= localeMessage.getString("dashMain.errRecv") %>

0

<%= localeMessage.getString("dashMain.waitSend") %>

0

<%= localeMessage.getString("dashMain.waitRecv") %>

0
+ + + + + + + + + + +
<%= localeMessage.getString("dashMain.bat") %>

<%= localeMessage.getString("dashMain.norSend") %>

0

<%= localeMessage.getString("dashMain.norRecv") %>

0

<%= localeMessage.getString("dashMain.errSend") %>

0

<%= localeMessage.getString("dashMain.errRecv") %>

0

<%= localeMessage.getString("dashMain.waitSend") %>

0

<%= localeMessage.getString("dashMain.waitRecv") %>

0
+ +
+ + + + +
+

거래처리 집계현황

+ + + + + + + + + + + + + + + +<% + for (int i = 0; i < srvCnt; i++) { + DataSourceType d = srvList.get(i); + + if (d.getName() != null && !"".equals(d.getName())) { + +%> + + + + + + + + + + + +<% + } + } + +%> + + + + + + + + + + + + +
업무그룹거래처리거래처리증가TIMEOUTTIMEOUT증가업무에러업무에러증가통신에러통신에러증가
<%=d.getText()%>00000000
합계00000000
+ + + + + + + + + + + + + + + + + + + + +
일괄전송

정상송신

0

정상수신

0

에러송신

0

에러수신

0

대기송신

0

대기수신

0
배치

정상송신

0

정상수신

0

에러송신

0

에러수신

0

대기송신

0

대기수신

0
+
+ + +
+ +
+

<%= localeMessage.getString("dashMain.errNotiSta") %>

+ + + + + + + + + + + <% +// for (int i = 1; i <= 6; i++) { + for (int i = 0; i < srvCnt+2; i++) { + %> + > + + + + + + <% + } + %> + +
<%= localeMessage.getString("dashMain.bizGrp") %><%= localeMessage.getString("dashMain.inst") %><%= localeMessage.getString("dashMain.time") %><%= localeMessage.getString("dashMain.mess") %>
+
+ + + +
+

Peak Day (TPS)

+ + + + + + + + + + + <% + for (int i = 0; i < srvCnt; i++) { + DataSourceType d = srvList.get(i); + if (d.getName() != null && !"".equals(d.getName())) { + %> + + + + + + + + + + <% + } + } + %> + + + + + + + + + + + + + +
<%= localeMessage.getString("dashMain.bizGrp") %><%= localeMessage.getString("dashMain.date") %><%= localeMessage.getString("dashMain.proUni") %>TPS
<%=d.getText()%>
<%= localeMessage.getString("dashMain.bap") %>
<%= localeMessage.getString("dashMain.bat") %>
+
+ +
+ + + + + + + + + + + + <%--