Frequently Asked Questions

일반사항

  1. Glue Job Scheduler 용 라이센스가 따로 있나요?
  2. default 메모리 사용량은 어떻게 되나요? (서버, Job실행시)

설치사항

  1. Server가 실행되지 않습니다( ORA-00942: table or view does not exist )
  2. Server가 실행되지 않습니다( value too long for type character varying(1) )
  3. Server는 실행되었으나, Job이 실행되지 않습니다.( ORA-00942: table or view does not exist )
  4. 어느 순간부터 Job이 실행되지 않습니다.( Got minus one from a read call )
  5. Server 상태를 확인하는 방법에는 어떤 것이 있나요?
  6. 어떤 DB를 사용할 수 있나요?

개발사항

  1. Job 실행 로그의 한글이 깨집니다.
  2. Job 이 실행되지 않습니다. ( Cannot run program ".." )
  3. Job 이 실행되지 않습니다. ( Main method not found in class .. )
  4. Job 실행이 되지 않습니다. ( Class path contains multiple SLF4J bindings. )
  5. Job실행시 에러가 발생합니다. ( Error configuring from /SCH/NIMCM/apps/usrconf/ehcache.xml )
  6. Job실행시 에러가 발생합니다. ( /EAI2/uCUBE/CM/config/cfg/JMSSEND_CM_GLUE.xml (No such file or directory) )
  7. Job실행시 에러가 발생합니다. ( /EAI2/uCUBE/CM/config/iglue_ifd/M0AH-0006-01.ifd (No such file or directory) )
  8. Job을 호출했는데, 실행이력(History화면)에 나타나지 않습니다.

기타

  1. DB연결에 많은 시간이 소요되거나, 연결이 잘 안됩니다.( java.net.SocketException: Connection reset, IO Error: Connection reset )

일반사항

Glue Job Scheduler 용 라이센스가 따로 있나요?

Glue Framework용 라이센스를 적용하면 됩니다.


default 메모리 사용량은 어떻게 되나요? (서버, Job실행시)

InitialHeapSize 는 16MB, MaxHeapSize는 256 입니다.

C:\Users\Administrator>java -XX:+PrintFlagsFinal -version | findstr HeapSize
    uintx ErgoHeapSizeLimit                         = 0               {product}
    uintx InitialHeapSize                          := 16777216        {product}
    uintx LargePageHeapSizeThreshold                = 134217728       {product}
    uintx MaxHeapSize                              := 268435456       {product}
java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)

설치사항

Server가 실행되지 않습니다( ORA-00942: table or view does not exist )

scheduler-server.log 에 다음과 같은 Error가 발생했다면, Table 생성여부를 확인하세요. synonym 을 부여해서 사용하는 경우 synonym 생성여부도 확인하세요.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in class path resource [applicationContext-scheduler.xml]: Invocation of init method failed;
 nested exception is com.poscoict.glueframework.dao.GlueBadSqlGrammarException: PreparedStatementCallback;
 bad SQL grammar [select ADDR from SCHEDULE_SERVER where SCHEDULER_NAME=? and ADDR!=?];
 nested exception is java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

Server가 실행되지 않습니다( value too long for type character varying(1) )

scheduler-server.log 에 다음과 같은 Error가 발생했다면, Quartz JDBCJobStore 용 DB script가 postgresql 용인지 체크하세요.

org.quartz.JobPersistenceException: Couldn't store job: ERROR: value too long for type character varying(1) [See
 nested exception: com.edb.util.PSQLException: ERROR: value too long for type character varying(1)]

Server는 실행되었으나, Job이 실행되지 않습니다.( ORA-00942: table or view does not exist )

scheduler-server.log 에 다음과 같은 Error가 발생했다면, 시퀀스 생성여부와 권한을 확인하세요.

org.springframework.dao.DataAccessResourceFailureException: Could not obtain sequence value;
 nested exception is java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
org.springframework.dao.DataAccessResourceFailureException: Could not obtain sequence value;
 nested exception is com.edb.util.PSQLException: ERROR: translation for synonym "sq_job_history_id" is no longer valid

어느 순간부터 Job이 실행되지 않습니다.( Got minus one from a read call )

