취약적 patch version

This commit is contained in:
임장현
2026-09-07 20:59:12 +09:00
parent 7409a497b9
commit 7f98f9715e
32 changed files with 439 additions and 102 deletions
@@ -115,8 +115,8 @@ public class AppInitializer implements InitializingBean, DisposableBean {
System.out.println("==========================================================================");
System.out.println("# S U C C E S S : Batch System Configuration");
System.out.println("# Rule table Owner : "+tableOwner);
System.out.println("# Batch System Mode : "+systemMode);
//System.out.println("# Rule table Owner : "+tableOwner);
//System.out.println("# Batch System Mode : "+systemMode);
System.out.println("# Batch System Mode : [P(Product)/T(Test)/D(Develop)/S(Simulator)]");
System.out.println("==========================================================================");
@@ -125,36 +125,36 @@ public class AppInitializer implements InitializingBean, DisposableBean {
}
logger.debug("CodeMessageManager 메모리 로딩 시작 ------------------------------------------");
if (logger != null) logger.debug("CodeMessageManager 메모리 로딩 시작 ------------------------------------------");
try {
CodeMessageManager.getInstance().start();
} catch(LifecycleException e) {
logger.error( e.getMessage(), e);
if (logger != null) logger.error( e.getMessage(), e);
throw new RuntimeException(ExceptionUtil.getErrorCode(e,"BFCEAICWB001"));
}
logger.debug("CodeMessageManager 메모리 로딩 종료 ------------------------------------------");
if (logger != null) logger.debug("CodeMessageManager 메모리 로딩 종료 ------------------------------------------");
logger.debug("Property 메모리 로딩 시작 ------------------------------------------");
if (logger != null) logger.debug("Property 메모리 로딩 시작 ------------------------------------------");
try {
PropManager.getInstance().start();
} catch(LifecycleException e) {
logger.error( e.getMessage(), e);
if (logger != null) logger.error( e.getMessage(), e);
throw new RuntimeException(ExceptionUtil.getErrorCode(e,"BFCEAICWB001"));
}
logger.debug("Property 메모리 로딩 종료 ------------------------------------------");
if (logger != null) logger.debug("Property 메모리 로딩 종료 ------------------------------------------");
logger.debug("Logger 메모리 로딩 시작 ------------------------------------------");
if (logger != null) logger.debug("Logger 메모리 로딩 시작 ------------------------------------------");
try {
Logger.doConfigure();
} catch(Exception e) {
logger.error( e.getMessage(), e);
if (logger != null) logger.error( e.getMessage(), e);
}
logger.debug("Logger 메모리 로딩 종료 ------------------------------------------");
if (logger != null) logger.debug("Logger 메모리 로딩 종료 ------------------------------------------");
try {
SchedulerMessageManager.getInstance().deleteJobFromProcessing();
} catch (Exception e) {
logger.error(e.getMessage(), e);
if (logger != null) logger.error(e.getMessage(), e);
}
// try {
@@ -174,19 +174,19 @@ public class AppInitializer implements InitializingBean, DisposableBean {
// logger.error("RMSCLIENT AGENT CANNOT START ~~ !!!! - "+e.toString(),e);
// }
logger.debug("LifeCycle 관련 클래스 메모리 로딩 시작 ------------------------------------------");
if (logger != null) logger.debug("LifeCycle 관련 클래스 메모리 로딩 시작 ------------------------------------------");
LifecycleManager manager = LifecycleManager.getInstance();
if(manager instanceof Lifecycle) {
try {
manager.start();
} catch(LifecycleException e) {
logger.error( e.getMessage(), e);
if (logger != null) logger.error( e.getMessage(), e);
throw new RuntimeException(ExceptionUtil.getErrorCode(e,"BECEAICWB002"));
}
}
logger.debug("LifeCycle 관련 클래스 메모리 로딩 종료 ------------------------------------------");
logger.debug("배치 프레임웍 Application 초기화 종료!");
if (logger != null) logger.debug("LifeCycle 관련 클래스 메모리 로딩 종료 ------------------------------------------");
if (logger != null) logger.debug("배치 프레임웍 Application 초기화 종료!");
}
/**
@@ -202,7 +202,7 @@ public class AppInitializer implements InitializingBean, DisposableBean {
public void destroy()
{
Logger logger = Logger.getLogger(Logger.LOGGER_DEFAULT);
logger.debug("@ eLink Batch Application destroying.");
if (logger != null) logger.debug("@ eLink Batch Application destroying.");
LifecycleManager manager = LifecycleManager.getInstance();
@@ -225,7 +225,7 @@ public class AppInitializer implements InitializingBean, DisposableBean {
} catch ( Exception e ) {
throw new RuntimeException(ExceptionUtil.getErrorCode(e,"BECEAICWB005"));
}
logger.debug("\n\n");
if (logger != null) logger.debug("\n\n");
}
@Override
public void afterPropertiesSet() throws Exception {