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

Why we have to restart the J2EE engine???

Hi all,

every 5 days all the messages are sitting in adapter engine as status ''TO BE DELIVERED''. everytime after restarting the J2EE engine all the messages came up with ''successfull''. its happening in our Production System.

1)why this problem is happenning every 5 days?

2)after restarting the J2EE engine why all the messages gone through sucessfull?

3) is there any altternative way to fix this problem without restaring the J2ee engine?

Answer will be rewarded.

Kiran.

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 31, 2007 at 12:16 PM

    Hi Kiran,

    if the messages are stuck on the J2EE Adapter Engine, you should check for the log entries on the JAVA Node(s).

    Could be for example that your machines goes into a kind of GC cycle (seen this in AIX), so that no normal processing on the JAVA Engine is possible. After restart it starts normal again, but you might run into it later on.

    So check the GC output in std_server.out of your J2EE server node(s).

    Might be helpful to check with an J2EE Engine specialist this part here.

    Otherwise it could be that your network connections to one partner is unreliable, and this could prevent also all other messages to be processed.

    You might be able to identify the last sucessfull message before and the message causing the "to be delivered" problem in the RWB monitoring of your AFW messages - check there the timeout definitions of the causing adapter.

    In older XI releases and SPS the timeout was not set and a hanging partner could stay there for a very long time, even until the J2EE Enigne was and had to be restarted. But this behaviour has been fixed in the meantime. More details in regards to your system release and SPS release might be helpful.

    Best regards,

    Silvia

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 09:23 AM

    Hi,

    Which adapters are you using which are getting this problem?

    Are these sender or receiver channels?

    What is the status in sxmb_moni?

    What is the status of the communication channels that are problematic when you get the status "To be delivered"?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 09:26 AM

    You could try scheduling RSXMB_RESTART_MESSAGES

    Otherwise, there may be something fundamentally wrong with your queues.

    Do you get a list of queues in SMQR? do you monitor SMQ1 and SMQ2?

    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.