Pages failing with Java Heap errors

We are running CF 8,0,0,176276 on a Windows 32 bit 2003
server, with IIS 6 and Java Runtime version 6 ( it's really version
1.06).
We started getting the java heap error messages two weeks
ago. Now we are also getting the 'GC overhead limit exceeded'
error, which is concerned with the Java garbage collection. I tried
to change the JVM heap size from 1GB to 2GB, but CF wouldn't start
up. I've since found out that Windows 32bit servers can't use 2GB
for Java.
One java article I found said to turn off the Java garbage
collection using -XX:-UseGCOverheadLimit (
http://forums.java.net/jive/message.jspa?messageID=228596).
It seems like turning off the garbage collection would be the
opposite of what I am trying to do. Are there any thoughts about
this?
Are there any hotfixes for CF8? and where are they located?
Scott

Scott, the error is a symptom, not the cause of your
problems. Turning off that option won't "solve" the problem, which
is that you're running out of memory. More on that option in a
moment.
Let's talk first about your observation of trying to change
the max memory from 1 to 2 gig. Since you're on Windows (32 bit),
as you say, you can't use more than 2g per process (it's not really
a Java limit, but rather a Windows one).
But as you found, you can't set CF to 2g because the JVM
won't start. Again, this is not a CF-specific issue. You can see
discussions of the same problem with plain old Java apps, as at
http://forums.java.net/jive/message.jspa?messageID=228596.
So, similar to what they say, the consensus seems to be that
you can set it to somewhere between1.3 and 1.7 gb, before the JVM
won't start. You have to try different values for yourself.
Now, that extra few hundred meg may be all you need to get
past your problem, but really that's often just forestalling the
inevitable. You need to find why CF is using so much memory. You
say you're using CF8 but don't say if it's Enterprise or Standard.
If the former, then you have the CF8 Server Monitor (accessible in
the CF Admin, and discussed in a multipart series I wrote for the
Adobe Dev Center, as discussed at
http://carehart.org/blog/client/index.cfm/2008/7/30/45page_server_monitor_guide).
That, as well as tools like FusionReactor and SeeFusion, can help
you to better see how CF is using memory.
All three offer a graphical interface to show how memory use
is trending. You may see if it grows steadily throughout the day,
or grows in spikes. People tend to say "I have a memory leak", when
in fact it may be just that they have either a few requests that
use too much memory (so you'll see a stair stepping rise in memory
use concurrent with their execution), or it may be that they're
sticking stuff into shared scopes (session, application, or server)
and those are living well beyond the live of each request.
The CF8 Server Monitor even has a memory tracking feature,
but it has to be used carefully. If you enable it, you may find it
brings your server to its knees.I'll do a blog entry soon on how to
use it most effectively (something I learned since writing the
articles last year).
One thing that the monitor can tell you, without any of the
"start" buttons enabled at the top of the monitor, is how many
sessions you have. That may be very enlightening. You may have
thousands of them, and not realize it, because of bots, spiders,
and other crap requests. See the "active sessions" page of the
Server Monitor, and its graph icon in particular (discussed in more
detail in one of my articles).
Sadly, neither FusionReactor nor SeeFusion can tell you how
many sessions are currently running, so if you're on CF8 Standard
(or if others reading this are on 6 or 7, where they can use FR or
SF), you can't easily see how many sessions there are. (There are
undocumented, unsupported methods, such as discussed at
http://rewindlife.com/2003/09/08/undocumented-application-scope-functions/.
Just be aware some techniques work differently depending on whether
J2EE sessions are enabled in th CF admin.)
Finally, about your observation of the usegcoverheadlimit
option, and the recommendation to turn it off: the article you
point to doesn't say doing so would disable GC. I'm curious how you
may have concluded that.But digging into things more, I see that
disabling it (using the - before it) will turn off a feature
(introduced in 6) which limits the proportion of the VM's time that
is spent in GC before an OutOfMemory error is thrown. That's the
error you're seeing, that the JVM has detected too much time is
being spent in doing GC.
So turning off the option doesn't "turn off the Java garbage
collection". It just changes whether an OOM error will be thrown
even before being really out of memory, simply because too much
time is being spent in GC.
And even then, how this option works (if enabled, which it is
by default) changes depending on whether you're using a parrallel
or concurrent collector (as discussed in two places in
http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html,
if you search for that switch).
Hope some of that helps.

