개발 / 운영 환경 설정파일

This commit is contained in:
snoop 2019-08-11 15:47:49 +09:00
parent 9c98d4268a
commit 8fa750d5ee
4 changed files with 523 additions and 14 deletions

278
xml/daemon-config-dev.xml Normal file
View File

@ -0,0 +1,278 @@
<?xml version="1.0" encoding="utf-8"?>
<daemon-config>
<node manager-port="9999">
<engine-container>
<!-- DB 데이터 수신 -->
<name>cms_NhsMasterDataRcv</name>
<command-option>-Xms128m -Xmx128m</command-option>
<type>kr.fujitsu.com.ffw.daemon.net.server.ActionServerContainer</type>
<action>biz.cms_NhsMasterDataRcv.NhsMasterDataRcvAction</action>
<tcp-configuration>
<accept-time-out>0</accept-time-out>
<connect-time-out>0</connect-time-out>
<read-time-out>3000</read-time-out>
</tcp-configuration>
<application-port>9061</application-port>
<container-management>
<internal-port>24011</internal-port>
<conditional-management>
<value>false</value>
<conditional-executor>
<type></type>
<first-execute-time></first-execute-time>
<execute-period></execute-period>
</conditional-executor>
</conditional-management>
</container-management>
<socket-filter>biz.comm.COMMHeaderFilter</socket-filter>
<access-logger>kr.fujitsu.com.ffw.daemon.net.logger.BasicServerAccessLogger</access-logger>
<thread-pool>
<init>5</init>
<max>30</max>
<min>5</min>
<idle>5</idle>
</thread-pool>
<engine-attribute>
</engine-attribute>
</engine-container>
<!-- 요청 응답 -->
<engine-container>
<name>cms_NhsSysInfoRcv</name>
<command-option>-Xms128m -Xmx128m</command-option>
<type>kr.fujitsu.com.ffw.daemon.net.server.ActionServerContainer</type>
<action>biz.cms_NhsSysInfoRcv.NhsSysInfoRcvAction</action>
<tcp-configuration>
<accept-time-out>0</accept-time-out>
<connect-time-out>0</connect-time-out>
<read-time-out>3000</read-time-out>
</tcp-configuration>
<application-port>9021</application-port>
<container-management>
<internal-port>24012</internal-port>
<conditional-management>
<value>false</value>
<conditional-executor>
<type></type>
<first-execute-time></first-execute-time>
<execute-period></execute-period>
</conditional-executor>
</conditional-management>
</container-management>
<socket-filter>biz.comm.COMMHeaderFilter</socket-filter>
<access-logger>kr.fujitsu.com.ffw.daemon.net.logger.BasicServerAccessLogger</access-logger>
<thread-pool>
<init>5</init>
<max>30</max>
<min>5</min>
<idle>5</idle>
</thread-pool>
<engine-attribute>
</engine-attribute>
</engine-container>
<!-- 파일 압축 처리 -->
<engine-container>
<name>cms_FileAgent</name>
<command-option>-Xms128m -Xmx128m</command-option>
<type>kr.fujitsu.com.ffw.daemon.net.polling.ActionPollingContainer</type>
<action>biz.cms_FileAgent.FileAgentPollingAction</action>
<tcp-configuration>
<accept-time-out>0</accept-time-out>
<connect-time-out>0</connect-time-out>
<read-time-out>0</read-time-out>
</tcp-configuration>
<application-port></application-port>
<container-management>
<internal-port>24021</internal-port>
<conditional-management>
<value>false</value>
<conditional-executor>
<type></type>
<first-execute-time></first-execute-time>
<execute-period></execute-period>
</conditional-executor>
</conditional-management>
</container-management>
<socket-filter>kr.fujitsu.com.ffw.daemon.net.filter.BasicByteFilter</socket-filter>
<access-logger>kr.fujitsu.com.ffw.daemon.net.logger.BasicServerAccessLogger</access-logger>
<thread-pool>
<init>1</init>
<max>1</max>
<min>1</min>
<idle>1</idle>
</thread-pool>
<engine-attribute>
<attribute>
<!-- ActionPollingContainer를 사용하기 위해서는 POLLING_PERIOD가 반드시 있어야 합니다. -->
<name>POLLING_PERIOD</name>
<value>600000</value><!-- 1000 * 5 즉, 5초, 이 컨테이너는 5초에 한번씩 자동합니다. -->
</attribute>
<attribute>
<name>ACTION_TIME</name>
<!-- <value>2045</value>HHMM 시간 지정시 해당 시분에 지정작업을 수행합니다. 9999 지정시 ACTION_TIME 무시되고 POLLING_PERIOD 주기마다 무조건 호출됨 -->
<value>1805</value>
</attribute>
</engine-attribute>
</engine-container>
</node>
<model>
<record-fetch restrict-level="none" max-count="100" />
<character-set>
<input>UTF-8,UTF-8</input>
<output>UTF-8,UTF-8</output>
</character-set>
<database name="NHS" >
<dbcp>
<default-auto-commit>false</default-auto-commit>
<default-transaction-isolation>
TRANSACTION_READ_COMMITED
</default-transaction-isolation>
<driver-class>
oracle.jdbc.driver.OracleDriver
</driver-class>
<initial-size>1</initial-size>
<log-abandoned>true</log-abandoned>
<max-active>50</max-active>
<max-idle>45</max-idle>
<max-wait>10000</max-wait>
<min-idle>10</min-idle>
<url>jdbc:oracle:thin:@10.0.40.95:1521:PCPOS</url>
<user>nexths</user>
<password>NextH$123</password>
<remove-abandoned>true</remove-abandoned>
<remove-abandoned-timeout>0</remove-abandoned-timeout>
<validation-query>SELECT SYSDATE FROM DUAL</validation-query>
</dbcp>
</database>
<database name="PCKR" >
<dbcp>
<default-auto-commit>false</default-auto-commit>
<default-transaction-isolation>
TRANSACTION_READ_COMMITED
</default-transaction-isolation>
<driver-class>
oracle.jdbc.driver.OracleDriver
</driver-class>
<initial-size>1</initial-size>
<log-abandoned>true</log-abandoned>
<max-active>50</max-active>
<max-idle>45</max-idle>
<max-wait>10000</max-wait>
<min-idle>10</min-idle>
<url>jdbc:oracle:thin:@10.0.50.147:1521:spcdev01</url>
<user>spp</user>
<password>spp</password>
<remove-abandoned>true</remove-abandoned>
<remove-abandoned-timeout>0</remove-abandoned-timeout>
<validation-query>SELECT SYSDATE FROM DUAL</validation-query>
</dbcp>
</database>
<database name="BRKR" >
<dbcp>
<default-auto-commit>false</default-auto-commit>
<default-transaction-isolation>
TRANSACTION_READ_COMMITED
</default-transaction-isolation>
<driver-class>
oracle.jdbc.driver.OracleDriver
</driver-class>
<initial-size>1</initial-size>
<log-abandoned>true</log-abandoned>
<max-active>50</max-active>
<max-idle>45</max-idle>
<max-wait>10000</max-wait>
<min-idle>10</min-idle>
<url>jdbc:oracle:thin:@10.0.50.147:1521:spcdev01</url>
<user>sbp</user>
<password>sbp</password>
<remove-abandoned>true</remove-abandoned>
<remove-abandoned-timeout>0</remove-abandoned-timeout>
<validation-query>SELECT SYSDATE FROM DUAL</validation-query>
</dbcp>
</database>
</model>
<!-- current : ./ sms-1.0.1/bin -->
<log-configuration>
<appender name="NHSMASTERDATARCV" class="kr.fujitsu.com.ffw.util.DatedFileAppender">
<param name="Directory" value="./../../logs/sms"/>
<param name="Prefix" value="nhsmasterdatarcv"/>
<param name="Suffix" value=".log"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n"/>
</layout>
</appender>
<appender name="NHSSYSINFORCV" class="kr.fujitsu.com.ffw.util.DatedFileAppender">
<param name="Directory" value="./../../logs/sms"/>
<param name="Prefix" value="nhssysinforcv"/>
<param name="Suffix" value=".log"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n"/>
</layout>
</appender>
<appender name="JSCHFTP" class="kr.fujitsu.com.ffw.util.DatedFileAppender">
<param name="Directory" value="./../../logs/sms"/>
<param name="Prefix" value="jschftpmanager"/>
<param name="Suffix" value=".log"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n"/>
</layout>
</appender>
<appender name="FILEAGENT" class="kr.fujitsu.com.ffw.util.DatedFileAppender">
<param name="Directory" value="./../../logs/sms"/>
<param name="Prefix" value="fileagent"/>
<param name="Suffix" value=".log"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n"/>
</layout>
</appender>
<logger name="biz.cms_NhsMasterDataRcv.NhsMasterDataRcvAction">
<level value="DEBUG"/>
<appender-ref ref="NHSMASTERDATARCV"/>
</logger>
<logger name="biz.cms_NhsSysInfoRcv.NhsSysInfoRcvAction">
<level value="DEBUG"/>
<appender-ref ref="NHSSYSINFORCV"/>
</logger>
<logger name="biz.cms_FileAgent.FileAgentPollingAction">
<level value="DEBUG"/>
<appender-ref ref="FILEAGENT"/>
</logger>
<logger name="biz.comm.JSCHFTPManager">
<level value="DEBUG"/>
<appender-ref ref="JSCHFTP"/>
</logger>
</log-configuration>
<resource-repository>
<resource type="property" src="./xml/stsys-property-dev.xml" />
<resource type="property" src="./xml/communication-property.xml" />
<resource type="sql" src="./xml/nhsmaster-sql.xml" />
<resource type="sql" src="./xml/nhssysinq-sql.xml" />
<resource type="sql" src="./xml/pos-sql.xml" />
<resource type="telegram" src="./xml/nhsmaster-form.xml" />
<!-- <resource type="property" src="D:\project\dd\sms-1.0.1\xml\stsys-property.xml" />
<resource type="property" src="D:\project\dd\sms-1.0.1\xml\communication-property.xml" />
<resource type="sql" src="D:\project\dd\sms-1.0.1\xml\nhsmaster-sql.xml" />
<resource type="sql" src="D:\project\dd\sms-1.0.1\xml\nhssysinq-sql.xml" />
<resource type="sql" src="D:\project\dd\sms-1.0.1\xml\pos-sql.xml" />
<resource type="telegram" src="D:\project\dd\sms-1.0.1\xml\nhsmaster-form.xml" /> -->
</resource-repository>
</daemon-config>

