This discussion is archived
2 Replies Latest reply: Aug 5, 2010 10:18 AM by 807573 RSS

Job SYSTEM.event publishing job threw an unhandled Exception in SRM 5.0.3

807573 Oracle ACE
Currently Being Moderated
Hi,

Earlier OIA was working fine but after few days back I encountered below error in log file due to this the OIA application pages are not getting loaded and requires a restart to load the same.Restart works fine for approximately 1 hour, then again performance degrades.

Please provide me poniter to slove the above issue.

11:23:41,302 ERROR [JobRunShell] Job SYSTEM.event publishing job threw an unhandled Exception:
java.lang.OutOfMemoryError: Java heap space
     at oracle.jdbc.driver.OracleBufferedStream.<init>(OracleBufferedStream.java:39)
     at oracle.jdbc.driver.OracleBlobInputStream.<init>(OracleBlobInputStream.java:75)
     at oracle.jdbc.driver.OracleBlobInputStream.<init>(OracleBlobInputStream.java:59)
     at oracle.jdbc.driver.T4CConnection.newInputStream(T4CConnection.java:2393)
     at oracle.sql.BLOB.getBinaryStream(BLOB.java:182)
     at oracle.jdbc.driver.BlobAccessor.getBytes(BlobAccessor.java:263)
     at oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:552)
     at oracle.jdbc.driver.OracleResultSet.getBytes(OracleResultSet.java:398)
     at com.mchange.v2.c3p0.impl.NewProxyResultSet.getBytes(NewProxyResultSet.java:2781)
     at com.ibatis.sqlmap.engine.type.ByteArrayTypeHandler.getResult(ByteArrayTypeHandler.java:35)
     at com.ibatis.sqlmap.engine.mapping.result.ResultMap.getPrimitiveResultMappingValue(ResultMap.java:619)
     at com.ibatis.sqlmap.engine.mapping.result.ResultMap.getResults(ResultMap.java:345)
     at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults(SqlExecutor.java:384)
     at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleMultipleResults(SqlExecutor.java:300)
     at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:189)
     at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:221)
     at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:189)
     at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList(MappedStatement.java:139)
     at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:567)
     at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
     at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
     at org.springframework.orm.ibatis.SqlMapClientTemplate$3.doInSqlMapClient(SqlMapClientTemplate.java:298)
     at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:209)
     at org.springframework.orm.ibatis.SqlMapClientTemplate.executeWithListResult(SqlMapClientTemplate.java:249)
     at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:296)
     at com.vaau.rbacx.eventlistener.dao.ibatis.SqlMapModificationEventDao.getModificationsByType(SqlMapModificationEventDao.java:34)
     at com.vaau.rbacx.eventlistener.manager.EventManagerImpl.getModifications(EventManagerImpl.java:86)
     at com.vaau.rbacx.eventlistener.service.EventListenerServiceImpl.processObjectModifications(EventListenerServiceImpl.java:340)
     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)
11:23:41,350 ERROR [ErrorLogger] Job (SYSTEM.event publishing job threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space]
     at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.OutOfMemoryError: Java heap space

Thanks,
Amit