diff --git a/src/biz/cms_FileAgent/FileAgentDAO.java b/src/biz/cms_FileAgent/FileAgentDAO.java index f0f8f7f..93cf506 100644 --- a/src/biz/cms_FileAgent/FileAgentDAO.java +++ b/src/biz/cms_FileAgent/FileAgentDAO.java @@ -501,7 +501,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept String today = sdf.format(calendar.getTime()); try { - connect("PCKR"); + connect("BRKR"); //SEL_CALENDAR_DATE sql.put(findQuery("nhssysinq-sql", "SEL_CALENDAR_DATE")); sql.setString(++i, cmp_cd); @@ -582,7 +582,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept int i = 0; try { - connect("PCKR"); + connect("BRKR"); sql.put(findQuery("pos-sql", "SEL_SALESORG_LST")); sql.setString(++i, cmp_cd); @@ -607,7 +607,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept int i = 0; try { - connect("PCKR"); + connect("BRKR"); //logger.info("[SQL file div ] " + File_div); // 파일명 관리 테이블 파일명 그대로 select 함 if ("03".equals(File_div)){ // customer file @@ -689,7 +689,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept try { begin(); - connect("PCKR"); + connect("BRKR"); sql = new SqlWrapper(); Calendar calendar = new GregorianCalendar(Locale.KOREA); @@ -807,7 +807,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept int i = 0; try { - connect("PCKR"); + connect("BRKR"); //begin(); if("03".equals(file_div.toString()) ){ //customer image diff --git a/src/biz/cms_FileAgent/FileAgentPollingAction.java b/src/biz/cms_FileAgent/FileAgentPollingAction.java index 9e087fb..ef8364f 100644 --- a/src/biz/cms_FileAgent/FileAgentPollingAction.java +++ b/src/biz/cms_FileAgent/FileAgentPollingAction.java @@ -151,15 +151,23 @@ public class FileAgentPollingAction extends PollingAction { //file div 11: item 12: optn 13: CATE 14 :cate 15: screen 16: present 17: PRD_TAG 18: LOGO - makeItemImageCreate("PCKR","002",deploy_dt,"ITEM","ITEM",ls,hm,"11"); - makeItemImageCreate("PCKR","002",deploy_dt,"OPTN","OPTN",ls,hm,"12"); - makeItemImageCreate("PCKR","002",deploy_dt,"CAMPN","CAMPN",ls,hm,"13"); - makeItemImageCreate("PCKR","002",deploy_dt,"CATE","CATE",ls,hm,"14"); - makeItemImageCreate("PCKR","002",deploy_dt,"SCREEN","SCREEN",ls,hm,"15"); - makeItemImageCreate("PCKR","002",deploy_dt,"PRESENT","PRESENT",ls,hm,"16"); - makeItemImageCreate("PCKR","002",deploy_dt,"TAG","TAG",ls,hm,"17"); - makeItemImageCreate("PCKR","002",deploy_dt,"LOGO","LOGO",ls,hm,"18"); + // makeItemImageCreate("PCKR","002",deploy_dt,"ITEM","ITEM",ls,hm,"11"); + // makeItemImageCreate("PCKR","002",deploy_dt,"OPTN","OPTN",ls,hm,"12"); + // makeItemImageCreate("PCKR","002",deploy_dt,"CAMPN","CAMPN",ls,hm,"13"); + // makeItemImageCreate("PCKR","002",deploy_dt,"CATE","CATE",ls,hm,"14"); + // makeItemImageCreate("PCKR","002",deploy_dt,"SCREEN","SCREEN",ls,hm,"15"); + // makeItemImageCreate("PCKR","002",deploy_dt,"PRESENT","PRESENT",ls,hm,"16"); + // makeItemImageCreate("PCKR","002",deploy_dt,"TAG","TAG",ls,hm,"17"); + // makeItemImageCreate("PCKR","002",deploy_dt,"LOGO","LOGO",ls,hm,"18"); + makeItemImageCreate("BRKR","5000",deploy_dt,"ITEM","ITEM",ls,hm,"11"); + makeItemImageCreate("BRKR","5000",deploy_dt,"OPTN","OPTN",ls,hm,"12"); + makeItemImageCreate("BRKR","5000",deploy_dt,"CAMPN","CAMPN",ls,hm,"13"); + makeItemImageCreate("BRKR","5000",deploy_dt,"CATE","CATE",ls,hm,"14"); + makeItemImageCreate("BRKR","5000",deploy_dt,"SCREEN","SCREEN",ls,hm,"15"); + makeItemImageCreate("BRKR","5000",deploy_dt,"PRESENT","PRESENT",ls,hm,"16"); + makeItemImageCreate("BRKR","5000",deploy_dt,"TAG","TAG",ls,hm,"17"); + makeItemImageCreate("BRKR","5000",deploy_dt,"LOGO","LOGO",ls,hm,"18"); //makeOptnImageCreate("PCKR","OPTN",hm); //부가옵션이미지 diff --git a/xml/daemon-config.xml b/xml/daemon-config.xml index 40a94e0..bf9c68a 100644 --- a/xml/daemon-config.xml +++ b/xml/daemon-config.xml @@ -169,7 +169,30 @@ 0 SELECT SYSDATE FROM DUAL - + + + + false + + TRANSACTION_READ_COMMITED + + + oracle.jdbc.driver.OracleDriver + + 1 + true + 50 + 45 + 10000 + 10 + jdbc:oracle:thin:@10.0.50.147:1521:spcdev01 + sbp + sbp + true + 0 + SELECT SYSDATE FROM DUAL + +