View File

@ -13,9 +13,9 @@
<connect-time-out>0</connect-time-out>
<read-time-out>3000</read-time-out>
</tcp-configuration>
<application-port>9061</application-port>
<application-port>29061</application-port>
<container-management>
<internal-port>24011</internal-port>
<internal-port>44011</internal-port>
<conditional-management>
<value>false</value>
<conditional-executor>
@ -47,9 +47,9 @@
<connect-time-out>0</connect-time-out>
<read-time-out>3000</read-time-out>
</tcp-configuration>
<application-port>9021</application-port>
<application-port>29021</application-port>
<container-management>
<internal-port>24012</internal-port>
<internal-port>44012</internal-port>
<conditional-management>
<value>false</value>
<conditional-executor>
@ -85,7 +85,7 @@
</tcp-configuration>
<application-port></application-port>
<container-management>
<internal-port>24021</internal-port>
<internal-port>44021</internal-port>
<conditional-management>
<value>false</value>
<conditional-executor>
@ -107,12 +107,12 @@
<attribute>
<!-- ActionPollingContainer를 사용하기 위해서는 POLLING_PERIOD가 반드시 있어야 합니다. -->
<name>POLLING_PERIOD</name>
<value>600000</value><!-- 1000 * 5 즉, 5초, 이 컨테이너는 5초에 한번씩 자동합니다. -->
<value>60000</value><!-- 1000 * 5 즉, 5초, 이 컨테이너는 5초에 한번씩 자동합니다. -->
</attribute>
<attribute>
<name>ACTION_TIME</name>
<!-- <value>2045</value>HHMM 시간 지정시 해당 시분에 지정작업을 수행합니다. 9999 지정시 ACTION_TIME 무시되고 POLLING_PERIOD 주기마다 무조건 호출됨 -->
<value>1805</value>
<value>0530</value>
</attribute>
</engine-attribute>
</engine-container>
@ -139,9 +139,9 @@
<max-idle>45</max-idle>
<max-wait>10000</max-wait>
<min-idle>10</min-idle>
<url>jdbc:oracle:thin:@10.0.40.95:1521:PCPOS</url>
<url>jdbc:oracle:thin:@10.0.50.177:1521:station</url>
<user>nexths</user>
<password>NextH$123</password>
<password>Nexth$1@</password>
<remove-abandoned>true</remove-abandoned>
<remove-abandoned-timeout>0</remove-abandoned-timeout>
<validation-query>SELECT SYSDATE FROM DUAL</validation-query>
@ -185,9 +185,9 @@
<max-idle>45</max-idle>
<max-wait>10000</max-wait>
<min-idle>10</min-idle>
<url>jdbc:oracle:thin:@10.0.50.147:1521:spcdev01</url>
<url>jdbc:oracle:thin:@10.0.50.142:1521:BRPOS</url>
<user>sbp</user>
<password>sbp</password>
<password>Spc_$bp!23</password>
<remove-abandoned>true</remove-abandoned>
<remove-abandoned-timeout>0</remove-abandoned-timeout>
<validation-query>SELECT SYSDATE FROM DUAL</validation-query>