Similar Messages

  • Recon task fails with Java heap space error

    Hi All,
    I have this annoying issue at the moment where a custom recon task will start, process a few users, and then end up with a java heap space error. The app server will then restart after a few minutes and run into the same problem and bomb out while continuing to fill the log file.
    This has only just started and nothing has changed in our environment so it baffles me as to why it has started. The recon task uses some code to do a lookup and then adds the users to certain groups.
    Error from log:
    10/12/12 17:41:03 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],AddGroup:107:addGroup(BR20, SCHOOLS, EMPOWER)
    10/12/12 17:41:03 Looking up
    DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    10/12/12 17:55:31 Running GETLOOKUP
    10/12/12 17:55:31 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],AddGroup:109:addGroup(MTH, CAMPUSES, EMPOWER)
    10/12/12 17:55:31 Looking up
    DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    ERROR,12 Dec 2010 18:01:18,108,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    APP SERVER RESTARTS...
    Then falls over again:
    10/12/12 18:12:26 Running GETLOOKUP
    10/12/12 18:12:26 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],AddGroup:119:addGroup(MTH, CAMPUSES, EMPOWER)
    10/12/12 18:12:26 Looking up
    DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    10/12/12 18:13:11 Running GETLOOKUP
    10/12/12 18:13:11 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 18:13:11,546,[UBOIM],AddGroup:107:addGroup(S&P, PORTFOLIOS, EMPOWER)
    10/12/12 18:13:11 Looking up
    DEBUG,12 Dec 2010 18:13:11,547,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    ERROR,12 Dec 2010 18:15:52,318,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    ERROR,12 Dec 2010 18:15:52,324,[XELLERATE.SERVER],Class/Method: tcKeylessDataObj/runInitialSelect encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: RESULT_TOO_LARGE_FOR_SERVERDetail: (none)Description: RESULT_TOO_LARGE_FOR_SERVERSQL State: Vendor Code: -1Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    What can I check/change given that this has happened out of no where. Only fix at the moment is to stop and start app server, but seems to fall over again on the same recon task.

    Error is just related to memory. Why don't you increase memory in your environment ?

  • XML Publisher report failing with java.lang.outofmemoryerror.

    Hi,
    We have developed a custom Oracle report that produces an XML output file that is about 13M in size (about 18K rows from the database). When running report as concurrent request, post processing fails with java.lang.outofmemoryerror. The failure occurs when specifying output format as Excel, RTF or HTML. However, the process completes successfully when specifying output format as PDF. We have also noticed that Excel, RTF and HTML will complete successfully if the XML data file is smaller (around 3M).
    Is anyone aware of a restriction on the size of the XML data file when specifying output formats Excel, RTF or HTML? We have tried setting temp directory but that has not helped.
    Thanks.

    Hi
    I found this at metalink [Note:390968.1].. hope it helps =)
    Symptoms: When attempting to run an XML Publisher concurrent program the following error occurs:
    ERROR: Warning!!! Got out of memory exception, retrying with scalable option..
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    Oracle.apps.xdo.oa.cp.JCP4XDODataEngine
    Program exited with status 1
    Solution: To implement the solution, please execute the following steps:
    1. Login select the responsibility: System Administrator.
    2. Navigate to Concurrent > Program > Define.
    3. Query for concurrent program that is receiving the error.
    4. In the 'Options' field please enter -Xmx512M.
    5. Save the change and retest the issue.
    6. If the report still fails with the option set to -Xmx512M change the value to -Xmx1024M, save and try again
    7. Migrate the solution as appropriate to other environments.

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

  • OEDQ - Java Heap errors - thoughts?

    I came across a rather annoying problem while trying to load data into OEDQ today and wondered if anyone can offer any insight.
    2 separate installations (OEDQ 9.0.5) trying to load 2 different data loads (120k records and 35k records) both produced java heap errors while trying to create the datastore connection.
    Following the various support articles regarding the java memory settings and systematically "playing" with the various values for min/max and reserved memory setting from dnconfig made no difference, the same java heap error every time.
    I then noticed that the 2 data sources were both in the newer .xlsx format having been extracted to excel and then saved, I opened them and re-saved as first .csv and then .xls -- in both cases the data load now worked.
    Given that more people will be moving to the newer xlsx format as "default" I wondered if anyone has any ideas on configuration to deal with what appears to be an added overhead when dealing with this format of files? we can of course just tell people not to use it but it would be nice to know why they cant.

    Hi,
    The current Excel driver works by pulling the whole of the spreadsheet into memory before capturing it. This can mean that with large spreadsheets it is possible not to have enough heap memory allocated to perform this function. This does not normally happen if using server-side data store connections as the server normally has considerably more memory allocated to it than the client application. If you do encounter this and cannot overcome it by adjusting the relevant heap memory settings, the workaround is as as you say to save as a CSV or other text files which can be streamed in (and out).
    Probably the reason that xlsx files fail where xls files succeed is that the xlsx save creates a larger file.
    Regards,
    Mike
    Edited by: MikeMatthews on Nov 6, 2012 3:20 AM

  • Oracle 8.1.6 Installation fails with java.lang.NullpointerException

    HI,
    We are installing Oracle 8.1.6 on a D Class machine running HPUX 11.0 OS
    While i start the Universal Installer, it fails with the following
    error.
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
    Exception java.lang.NullPointerException occurred..
    java.lang.NullPointerException
    at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:197)
    at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:73)
    at sun.awt.motif.MToolkit.createFrame(MToolkit.java:177)
    at java.awt.Frame.addNotify(Frame.java:203)
    at java.awt.Window.show(Window.java:143)
    at java.awt.Component.show(Component.java:511)
    at java.awt.Component.setVisible(Component.java:473)
    at
    oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:419)
    My ORACLE_TERM is set to dtterm.
    Can anybody give some suggestions what would be the problem..?
    Thanks
    vinod
    null

    Pretty much the same thing, Tomcat is the web server in CUCM, so that should have been sufficient.
    Please rate all useful posts!
    Chris

  • File processing failed with java.lang.StringIndexOutOfBoundsException:

    Hi
    I´m reading and sending files to an FTP server using SAP PI. I use file content conversion.
    Everything has been working fine for months - but now the server was changes to a new host. The only thing changed was the host/user and pass.
    But sending too the server fails with this error:
    File processing failed with java.lang.StringIndexOutOfBoundsException: String index out of range: -27
    Any body who has a clue??
    Reading files works ok. And i can transfer files to the FTP server with FileZilla without problems.

    In the file transfer by ftp:
    2011-10-03 17:27:08     Information     Transfer: "BIN" mode, size 737 bytes, encoding -.
    2011-10-03 17:27:08     Error     File processing failed with java.lang.StringIndexOutOfBoundsException: String index out of range: -27
    2011-10-03 17:27:08     Error     Adapter Framework caught exception: String index out of range: -27
    2011-10-03 17:27:08     Error     Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error occurred while connecting to the FTP server "nnn.nn.nnn.nnn:21": java.lang.StringIndexOutOfBoundsException: String index out of range: -27.
    Its on the adapter level. All mappings etc are fine. And as i write has been for months. The only thing changed are the FTP server

  • Attempt to process file failed with java.lang.StringIndexOutOfBoundsExcep..

    Hello All,
       I am implementing file2file with file going from shared folder to FTPS server.
    I am using TLS and X.509 certificate in file receiver communication channel.
    when I implemented my scenario, this is the error its throwing :
    Success : Connect to FTP server "my ftp address", directory "/TEST/"
    Error : Attempt to process file failed with java.lang.StringIndexOutOfBoundsException: String index out of range: 3
    I know this error is caused when java expects the 3 character length string and if its getting more than that... Does any faced this kindaa problem before...Any help is greatly appreciated....Obviously even points....
    Thanks,
    Ravi

    There is no custom code at all? No mappings, no custom modules, no pre/post processing commands?
    Also, check if you get this error when sending to ftps server without certificate (or with another certificate). It may be an incompatibility issue with certificate.
    Did you import the .pfx (or .p12) file in KeyStorage Service?
    Regards,
    Henrique.

  • Attempt to process file failed with java.io.IOException

    Hi,
    The scenario is from Idoc to flat file and messages are getting processed successfully in XI. but in receiver communication channel error is coming:
    Attempt to process file failed with java.io.IOException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.
    MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.: java.io.IOException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.

    Hi,
    If you are using FTP then,
    1. Make sure that the FTP sever does not have issues with Firewall or a Proxy server access.
    2. Also verify that the specified FTP user ID has the necessary WRITE or overwrite authorization?
    Regards,
    Sarvesh
    ***Reward points, if it helped you.

  • Custom concurrent program failing with Signal 6 error

    Custom concurrent program failing with the below error ,
    stat_low = 6
      stat_high = 0
      emsg:was terminated by signal 6
      Enter Password:
      # An unexpected error has been detected by HotSpot Virtual
    Machine:
      #  SIGSEGV (0xb) at pc=0xf608fd7e, pid=16054, tid=3417308016
      # Java VM: Java HotSpot(TM) Server VM (1.4.2_14-b05 mixed mode)
      # Problematic frame:
      # C  [libca.so.0+0x2dd7e]  caupzsearch+0x1e
    Help needed to debug this error.
    Regards,

    Please post details of application release, database version and OS.
    Is the issue with one specific custom concurrent program? What is the type of this CP? Has this ever worked?
    Please enable trace/debug as per (How To Trace a Concurrent Request And Generate TKPROF File (Doc ID 453527.1)) and see if more details are collected in the log then.
    Thanks,
    Hussein

  • Java Heap error for BI Publisher

    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Thanks for your help!
    Nan

    user12088414 wrote:
    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Is BI Publisher a product? Does the title of this forum include Do Not Post Product-Related Questions Here?
    Please look at the forum list and find [url https://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher.

  • Java heap error

    Hi All
    I have developed a Matrix report recently and it is throwing error when it was loaded and ran locally and also after registerd in the Apps.The error is "Java Heap Error".Correct me if i am wrong to my knowledge what i am thinking is it is getting time out and unable to process the data.The report is running fine for few number of records.Please help me in this regard.
    Help will be really apreciated.
    regards,
    kalyan

    Hi kalyan,
    What i know about Java Heap error is, it comes when you exceed the length allocated.
    Sometimes it happens that you have to take the whole name upto 59 characters, means if somebody gets beyond the limit of 59, ideally you should truncate it.
    If you dont, then it starts giving translation length error or say java heap error.

  • Windows 2008 R2 backup fails with event 521 error code 2155348001

    Windows Server 2008 R2 SP1.  Hyper-V role installed. 
    OS on drive C.  All VMs stored on Drive D.
    I am attempting to run a Bare Metal backup of the host system to a network share. 
    Drive D is not included in the backup job.  I am getting the following error:
    Log Name:      Application
    Source:        Microsoft-Windows-Backup
    Date:          1/10/2014 11:28:52 PM
    Event ID:      521
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      SHAQTUS.scdl.local
    Description:
    The backup operation that started at '‎2014‎-‎01‎-‎11T04:08:50.683000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '2155348001'. Please review the event
    details for a solution, and then rerun the backup operation once the issue is resolved.
    Reviewing event details, as suggested, does not offer any solution.
    I have tried the suggested solutions in other similar threads of increasing the timeout value with the registry entry. 
    This does not work.
    I have not tried reregistering the VSS writers manually, as the only links I have found are for server 2003/2008 (not R2) and explicitly state that they won’t work on higher versions of the OS, since they now utilize manifests and the manual procedure could
    cause problems for those servers. Haven't found similar procedures for 2008 R2.
    I have been able to narrow this down a bit.
    A Windows 2008 R2 SP1 server with Hyper-V installed – backup to a network share is successful;
    Install the DPM 2012 agent – same backup fails with the 2155348001 error.
    We use DPM 2012 to backup VMs, but DPM cannot perform a bare metal backup/restore of server and the 2012 version no longer has the DPMSRT feature. 
    I prefer to run Bare Metal Backup to a file server share.
    Stuck on this one.
    Rick

    Hi, 
    The issue is related to DPM, I would suggest you ask for help from DPM forums:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=dataprotectionmanager
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Windows 8 USB recovery fails with CTOERROR.flg error

    Windows 8 recovery using HP supplied USB recovery device failed with CTOERROR.flg error.
    [22:53:29.29] ChkErrBB.CMD : Detect some error during PININST_BBV.
    [22:53:29.31] ChkErrBB.CMD : Check c:\system.sav\logs\BurnBootWarn.log
    [22:53:29.31] ChkErrBB.CMD : or, check c:\system.sav\logs\BurnBootMerge.log
    I have tried all the scenarios which are described in this forum but no success.
    Can anyone suggest to which date should i reset the BIOS or anyother workarounds??
    I have run diagnostic tests on Memory and Disks and both are fine.
    * There is a big problem with the HP recovery manager which fails to recover windows. Many have reported in this forum and other forums....but HP has failed to attend this issue and fix the problem in their recovery manger or atleast show a workaround to restore the windows.
    My laptop was drastically slow after the reinstall from the HP support.....and now when i decided to reset and recover the windows.....it fails. Unfortunately my laptop is out of warranty.
    This is pushing me away from any HP and will never ever buy or recommend anyone to buy a HP product.
    History about previous issue with this laptop:
    Order # BDRN598901
    Order # BDTP356101
    * I had an issue with the HP recovery manager in creating recovery disc. I did contact the HP support as my warranty was still in place. They took my laptop and reinstalled the OS and sent it back to me. 
    Even after that i could not create a recovery disk and they send me a USB recovery device. 
    Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment
    BDTP356101 USB - WINDOWS 8 64B RECOVERY KIT SW FULFILLMENT POSTAL DELIVERY GROUND Shipped 05/05/2014 POSTAL SERVICE (STANDARD)
    Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment BDRN598901 HP ENVY 4-1115DX TouchSmart Ultrabook BOX PLUS PICKUP & REPAIR, 2 DAY SHIPPING Shipped 04/30/2014 FED-EX NEXT DAY (AFTERNOON)
    Thanks,
    KB29

    Set the date in BIOS to 1/02/2012. Save & Exit. Boot with Recovery, let it run through the process- but on the first reboot initiated by recovery enter BIOS again to insure date is still set to 2012. If not change it again, then let recovery resume.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • I had a problem with the hard disk on a 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB and when I tried to erase and format It fails with input/output error. Any help much appreciated!

    I had a problem with the hard disk on a 13" 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB disk but when I tried to erase and format, it fails with input/output error and at other times saying unable to allocate memory. Any help much appreciated!

    Zap the PRAM and Reset the SMC, then try again.

Maybe you are looking for