scheduler-server.log 에 다음과 같은 Error가 발생했다면, DB가 죽었는지 확인하세요

org.quartz.SchedulerException: TriggerListener 'com.poscoict.app.quartz.listener.GlueSchedulerTriggerListener' threw exception: Could not get JDBC Connection; 
 nested exception is java.sql.SQLRecoverableException: IO Error: Got minus one from a read call

Server 상태를 확인하는 방법에는 어떤 것이 있나요?
[Manager로 점검하는 예시]

[curl명령어로 점검하는 예시]

[ps명령어로 점검하는 예시]


어떤 DB를 사용할 수 있나요?
Oracle, PPAS, mySQL, Maria 를 지원합니다.
mySQL 과 Maria는 1.4.2 버전부터 지원하며,
타 DB는 동일한 기능의 1.4.1 을 사용하시면 됩니다.

개발사항

Job 실행 로그의 한글이 깨집니다.

실행옵션을 통해 JavaOption(-D 옵션)을 추가합니다. file.encoding


Job 이 실행되지 않습니다. ( Cannot run program ".." )

scheduler-server.log 에 다음과 같은 Error가 발생했다면, Job 실행옵션의 javaPath 의 이상이 없는지 확인하세요.

org.quartz.JobExecutionException: java.io.IOException: Cannot run program "/SCH/jdk1.7/bin/java" (in directory "/SCH/TTPCM/logs"): error=2, No such file or directory
 at com.posco.glue.server.cm.PoscoJob.runJavaProcess(PoscoJob.java:116) ~[scheduler-server.jar:1.1.2]
 at com.posco.glue.server.cm.PoscoJob.execute(PoscoJob.java:95) ~[scheduler-server.jar:1.1.2]
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.2.1.jar:na]
 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.2.1.jar:na]
 Caused by: java.io.IOException: Cannot run program "/SCH/jdk1.7/bin/java" (in directory "/SCH/TTPCM/logs"): error=2, No such file or directory
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) ~[na:1.7.0_71]
 at com.posco.glue.server.cm.PoscoJob.runJavaProcess(PoscoJob.java:113) ~[scheduler-server.jar:1.1.2]
 ... 3 common frames omitted
 Caused by: java.io.IOException: error=2, No such file or directory
 at java.lang.UNIXProcess.forkAndExec(Native Method) ~[na:1.7.0_71]
 at java.lang.UNIXProcess.<init>(UNIXProcess.java:186) ~[na:1.7.0_71]
 at java.lang.ProcessImpl.start(ProcessImpl.java:130) ~[na:1.7.0_71]
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028) ~[na:1.7.0_71]
 ... 4 common frames omitted

Job 이 실행되지 않습니다. ( Main method not found in class .. )

scheduler-server.log 에 다음과 같은 Error가 발생했다면, Job 실행옵션의 실행유형(class) 을 확인하세요.

