Skip to Content
author's profile photo Former Member
Former Member

CPA Cache and J2EE server issues

Hi Experts,

I am having a File to File scenario where the sender channel picks up csv files ( around 3MB each). Once I finished the configuration of the scenario, the J2EE server started to restart continuously five times and stops with a out of memory error.

After going through the defaultTrace.trc file in logviewer, this is the first error that I could see after starting the J2EE server.

CPA Cache not updated with directory data, due to: Couldn't open Directory URL (http://pi-dev:50000/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=C&consumer=af.pid.pi-dev), due to: HTTP 503: Not Ready

Source Name: com.sap.aii.service.cpa.impl.cache.CacheManager.I checked the RFC destination of INTEGRATION_DIRECTORY_HMI and also checked if PIDIRUSER and PIAFUSER are locked or not. But they are not locked.

After the above error, the errors just build up probably because of the adapter framework not firing up. One of the error is:

Failed to lookup object from JNDI for name localejbs/AFWListener within app level thread. Reason: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at localejbs, the whole lookup name is localejbs/AFWListener.

Source: com.sap.aii.af.ra.ms.runtime.Resources

I also increased the max thread count in the Application Thread Manager to 250 in the Config tool. I kept the heap sizes as posted above.

Any help will be greatly appreciated.

Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 21, 2009 at 08:55 AM

    Hi,

    Clean java memory which are using that temp log files.(Garbage collector)

    once you cleared sufficient space then restart the jave engine again.

    Regards,

    Sumit Gupta

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 20, 2009 at 03:46 AM

    Hey,

    >the J2EE server started to restart continuously five times and stops with a out of memory error.

    Strange, Can you test with less than 1 MB file and let us know the status, Is SAP PI & ECC are installed in the same Server.

    Cheers

    Agasthuri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2009 at 04:32 AM

    Problem solved by increasing the MaxPermSize and the MaxThreadCOunt parameters using the configtool.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.