231
xml/stsys-property-dev.xml Normal file
View File

@ -0,0 +1,231 @@
<?xml version="1.0" encoding="utf-8"?>
<property-resource key="stsys-property">
<property name="APP_ROOT">
<![CDATA[/CMBO]]>
</property>
<property name="SMS_ROOT">
<![CDATA[/CMBO/workspace/sms-1.0.1]]>
</property>
<property name="SERVER_NO">
<![CDATA[1]]>
</property>
<property name="FILECRT_ROOT">
<![CDATA[/POS/UPLOAD]]>
</property>
<property name="FTP_ROOT">
<![CDATA[/PGM]]>
</property>
<property name="FTP_HOME">
<![CDATA[/dev/CMBO]]>
</property>
<property name="FTP_IMG_TOTAL">
<![CDATA[/CDP/TOTAL]]>
</property>
<!--WEB POS DIR -->
<property name="WEB_CAMPAIGN_DIR">
<![CDATA[/cpi/img]]>
</property>
<!--동영상 관리 DIR -->
<property name="WEB_CDP_COM_DIR">
<![CDATA[/mst/posmain]]>
</property>
<property name="WEB_CUSTOMER_DIR">
<![CDATA[/mst/customer]]>
</property>
<property name="WEB_ITEM_DIR">
<![CDATA[/mst/item/sale]]>
</property>
<property name="WEB_TOUCH_DIR">
<![CDATA[/mst/item/touch]]>
</property>
<property name="WEB_GIF_DIR">
<![CDATA[/mst/item/gif]]>
</property>
<property name="WEB_TESTMODE_DIR">
<![CDATA[/mst/exam]]>
</property>
<property name="POS_ZIP_DIR">
<![CDATA[/CDP]]>
</property>
<property name="POS_CAMPAIGNIMG_DIR">
<![CDATA[/CDP/CAMPAIGN]]>
</property>
<property name="POS_CUSTOMER_DIR">
<![CDATA[/CDP/CUSTOMER]]>
</property>
<property name="POS_ITEMIMG_DIR">
<![CDATA[/CDP/ITEM]]>
</property>
<property name="POS_TESTMODE_DIR">
<![CDATA[/CDP/TEST_MODE]]>
</property>
<!--동영상 관리 DIR -->
<property name="POS_CDP_COM_DIR">
<![CDATA[/CDP/CDP_COM]]>
</property>
<property name="POS_CAMPAIGNIMG_TOTAL_DIR">
<![CDATA[/TOTAL/CAMPAIGN/CDP/CAMPAIGN]]>
</property>
<property name="POS_CUSTOMER_TOTAL_DIR">
<![CDATA[/TOTAL/CUSTOMER/CDP/CUSTOMER]]>
</property>
<property name="POS_ITEMIMG_TOTAL_DIR">
<![CDATA[/TOTAL/ITEM/CDP/ITEM]]>
</property>
<property name="POS_TESTMODE_TOTAL_DIR">
<![CDATA[/TOTAL/TEST_MODE/CDP/TEST_MODE]]>
</property>
<!--동영상 관리 DIR -->
<property name="POS_CDP_COM_TOTAL_DIR">
<![CDATA[/TOTAL/CDP_COM/CDP/CDP_COM]]>
</property>
<property name="EVTIMG_DIR">
<![CDATA[/IMG/EVENT]]>
</property>
<property name="CMP_CD">
<![CDATA[BRKR]]>
</property>
<property name="BRAND_CD">
<![CDATA[5000]]>
</property>
<property name="LANG_TYPE">
<![CDATA[ko-KR]]>
</property>
<property name="FTP_SERVER_IP">
<![CDATA[121.254.240.94]]>
</property>
<property name="FTP_SERVER_PORT">
<![CDATA[15638]]>
</property>
<property name="FTP_POS_PORT">
<![CDATA[15638]]>
</property>
<property name="FTP_SERVER_ID">
<![CDATA[nhsftp]]>
</property>
<property name="FTP_SERVER_PWD">
<![CDATA[aj9upe%DPv]]>
</property>
<property name="FTP_USER_HOME">
<![CDATA[/websvc/nhs_dd/files]]>
</property>
<property name="FTP_USER_HOME_NEW">
<![CDATA[/websvc/nhs_dd/files]]>
</property>
<property name="FTP_USER_HOME_REAL">
<![CDATA[/dev/CMBO]]>
</property>
<property name="SIGN_PAD_PATH">
<![CDATA[/PCKR/SIGNPAD]]>
</property>
<property name="INFRAFTP_SERVER_IP">
<![CDATA[211.108.6.162]]>
</property>
<property name="INFRAFTP_SERVER_PORT">
<![CDATA[15638]]>
</property>
<property name="INFRAFTP_SERVER_ID">
<![CDATA[npos_ftp]]>
</property>
<property name="INFRAFTP_SERVER_PWD">
<![CDATA[O5%-rLFLaK]]>
</property>
<property name="DEPLOY_PORT">
<![CDATA[8001]]>
</property>
<property name="MASTER_TM">
<![CDATA[1]]>
</property>
<property name="MASTER_DELAY">
<![CDATA[0]]>
</property>
<property name="PGM_TM">
<![CDATA[10]]>
</property>
<property name="PGM_DELAY">
<![CDATA[100]]>
</property>
<!-- BRKR 5000 FileAgent start -->
<!-- <property name="FTP_SERVER_FA">
<![CDATA[10.0.40.148]]>
</property>
<property name="FTP_SERVER2_FA">
<![CDATA[10.0.40.149]]>
</property>
<property name="FTP_ID_FA">
<![CDATA[nhsftp]]>
</property>
<property name="FTP_PWD_FA">
<![CDATA[aj9upe%DPv]]>
</property>
<property name="FTP_PORT_FA">
<![CDATA[15638]]>
</property>
<property name="FTP_POS_PORT_FA">
<![CDATA[500095]]>
</property>
<property name="USER_HOME_FA">
<![CDATA[/home/hs_dev]]>
</property>
<property name="USER_HOME_NAS_FA">
<![CDATA[/nas/nhs/dev/CMBO]]>
</property>
<property name="FTP_USER_HOME_FA">
<![CDATA[/dev/CMBO]]>
</property>
<property name="DAY_CNT_FA">
<![CDATA[/dev/CMBO]]>
</property> -->
<!-- BRKR 5000 FileAgent end -->
</property-resource>

View File

@ -142,15 +142,15 @@
</property>
<property name="FTP_USER_HOME">
<![CDATA[/home/hs_dev/files]]>
<![CDATA[/websvc/nhs_dd/files]]>
</property>
<property name="FTP_USER_HOME_NEW">
<![CDATA[/home/hs_dev/files]]>
<![CDATA[/websvc/nhs_dd/files]]>
</property>
<property name="FTP_USER_HOME_REAL">
<![CDATA[/dev/CMBO]]>
<![CDATA[/nhs/CMBO]]>
</property>