2016-01-26 18:57:03,255 [scheduler_Worker-10] DEBUG com.posco.glue.server.cm.listener.PoscoSchedulerJobListener - ##################### JobListener.jobToBeExecuted(context) JobExecutionContext: trigger: 'DEFAULT.MT_3ri9akdbomj7u job: M12.POS_M120_KM10CQ20 fireTime: 'Tue Jan 26 18:57:03 KST 2016 scheduledFireTime: Tue Jan 26 18:57:03 KST 2016 previousFireTime: 'null nextFireTime: null isRecovering: false refireCount: 0
2016-01-26 18:57:03,258 [scheduler_Worker-10] TRACE com.posco.glue.server.cm.PoscoJob - Type : Java Process - using class
2016-01-26 18:57:03,258 [scheduler_Worker-10] TRACE com.posco.glue.server.cm.PoscoJob - [org.quartz.utils.DirtyFlagMap$DirtyFlagMapEntrySet@dddbe21]
2016-01-26 18:57:03,258 [scheduler_Worker-10] TRACE com.posco.glue.server.cm.PoscoJob - /SCH/jdk1.7/bin/java -Dlog.file=/SCH/IEMCM/logs/M12.POS_M120_KM10CQ20/DEFAULT/POS_M120_KM10CQ20_20160126185703.log -DCONFIG_PATH=/SCH/IEMCM/apps/usrconf -DEAI_CONFIG_PATH=/EAI2/uCUBE/CM/config/cfg/JMSSEND_ICM_GLUE.xml -DGCS_COMP_CODE=Y6 -DLANGUAGE_CODE=ENG -Dlog4j.configuration=/SCH/IEMCM/apps/usrconf/log_config.xml -cp /SCH/IEMCM/apps/m12mcm.jar:/SCH/IEMCM/apps/usrlib/* com.posco.mes.m10z.p010.app.cm.PosPm10Cq20Cm 6276 className=com.posco.mes.m10z.p010.app.cm.PosPm10Cq20Cm@S filePath=/EAI2TEST/posco/filein/ACGRB430.dat@S transactionCode=ACGRB430@S workCode=@S
2016-01-26 18:57:03,691 [scheduler_Worker-10] TRACE com.posco.glue.server.cm.PoscoJob - Error: Main method not found in class com.posco.mes.m10z.p010.app.cm.PosPm10Cq20Cm, please define the main method as:
2016-01-26 18:57:03,691 [scheduler_Worker-10] TRACE com.posco.glue.server.cm.PoscoJob -    public static void main(String[] args)
2016-01-26 18:57:03,705 [scheduler_Worker-10] DEBUG com.posco.glue.server.cm.listener.PoscoSchedulerJobListener - ##################### JobListener.jobWasExecuted(context) JobExecutionContext: trigger: 'DEFAULT.MT_3ri9akdbomj7u job: M12.POS_M120_KM10CQ20 fireTime: 'Tue Jan 26 18:57:03 KST 2016 scheduledFireTime: Tue Jan 26 18:57:03 KST 2016 previousFireTime: 'null nextFireTime: null isRecovering: false refireCount: 0

Job 실행이 되지 않습니다. ( Class path contains multiple SLF4J bindings. )

scheduler-server.log 파일에서 다음과 같은 로그가 나타난 경우입니다.

2016-06-20 11:10:00,037 [scheduler_Worker-13] DEBUG com.poscoict.app.quartz.listener.GlueSchedulerJobListener - ##################### JobListener.jobToBeExecuted(context) JobExecutionContext: trigger: 'SMARTFACTORY_GR.SMARTFACTORY_NM_RM job: M00S20.PKSFNR_SMARTFACTORY_8_RM fireTime: 'Mon Jun 20 11:10:00 KST 2016 scheduledFireTime: Mon Jun 20 11:10:00 KST 2016 previousFireTime: 'Mon Jun 20 10:55:00 KST 2016 nextFireTime: Mon Jun 20 11:25:00 KST 2016 isRecovering: false refireCount: 0
2016-06-20 11:10:00,039 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Type : Java Process - using class
2016-06-20 11:10:00,039 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - [org.quartz.utils.DirtyFlagMap$DirtyFlagMapEntrySet@731e6d74]
2016-06-20 11:10:00,039 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - [className=com.posco.sf.m00s21.p030.app.cm.PosHadoopToRDB_RM@S, oper_flag=8@S] -> [10863, className=com.posco.sf.m00s21.p030.app.cm.PosHadoopToRDB_RM@S, oper_flag=8@S]
2016-06-20 11:10:00,039 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - java -Dlog.file=/SCH/TKSFNR/logs/M00S20.PKSFNR_SMARTFACTORY_8_RM/SMARTFACTORY_GR.SMARTFACTORY_NM_RM/PKSFNR_SMARTFACTORY_8_RM_20160620111000.log -DCONFIG_PATH=/SCH/TKSFNR/apps/usrconf -Dlogback.configurationFile=/SCH/TKSFNR/apps/usrconf/logback-test.xml -cp /SCH/TKSFNR/apps/M00S21BIZCM.jar:/SCH/TKSFNR/apps/usrlib/* com.poscoict.app.job.GlueSimpleJob 10863 className=com.posco.sf.m00s21.p030.app.cm.PosHadoopToRDB_RM@S oper_flag=8@S
2016-06-20 11:10:00,155 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - SLF4J: Class path contains multiple SLF4J bindings.
2016-06-20 11:10:00,157 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - SLF4J: Found binding in [jar:file:/SCH/TKSFNR/apps/usrlib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2016-06-20 11:10:00,157 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - SLF4J: Found binding in [jar:file:/SCH/TKSFNR/apps/usrlib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2016-06-20 11:10:00,157 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2016-06-20 11:10:00,160 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2016-06-20 11:10:00,253 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment).
2016-06-20 11:10:00,254 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - log4j:WARN Please initialize the log4j system properly.
2016-06-20 11:10:00,254 [scheduler_Worker-13] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2016-06-20 11:10:00,807 [scheduler_Worker-13] DEBUG com.poscoict.app.quartz.listener.GlueSchedulerJobListener - ##################### JobListener.jobWasExecuted(context) JobExecutionContext: trigger: 'SMARTFACTORY_GR.SMARTFACTORY_NM_RM job: M00S20.PKSFNR_SMARTFACTORY_8_RM fireTime: 'Mon Jun 20 11:10:00 KST 2016 scheduledFireTime: Mon Jun 20 11:10:00 KST 2016 previousFireTime: 'Mon Jun 20 10:55:00 KST 2016 nextFireTime: Mon Jun 20 11:25:00 KST 2016 isRecovering: false refireCount: 0
java 
-Dlog.file=/SCH/TKSFNR/logs/M00S20.PKSFNR_SMARTFACTORY_8_RM/SMARTFACTORY_GR.SMARTFACTORY_NM_RM/PKSFNR_SMARTFACTORY_8_RM_20160620111000.log 
-DCONFIG_PATH=/SCH/TKSFNR/apps/usrconf 
-Dlogback.configurationFile=/SCH/TKSFNR/apps/usrconf/logback-test.xml 
-cp /SCH/TKSFNR/apps/M00S21BIZCM.jar:/SCH/TKSFNR/apps/usrlib/*   <-- cp(classpath)상에 slf4j-log4j.jar 가 있는지 확인하세요. 
com.poscoict.app.job.GlueSimpleJob 10863 
className=com.posco.sf.m00s21.p030.app.cm.PosHadoopToRDB_RM@S 
oper_flag=8@S

Job실행시 에러가 발생합니다. ( Error configuring from /SCH/NIMCM/apps/usrconf/ehcache.xml )

job 실행로그에 다음과 같은 error가 발생했다면, applicationContext.xml의 cacheManager bean을 점검하세요.

2016-03-07 11:02:08,859 ERROR [main][com.poscoict.app.job.GlueSimpleJob] - UserException
 net.sf.ehcache.CacheException: Error configuring from /SCH/NIMCM/apps/usrconf/ehcache.xml. Initial cause was /SCH/NIMCM/apps/usrconf/ehcache.xml (No such file or directory)
 at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:80)
 at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:872)
 at net.sf.ehcache.CacheManager.create(CacheManager.java:852)
 at com.posco.mes.reuse.al.messageframework.metadatamanagement.metadatahandler.PosMetaDataHandler.<init>(PosMetaDataHandler.java:115)
 at com.posco.mes.reuse.al.messageframework.metadatamanagement.metadatahandler.PosMetaDataHandler.getInstance(PosMetaDataHandler.java:126)
 at com.posco.mes.reuse.al.messageframework.messagemanagement.contexthandler.PosContextHandler.getProviderKey(PosContextHandler.java:251)
 at com.posco.mes.reuse.al.messageframework.messagemanagement.contexthandler.PosContextHandler.initActivityContext(PosContextHandler.java:208)
 at com.posco.mes.reuse.al.messageframework.messagemanagement.contexthandler.PosContextHandler.getActivityContext(PosContextHandler.java:102)
 at com.posco.mes.reuse.al.messageframework.messagemanagement.messagecontroller.PosMessageController.getActivityContext(PosMessageController.java:355)
 at com.posco.mes.reuse.al.messageframework.messagemanagement.messagecontroller.PosMessageController.handleFile(PosMessageController.java:126)
 at com.posco.mes.m10z.p010.app.cm.PosZm10Cq17Cm.runProgram(PosZm10Cq17Cm.java:106)
 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:606)
 at com.poscoict.app.job.GlueSimpleJob.main(GlueSimpleJob.java:167)
 at com.posco.glue.cm.PoscoDefaultSchedulerJob.main(PoscoDefaultSchedulerJob.java:20)
 Caused by: java.io.FileNotFoundException: /SCH/NIMCM/apps/usrconf/ehcache.xml (No such file or directory)
 at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.<init>(FileInputStream.java:146)
 at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:77)
 ... 16 more

Job실행시 에러가 발생합니다. ( /EAI2/uCUBE/CM/config/cfg/JMSSEND_CM_GLUE.xml (No such file or directory) )

job실행로그에서 com.posco.eai.sender.PosEAISender 에서 NullPointException이 발생하면, scheduler-server.log 를 확인하세요.

2015-12-30 14:35:31,551 ERROR [main][com.posco.glue.cm.PoscoDefaultSchedulerJob] - UserException
java.lang.NullPointerException
at com.posco.eai.sender.PosEAISender.rollback(Unknown Source)
at com.posco.mes.m30f.p020.app.cm.abnormal.PosCallReSmpPicAbnormal.callReSmpPicAbnormal(PosCallReSmpPicAbnormal.java:322)
at com.posco.mes.m30f.p020.app.cm.abnormal.PosM30FCallReSmpPicAbnormal.runProgram(PosM30FCallReSmpPicAbnormal.java:33)
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:606)
at com.posco.glue.cm.PoscoDefaultSchedulerJob.main(PoscoDefaultSchedulerJob.java:150)
2015-12-30 14:35:31,534 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - ##### EAISENDER VERSION = [20150612] #####
2015-12-30 14:35:31,535 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - ###### CONFIGURATIONFILE :: /EAI2/uCUBE/CM/config/cfg/JMSSEND_CM_GLUE.xml  ######
2015-12-30 14:35:31,536 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - java.io.FileNotFoundException: /EAI2/uCUBE/CM/config/cfg/JMSSEND_CM_GLUE.xml  (No such file or directory)
2015-12-30 14:35:31,537 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at java.io.FileInputStream.open(Native Method)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at java.io.FileInputStream.<init>(FileInputStream.java:146)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at java.io.FileInputStream.<init>(FileInputStream.java:101)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at java.net.URL.openStream(URL.java:1037)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2292)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:215)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:180)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at com.posco.eai.sender.PosEAIConfigurationHandler.loadConfiguration(Unknown Source)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at com.posco.eai.sender.PosEAIConfigurationHandler.loadConfigFile(Unknown Source)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at com.posco.eai.sender.PosEAISender.initialConnect(Unknown Source)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at com.posco.eai.sender.PosEAISender.<init>(Unknown Source)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at com.posco.mes.m30f.p020.app.cm.abnormal.PosCallReSmpPicAbnormal.callReSmpPicAbnormal(PosCallReSmpPicAbnormal.java:232)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at com.posco.mes.m30f.p020.app.cm.abnormal.PosM30FCallReSmpPicAbnormal.runProgram(PosM30FCallReSmpPicAbnormal.java:33)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2015-12-30 14:35:31,538 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-12-30 14:35:31,539 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at java.lang.reflect.Method.invoke(Method.java:606)
2015-12-30 14:35:31,539 [scheduler_Worker-2] TRACE com.posco.glue.server.cm.PoscoJob - at com.posco.glue.cm.PoscoDefaultSchedulerJob.main(PoscoDefaultSchedulerJob.java:150)

Job실행시 에러가 발생합니다. ( /EAI2/uCUBE/CM/config/iglue_ifd/M0AH-0006-01.ifd (No such file or directory) )

job실행로그에서 com.posco.eai.sender.PosEAISender 에서 NullPointException이 발생하면, scheduler-server.log 를 확인하세요.

2016-03-28 16:00:25,521 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ##### EAISENDER VERSION = [20150612] #####
2016-03-28 16:00:25,521 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### CONFIGURATIONFILE :: /EAI2/uCUBE/CM/config/cfg/JMSSEND_ICM_GLUE.xml ######
2016-03-28 16:00:25,565 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### SUCCESSFULLY LOADED CONFIGURATION FILE FOR EAI SENDER ######
2016-03-28 16:00:25,580 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER LOGGER INITIALIZED SUCCESSFULLY ######
2016-03-28 16:00:25,581 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;START_SENDER;;POSEAISender;;EAI_100;;TIME;;2016/03/28 16:00:25:580;;NORMAL;;##### EAISENDER VERSION = [20150612] #####;;EAI_SENDER_INIT_CONNECTION;;[N/A]
2016-03-28 16:00:25,594 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILIMES1;;POSEAISender;;EAI_101;;TIME;;2016/03/28 16:00:25:593;;NORMAL;;Starting Connection with JMS Server;;172.31.47.149:41111;;[N/A]
2016-03-28 16:00:25,594 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILIMES1 START ######
2016-03-28 16:00:26,470 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILIMES1 SUCCESS ######
2016-03-28 16:00:26,471 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILIMES1;;POSEAISender;;EAI_102;;TIME;;2016/03/28 16:00:26:471;;NORMAL;;Creating Connection with JMS Server;;172.31.47.149:41111;;[N/A]
2016-03-28 16:00:26,473 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILEMES1;;POSEAISender;;EAI_101;;TIME;;2016/03/28 16:00:26:472;;NORMAL;;Starting Connection with JMS Server;;172.31.47.149:41121;;[N/A]
2016-03-28 16:00:26,473 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILEMES1 START ######
2016-03-28 16:00:26,536 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILEMES1 SUCCESS ######
2016-03-28 16:00:26,537 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILEMES1;;POSEAISender;;EAI_102;;TIME;;2016/03/28 16:00:26:536;;NORMAL;;Creating Connection with JMS Server;;172.31.47.149:41121;;[N/A]
2016-03-28 16:00:26,537 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILXMES1;;POSEAISender;;EAI_101;;TIME;;2016/03/28 16:00:26:537;;NORMAL;;Starting Connection with JMS Server;;172.31.47.149:41131;;[N/A]
2016-03-28 16:00:26,538 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILXMES1 START ######
2016-03-28 16:00:26,604 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILXMES1 SUCCESS ######
2016-03-28 16:00:26,604 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILXMES1;;POSEAISender;;EAI_102;;TIME;;2016/03/28 16:00:26:604;;NORMAL;;Creating Connection with JMS Server;;172.31.47.149:41131;;[N/A]
2016-03-28 16:00:26,604 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILCMES1;;POSEAISender;;EAI_101;;TIME;;2016/03/28 16:00:26:604;;NORMAL;;Starting Connection with JMS Server;;172.31.47.149:41141;;[N/A]
2016-03-28 16:00:26,604 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILCMES1 START ######
2016-03-28 16:00:26,660 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - ###### EAI SENDER INITIALIZE TO ILCMES1 SUCCESS ######
2016-03-28 16:00:26,661 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [0];;ILCMES1;;POSEAISender;;EAI_102;;TIME;;2016/03/28 16:00:26:660;;NORMAL;;Creating Connection with JMS Server;;172.31.47.149:41141;;[N/A]
2016-03-28 16:00:26,662 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [1];;M0AH-0006-01;;POSEAISender;;EAI_207;;TIME;;2016/03/28 16:00:26:661;;ERROR;;Error while parsing IFD file;;/EAI2/uCUBE/CM/config/iglue_ifd/M0AH-0006-01.ifd LOAD IS FAILURE;;[N/A]
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - Log Message :: [1];;M0AH-0006-01;;POSEAISender;;EAI_209;;TIME;;2016/03/28 16:00:26:674;;ERROR;;Error while sending data;;[N/A];;/EAI2/uCUBE/CM/config/iglue_ifd/M0AH-0006-01.ifd (No such file or directory)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - com.posco.mes.reuse.common.errorobjects.file.PosFileNotFoundException: /EAI2/uCUBE/CM/config/iglue_ifd/M0AH-0006-01.ifd (No such file or directory)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at com.posco.eai.sender.PosEAISender.readIFDFile(Unknown Source)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at com.posco.eai.sender.PosEAISender.sendTC(Unknown Source)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at com.posco.mes.m000.p091.app.tasks.PosCallSecuritySyncJobMgr.manageSendSyncInterface(PosCallSecuritySyncJobMgr.java:132)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at com.posco.mes.m000.p091.app.tasks.PosCallSecuritySyncJobMgr.doProcess(PosCallSecuritySyncJobMgr.java:60)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at com.posco.mes.m000.p091.app.cm.PosM000SecSyncControl.runProgram(PosM000SecSyncControl.java:47)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at java.lang.reflect.Method.invoke(Method.java:606)
2016-03-28 16:00:26,676 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at com.poscoict.app.job.GlueSimpleJob.main(GlueSimpleJob.java:167)
2016-03-28 16:00:26,677 [scheduler_Worker-3] TRACE com.poscoict.app.quartz.GlueJavaProcessStartJobImpl - at com.posco.glue.cm.PoscoDefaultSchedulerJob.main(PoscoDefaultSchedulerJob.java:20)

Job을 호출했는데, 실행이력(History화면)에 나타나지 않습니다.

scheduler-server.log 에서 JobKey(@job_name)가 잘못된 것은 아닌지 확인합니다.

2016-06-08 10:03:58,902 [AnonymousIoService-5] INFO  com.poscoict.app.server.GlueSchedulerServerIoHandler - [/172.31.47.161:64383] RECEIVED: @jobParam-CR_OP_INDI_TP : U
 @jobParam-null : -
 @client_ip : 172.31.47.161
 Method : POST
 Host : 172.31.47.148:8805
 Content-Length : 185
 User-Agent : Jakarta Commons-HttpClient/3.1
 @request_id : -1
 Context : glue-scheduler
 @jobParam-TRANSACTION_CODE : ACZRT341
 @job_name : POS_M12M_ND_SEND                     <-- JobKey(ex> M12.POS_M12M_ND_SEND) 여야 합니다. 
 @jobParam-FAC_OP_CD_N : 1P1
 @jobParam-OPER_FLAG : 5
 Content-Type : application/x-www-form-urlencoded; charset=EUC-KR
 Protocol : HTTP/1.1
 URI : POST /glue-scheduler HTTP/1.1

기타

DB연결에 많은 시간이 소요되거나, 연결이 잘 안됩니다.( java.net.SocketException: Connection reset, IO Error: Connection reset )

scheduler-server.log 에 다음과 같이 GlueQueryLoader와 GlueJdbcDao 간의 많은 시간이 소요되거나, Job History화면상에 Job실행 상태가 이상할 경우, Oracle 11g JDBC Driver를 사용하는지 확인해보시기 바랍니다.

2016-07-18 09:59:20,499 [main] INFO  com.poscoict.app.server.GlueSchedulerMinaServer - glue.scheduler.server.targeturl=http://172.16.200.64:9803
2016-07-18 09:59:21,141 [main] INFO  com.poscoict.glueframework.cache.ehcache.GlueEhCacheManager - create EhCache CacheManger
2016-07-18 09:59:21,257 [main] INFO  com.poscoict.glueframework.cache.ehcache.GlueEhCacheManager - start EhCache CacheManger : __DEFAULT__
2016-07-18 09:59:21,266 [main] INFO  com.poscoict.glueframework.dao.manager.GlueQueryLoader - Loading query file(s) from class path [com/poscoict/app/quartz/meta-access-query.glue_sql, com/poscoict/app/quartz/job-history-query.glue_sql]
2016-07-18 10:03:04,050 [main] WARN  com.poscoict.glueframework.dao.jdbc.GlueJdbcDao - No Suitable Driver: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (IO Error: Connection reset)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118) ~[na:1.7.0_80]
at java.net.SocketOutputStream.write(SocketOutputStream.java:159) ~[na:1.7.0_80]
Oracle 11g JDBC Driver를 사용하는 경우, urandom 존재 유무를 확인합니다.
[Job실행옵션에 Java Option 추가]

Java Option을 Scheduler Server 실행 스크립트와 Job 실행 옵션에 추가합니다.
[startup script 에 Java Option 추가]
-Djava.security.egd=file:/dev/./urandom 
[Job실행옵션에 Java Option 추가]