4 Replies Latest reply: Apr 19, 2013 5:08 AM by 846590 RSS

    Error in mail proxy on OSB Server

    846590
      Hi,

      I am facing following issue in my production, but no idea.
      please help me to resolve.

      ####<Apr 8, 2013 11:26:19 AM SGT> <Error> <WliSbTransports> <PRODSVR> <OSBMGNDSVR1> <pool-16-thread-1> <<anonymous>> <> <0000Jq0Z35q5qY15zvw0yW1HHx7h000001> <1365391579787> <BEA-381011> <Error occured for the service endpoint ProxyService$XXXPROJNAME$ProxyServices$XXXEmailProxyService: java.io.IOException: No content
      java.io.IOException: No content
           at com.sun.mail.imap.IMAPInputStream.fill(IMAPInputStream.java:159)
           at com.sun.mail.imap.IMAPInputStream.read(IMAPInputStream.java:208)
           at com.sun.mail.imap.IMAPInputStream.read(IMAPInputStream.java:234)
           at com.sun.mail.util.BASE64DecoderStream.getByte(BASE64DecoderStream.java:350)
           at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:243)
           at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:148)
           at java.io.FilterInputStream.read(FilterInputStream.java:101)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.writeFullMimeMessage(EmailWorkPartitioningAgent.java:530)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:237)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
           at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
           at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
           at java.util.concurrent.FutureTask.run(FutureTask.java:149)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:217)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
           at java.lang.Thread.run(Thread.java:738)
      >
      ####<Apr 8, 2013 11:26:21 AM SGT> <Info> <ALSB Logging> <PRODSVR> <OSBMGNDSVR1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <ac619d1b1f02eb70:2f146715:13d808c07db:-8000-000000000004b0ba> <1365391581301> <BEA-000000> < [PipelinePairNode1, PipelinePairNode1_request, InvokeXXXAuthorization, REQUEST] ProcessID for Authorzation::::::::: <processid>6004</processid>>
      ####<Apr 8, 2013 11:26:21 AM SGT> <Info> <ALSB Logging> <PRODSVR> <OSBMGNDSVR1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <ac619d1b1f02eb70:2f146715:13d808c07db:-8000-000000000004b0ba> <1365391581302> <BEA-000000> < [PipelinePairNode1, PipelinePairNode1_request, InvokeXXXAuthorization, REQUEST] Logging the authorize message::::: <sec:isAuthorized xmlns:sec="http://com/CCC/CCC/CCC/webservices/security">
      <sec:userID>XXXXX</sec:userID>
      <sec:processID>XXXXXX</sec:processID>
      </sec:isAuthorized>>
      ####<Apr 8, 2013 11:26:24 AM SGT> <Error> <WliSbTransports> <PRODSVR> <OSBMGNDSVR1> <pool-16-thread-1> <<anonymous>> <> <0000Jq0Z35q5qY15zvw0yW1HHx7h000001> <1365391584655> <BEA-381013> <Error encountered while processing the Inbox messages for Email Proxy Service ProxyService$XXXPROJNAME$ProxyServices$XXXEmailProxyService: com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent$PostReadException: Error while processing post-read flag
      com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent$PostReadException: Error while processing post-read flag
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processPostRead(EmailWorkPartitioningAgent.java:468)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:261)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
           at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
           at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
           at java.util.concurrent.FutureTask.run(FutureTask.java:149)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:217)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
           at java.lang.Thread.run(Thread.java:738)
      Caused By: javax.mail.MessagingException: A66 NO Some of the requested messages no longer exist.;
      nested exception is:
           com.sun.mail.iap.CommandFailedException: A66 NO Some of the requested messages no longer exist.
           at com.sun.mail.imap.IMAPFolder.copyMessages(IMAPFolder.java:1549)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processPostRead(EmailWorkPartitioningAgent.java:459)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:261)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
           at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
           at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
           at java.util.concurrent.FutureTask.run(FutureTask.java:149)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:217)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
           at java.lang.Thread.run(Thread.java:738)
      Caused By: com.sun.mail.iap.CommandFailedException: A66 NO Some of the requested messages no longer exist.
           at com.sun.mail.iap.Protocol.handleResult(Protocol.java:341)
           at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:363)
           at com.sun.mail.imap.protocol.IMAPProtocol.copy(IMAPProtocol.java:1338)
           at com.sun.mail.imap.protocol.IMAPProtocol.copy(IMAPProtocol.java:1320)
           at com.sun.mail.imap.IMAPFolder.copyMessages(IMAPFolder.java:1541)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processPostRead(EmailWorkPartitioningAgent.java:459)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:261)
           at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
           at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
           at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
           at java.util.concurrent.FutureTask.run(FutureTask.java:149)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:217)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
           at java.lang.Thread.run(Thread.java:738)
      >


      Thanks,
      Abhishek

      Edited by: abhishek on Apr 8, 2013 6:50 PM

      Edited by: abhishek on Apr 8, 2013 6:51 PM
        • 1. Re: Error in mail proxy on OSB Server
          vladodias
          It looks like a bug on your mail server? Probably cache related? What's your email server?

          Cheers,
          Vlad
          • 2. Re: Error in mail proxy on OSB Server
            846590
            I have found that some time I am receiving same mail twice. that time I am facing this issue. I guess after reading the first mail proxy removing both mails but at the same time my proxy trying to read another mail also. but still not convinced.??
            • 3. Re: Error in mail proxy on OSB Server
              Anuj Dwivedi--Oracle
              By any chance are you using Surge mail server? If yes then it's a known issue with it. If you are not using Surge then can you let us know which mail server are you using and what exactly is the proxy service settings and message flow?

              Regards,
              Anuj
              • 4. Re: Error in mail proxy on OSB Server
                846590
                Hi Anuj,

                Sorry for the late reply.
                we are using Microsoft 2007 exchange server.

                just summarizing the issue one more time.
                we have noticed we are facing few error messages in our OSB Log

                Can not load header.
                error encounter while processing the inbox.
                no content.

                We have noticed that in our proxy service move the mail to move folder, but we found there was two mail of same copy in move folder, it means two times the same mail has processed. and in second attempt this error message came.

                Can you help me to understand what the scenario can happen behind this.

                Regards,
                Abhishek

                Edited by: abhishek on Apr 19, 2013 3:05 AM