Gentle Breeze
[JAVA] Java Heap Space OOM 본문
Framework 기반의 프로젝트 수행 시 각종 자원을 메모리에 load 해 사용하는 경우가 많은데 배치와 같이 간혹 프로그램 내에서 사용된 SQL 문장이 너무 길거나 많은 경우 등의 문제로 SQL Query 문을 메모리에 load 하지 못해 Local PC JVM 가상 메모리 부족이 발생해 Java 프로그램을 수행 시키는 중 아래와 같은 익셉션 메세지를 뱉으며 뻗어버리는 문제가 발생하는 경우가 있다.
[2012-07-04 13:15:52] ERROR ChainedTransactionManager: Error in rollback
org.springframework.transaction.TransactionSystemException: Could not roll back JDBC transaction; nested exception is java.sql.SQLException: 프로토콜 위반
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doRollback(DataSourceTransactionManager.java:285)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:845)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:822)
at com.sds.anyframe.batch.core.transaction.ChainedTransactionManager.doRollback(ChainedTransactionManager.java:76)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:845)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:822)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet.doExecute(AnyframeAbstractTasklet.java:154)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet$$FastClassByCGLIB$$14d99bc0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$EnhancerByCGLIB$$1d90573a.doExecute(<generated>)
at com.sds.anyframe.batch.core.step.JavaStep.doExecute(JavaStep.java:52)
at com.sds.anyframe.batch.core.step.AnyframeAbstractStep.execute(AnyframeAbstractStep.java:72)
at com.sds.anyframe.batch.core.job.SequentialJob.execute(SequentialJob.java:112)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.run(BatchJobLauncher.java:200)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.execute(BatchJobLauncher.java:173)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.main(BatchJobLauncher.java:79)
Caused by: java.sql.SQLException: 프로토콜 위반
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:459)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C7Ocommoncall.doOROLLBACK(T4C7Ocommoncall.java:68)
at oracle.jdbc.driver.T4CConnection.doRollback(T4CConnection.java:649)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3893)
at org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:368)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.rollback(PoolingDataSource.java:323)
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doRollback(DataSourceTransactionManager.java:282)
... 20 more
[2012-07-04 13:15:52] ERROR AnyframeAbstractTasklet: Fail to rollback transaction
org.springframework.transaction.TransactionSystemException: Could not roll back JDBC transaction; nested exception is java.sql.SQLException: 프로토콜 위반
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doRollback(DataSourceTransactionManager.java:285)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:845)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:822)
at com.sds.anyframe.batch.core.transaction.ChainedTransactionManager.doRollback(ChainedTransactionManager.java:76)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:845)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:822)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet.doExecute(AnyframeAbstractTasklet.java:154)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet$$FastClassByCGLIB$$14d99bc0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$EnhancerByCGLIB$$1d90573a.doExecute(<generated>)
at com.sds.anyframe.batch.core.step.JavaStep.doExecute(JavaStep.java:52)
at com.sds.anyframe.batch.core.step.AnyframeAbstractStep.execute(AnyframeAbstractStep.java:72)
at com.sds.anyframe.batch.core.job.SequentialJob.execute(SequentialJob.java:112)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.run(BatchJobLauncher.java:200)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.execute(BatchJobLauncher.java:173)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.main(BatchJobLauncher.java:79)
Caused by: java.sql.SQLException: 프로토콜 위반
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:459)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C7Ocommoncall.doOROLLBACK(T4C7Ocommoncall.java:68)
at oracle.jdbc.driver.T4CConnection.doRollback(T4CConnection.java:649)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3893)
at org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:368)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.rollback(PoolingDataSource.java:323)
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doRollback(DataSourceTransactionManager.java:282)
... 20 more
[2012-07-04 13:15:52] ERROR root: Error occurs on task execution: com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp
com.samsung.gmes2.exception.Gmes2ServerException: java.lang.OutOfMemoryError: Java heap space
at com.samsung.gmes2.base.util.ValueUtil.toGmes2Exception(ValueUtil.java:1964)
at com.samsung.gmes2.base.util.TransactionUtil.doScope(TransactionUtil.java:175)
at com.samsung.gmes2.base.util.TransactionUtil.doScope(TransactionUtil.java:141)
at com.samsung.gmes2.aop.ServiceAdvice$1$1.execute(ServiceAdvice.java:53)
at com.samsung.gmes2.base.util.CacheUtil.doScope(CacheUtil.java:105)
at com.samsung.gmes2.aop.ServiceAdvice$1.execute(ServiceAdvice.java:37)
at com.samsung.gmes2.base.util.MethodUtil$1.execute(MethodUtil.java:185)
at com.samsung.gmes2.base.util.ThreadPropertyUtil.doScope(ThreadPropertyUtil.java:23)
at com.samsung.gmes2.base.util.MethodUtil.doScope(MethodUtil.java:59)
at com.samsung.gmes2.aop.ServiceAdvice.invoke(ServiceAdvice.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$EnhancerByCGLIB$$1d90573a.execute(<generated>)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet.doExecute(AnyframeAbstractTasklet.java:143)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet$$FastClassByCGLIB$$14d99bc0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$EnhancerByCGLIB$$1d90573a.doExecute(<generated>)
at com.sds.anyframe.batch.core.step.JavaStep.doExecute(JavaStep.java:52)
at com.sds.anyframe.batch.core.step.AnyframeAbstractStep.execute(AnyframeAbstractStep.java:72)
at com.sds.anyframe.batch.core.job.SequentialJob.execute(SequentialJob.java:112)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.run(BatchJobLauncher.java:200)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.execute(BatchJobLauncher.java:173)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.main(BatchJobLauncher.java:79)
Caused by: java.lang.Exception: java.lang.OutOfMemoryError: Java heap space
at com.samsung.gmes2.base.util.ValueUtil.unwrapException(ValueUtil.java:2044)
at com.samsung.gmes2.base.util.ValueUtil.toGmes2Exception(ValueUtil.java:1921)
... 36 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Array.java:52)
at oracle.jdbc.driver.BufferCache.get(BufferCache.java:226)
at oracle.jdbc.driver.PhysicalConnection.getCharBuffer(PhysicalConnection.java:7600)
at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:991)
at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:273)
at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:144)
at oracle.jdbc.driver.T4C8Oall.readDCB(T4C8Oall.java:806)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:355)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:863)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at com.sds.anyframe.batch.infra.database.SQLReader.getResultSet(SQLReader.java:254)
at com.sds.anyframe.batch.infra.database.SQLReader.read(SQLReader.java:268)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp.getReader106Key(BISendMailEmpStatus01BApp.java:1147)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp.makeMailEmpStatus(BISendMailEmpStatus01BApp.java:489)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp.execute(BISendMailEmpStatus01BApp.java:370)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$FastClassByCGLIB$$5aaf259a.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at com.samsung.gmes2.aop.ServiceAdvice$1$1$1.execute(ServiceAdvice.java:56)
at com.samsung.gmes2.base.util.TransactionUtil.doTranScope(TransactionUtil.java:188)
[2012-07-04 13:15:52] INFO StepLoggingListener:
[2012-07-04 13:15:52] INFO StepLoggingListener: ######################################################################################
[2012-07-04 13:15:52] INFO StepLoggingListener: ## End Step - Faild
[2012-07-04 13:15:52] INFO StepLoggingListener: ## - ID : BISendMailEmpStatus01BApp
[2012-07-04 13:15:52] INFO StepLoggingListener: ## - Elapsed Time : 10907 ms
[2012-07-04 13:15:52] INFO StepLoggingListener: ######################################################################################
[2012-07-04 13:15:52] INFO StepLoggingListener:
[2012-07-04 13:15:52] ERROR BatchJobLauncher: Error occurs on task execution: com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp
com.sds.anyframe.batch.exception.BatchRuntimeException: Error occurs on task execution: com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet.doExecute(AnyframeAbstractTasklet.java:160)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet$$FastClassByCGLIB$$14d99bc0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$EnhancerByCGLIB$$1d90573a.doExecute(<generated>)
at com.sds.anyframe.batch.core.step.JavaStep.doExecute(JavaStep.java:52)
at com.sds.anyframe.batch.core.step.AnyframeAbstractStep.execute(AnyframeAbstractStep.java:72)
at com.sds.anyframe.batch.core.job.SequentialJob.execute(SequentialJob.java:112)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.run(BatchJobLauncher.java:200)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.execute(BatchJobLauncher.java:173)
at com.sds.anyframe.batch.launcher.BatchJobLauncher.main(BatchJobLauncher.java:79)
Caused by: com.samsung.gmes2.exception.Gmes2ServerException: java.lang.OutOfMemoryError: Java heap space
at com.samsung.gmes2.base.util.ValueUtil.toGmes2Exception(ValueUtil.java:1964)
at com.samsung.gmes2.base.util.TransactionUtil.doScope(TransactionUtil.java:175)
at com.samsung.gmes2.base.util.TransactionUtil.doScope(TransactionUtil.java:141)
at com.samsung.gmes2.aop.ServiceAdvice$1$1.execute(ServiceAdvice.java:53)
at com.samsung.gmes2.base.util.CacheUtil.doScope(CacheUtil.java:105)
at com.samsung.gmes2.aop.ServiceAdvice$1.execute(ServiceAdvice.java:37)
at com.samsung.gmes2.base.util.MethodUtil$1.execute(MethodUtil.java:185)
at com.samsung.gmes2.base.util.ThreadPropertyUtil.doScope(ThreadPropertyUtil.java:23)
at com.samsung.gmes2.base.util.MethodUtil.doScope(MethodUtil.java:59)
at com.samsung.gmes2.aop.ServiceAdvice.invoke(ServiceAdvice.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$EnhancerByCGLIB$$1d90573a.execute(<generated>)
at com.sds.anyframe.batch.core.step.tasklet.AnyframeAbstractTasklet.doExecute(AnyframeAbstractTasklet.java:143)
... 14 more
Caused by: java.lang.Exception: java.lang.OutOfMemoryError: Java heap space
at com.samsung.gmes2.base.util.ValueUtil.unwrapException(ValueUtil.java:2044)
at com.samsung.gmes2.base.util.ValueUtil.toGmes2Exception(ValueUtil.java:1921)
... 36 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Array.java:52)
at oracle.jdbc.driver.BufferCache.get(BufferCache.java:226)
at oracle.jdbc.driver.PhysicalConnection.getCharBuffer(PhysicalConnection.java:7600)
at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:991)
at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:273)
at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:144)
at oracle.jdbc.driver.T4C8Oall.readDCB(T4C8Oall.java:806)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:355)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:863)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at com.sds.anyframe.batch.infra.database.SQLReader.getResultSet(SQLReader.java:254)
at com.sds.anyframe.batch.infra.database.SQLReader.read(SQLReader.java:268)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp.getReader106Key(BISendMailEmpStatus01BApp.java:1147)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp.makeMailEmpStatus(BISendMailEmpStatus01BApp.java:489)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp.execute(BISendMailEmpStatus01BApp.java:370)
at com.samsung.gmes2.bi.mpo.mpo.BISendMailEmpStatus01BApp$$FastClassByCGLIB$$5aaf259a.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at com.samsung.gmes2.aop.ServiceAdvice$1$1$1.execute(ServiceAdvice.java:56)
at com.samsung.gmes2.base.util.TransactionUtil.doTranScope(TransactionUtil.java:188)
이 때에는 아래와 같이 Run Configuration 의 VM Arguments 에 아래와 같이 추가해주고 작업을 재실행시킨다.
'⑨ 직무역량강화 > JAVA' 카테고리의 다른 글
[JAVA] 반복문 내에서 List 객체에 add 할 때 메모리 참조 오류 (9) | 2013.08.28 |
---|---|
[JAVA] LOG4J (0) | 2012.02.29 |
[JAVA] javac options (0) | 2012.02.15 |