OSB Email Polling 10gr3

Hi,
I have a problem at one of my customer sites using the OSB email polling mechanism. We created a proxy service that monitors and downloads mail from an Exchange 2007 mailbox. Last week they moved the mailbox to an Exchange 2010 server... After the move I saw the following error in the Service Bus log:
<2010/08/02 03:38:03 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280756283684> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
com.bea.wli.sb.transports.TransportException: Missing start boundary
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.mail.MessagingException: Missing start boundary
     at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
     at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
     at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
We moved the mailbox back to 2007 and the server processed the messages normally...
Does anybody know what would cause this error?
Another interesting, but alarming fact is that when this error was generated, no messages where written to the error folder location specified in the proxy service configuration... The messages were successfully "popped" from the server and then simply went missing... Is this maybe a bug?

Hi Anuj,
I'm using IMAP to connect to the mailbox. Just to give you a bit of background, the mail message contains attachments so will be multipart messages.. I was able to replicate the issue by sending a mail with attachment from my Apple Mail client, so it would seem like this error has something to do with the format of the multipart message...
Basically to error repeats in the domain log:
####<2010/07/30 05:21:55 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503315053> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
com.bea.wli.sb.transports.TransportException: Missing start boundary
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.mail.MessagingException: Missing start boundary
     at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
     at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
     at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<2010/07/30 05:22:15 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503335836> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
com.bea.wli.sb.transports.TransportException: Missing start boundary
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.mail.MessagingException: Missing start boundary
     at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
     at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
     at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<2010/07/30 05:22:36 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503356631> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
com.bea.wli.sb.transports.TransportException: Missing start boundary
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.mail.MessagingException: Missing start boundary
     at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
     at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
     at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<2010/07/30 05:22:57 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503377407> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
com.bea.wli.sb.transports.TransportException: Missing start boundary
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.mail.MessagingException: Missing start boundary
     at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
     at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
     at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<2010/07/30 05:23:18 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503398233> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
com.bea.wli.sb.transports.TransportException: Missing start boundary
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.mail.MessagingException: Missing start boundary
     at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
     at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
     at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
     at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
     at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
     at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
     at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Are there any other logs I can look for? Taking into account that this is our production machine...
Edited by: Ben Taljaard on Aug 3, 2010 2:55 AM

Similar Messages

  • Oracle bpel 11g email polling ?

    could oracle bpel 11g support email polling(checking inbox of an email account for a defined period time) ?
    try to google and find some tutorial to enable email polling in bpel 10g.
    but try to implement it and can't find folder BPEL in <SOA_HOME>
    now i can utilize email polling from fusion middleware Oracle Service Bus. but it would be more suitable if i can do the polling from my bpel instance.
    if someone has experience in this, pls share and will be very appreciated it.

    using the tutorial from amis.nl, how can i get the sender, subject (email header) from the email that i'm polling ? with an empty body message email.
    i'm facing issue the xml that ums adapter poll and send to the bpel process is only the message body part. can not get the header part.

  • Better language for email polling, C# or C++?

    There's currently a small internal debate over what language we should be writing an email polling service.
    It is a part of a much broader system. Various accounts will be set up, and emails will be pulled from them and then encrypted and stored in a database.
    As it is part of a larger system we are planning on using an ORM such as Entity Framework and have a DAL or C# API to handle all things database. C# .NET has a solid networking API and some mail related stuff already, as well as solid encryption.
    Concerns surrounding using C++ include;
    Having to write network code from scratch (limited on external library use)
    Can not use Entity Framework or the C# database API, would require database code to be repeated in 2 languages allowing for transfer of bugs, more time taken etc..
    Encryption.. The clients are going to be .NET and so we want to use .NET encryption from start to finish so that encryption is standardized throughout
    Later in the projects life we want to support more than just Pop3 and IMAP, Microsoft provide a managed API for it's exchange web services. To achieve this in C++ is not elegant and not recommended by Microsoft
    What are the advantages of using C++ in this scenario if any?

    Hi Lee,
    first of all: I would choose C# for the task.
    That said, C++ does have some advantages:
    Better control over memory usage (it's especially easier to vanish sensitive information from memory)
    Having to build it up from scratch means you can optimize performance to your specific needs.
    I don't see how that would justify adding that much more work-hours though.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How do you email poll results?

    How do you email poll results?

    sorry about the typo error on the p.s
    i have attached my vi with an excel file with my measurements i am talking about.the first column goes from segment 1-35 while the second column goes from 1-42.
    i want to compare these 2 columns on the same time axis
    Attachments:
    segment analysis.xls ‏24 KB
    Testing Cepstrum Algo.vi.vi ‏201 KB

  • OSB Email Transport polling in multi cluster environment

    Hi,
    I have following scenario: email needs to be read by OSB proxy using the Email transport. The proxy service service will poll the IMAP mail box and processes messages, upon reading a message message is deleted.
    The email transport works fine in a cluster environment by using a dedicated managed node for polling, so no duplicate messages will occur.
    However, we have two clusters in our environment pointing to one mailbox. In this case, two clusters have no visibility of each other. So, two pollers may poll the same mailbox.
    Please, advice if there any configuration on OSB, Weblogic or IMAP can be done to solve this issue.
    thanks,
    Djail

    Dont think it will work in an Active-Active setup. If you have both clusters listening to same email address then both will receive a copy (just like you receive same email on your desktop's email client and also on your mobile's email client) because SMTP servers distribute to clients similar to how a JMS Topic works.
    Dont know if there is a setup in IMAP which will allow an email to be sent to only one client (in this case one of the OSB clusters).
    If you want to make it work in Active-Active then you will need to do it at functional level, for ex. after receiving an email if you have any unique id then log that in a transaction table, before calling the backend, check if the same email was already processed by the other cluster. Alternatively, check at the backend before processing it.

  • Conditional email polling

    Hello everyone!
    I wonder if it is possible to poll an email inbox conditionally (with OSB 11gR1)...
    For example, I want to poll only the emails coming from a certain sender... Or only the emails that include a certain substring in its subject...
    The purpose is to have several proxy services polling the same inbox, and depending on their properties invoke different services...
    If an email arrives to the inbox and does not fulfill any of these conditions, it remains in the inbox.
    Is this possible?
    Best regards,
    Bagagem

    Hello,
    I've been struggling with this for the past few days, I can't find a reasonable way to fulfill my needs...
    At the moment I have only one proxy service polling an email inbox through IMAP, and then, after reading the email, moves it to another folder inside the email (Post read action: Move; IMAP move folder: DestinationFolder ).
    However, if I have more than one service polling the same inbox... I cannot distinguish which emails are intended for which service...!
    I'm using OSB 11gR1.
    Any thoughts about this?
    Haven't anybody been working with something similar?
    Bagagem

  • OSB DB Poller deleting the record when there is a failure

    Hi All,
    My project consists of below OSB services..
    DB Poller -> Proxy service A -> Proxy service B
    DB Poller is JCA Based and it should delete the polled record after the complete flow is successful. If there is any error in my OSB Proxy services, the record should not be deleted.
    Proxy service A calls Proxy service B using routing(static). My Proxy service B is throwing error and the record is getting deleted.
    If I change to Dynamic routing the record id not getting deleted and the flow works as expected. The routing option configuration is same for both static and dynamic routing.
    The only configuration in my routing option is QOS="Exactly once" .
    Can anyone let me know why the record is deleted if I use static routing?
    Thanks in advance

    In your scenario record will be deleted as your DB Poller will commit the transaction once the message has been delivered to Proxy Service A.
    If you want the message not to be deleted then you must have only the DB Poller proxy include the logic of proxy A and must make a call to proxy B.

  • Send HTML email using OSB email transport

    Hi all
    The client we are working for has a specific email template (HTML based) in which emails need to be send. I have tried using the HTML tags to frame this email string, but when I open the email in outlook, I can see the tags as it is. Tags like <p> <br> are not recognised as HTML rather taken as normal strings.
    Pls help in framing an HTML based email message using OSB. Thanks

    Hi Anuj
    Thanks again! You are a life savior. Actually i did check the blog, but the author was modifying http headers in the blog using $outbound variable directly using xpath. So, i just wanted to clarify, if using transport headers for outbound request for email protocol would do the job.
    I will check and post back the results. I am currently struggling with OSB and Log4j java callout. I am getting weird logs from OSB server in my interface specific log.

  • OSB Email Can't find wsdl for Proxy?

    Hi,
    OSB 11G
    Req: System A will invoke OSB Service and OSB should send an email.
    I have created a Business Service and Proxy Service for Email in OSB like:-
    Business Service:
    1.Selected Service Type as Message Service.
    2. Req Message Type as Text
    3.Select Protocol=Email ad gave End Point URI
    4. Selected SMTP Server .
    Proxy Service
    1. I created XML(for incoming request content in Proxy) and imported in my Proxy and selected http Protocol in Proxy.
    2. In Proxy, I created Route Node. In Route Node, I used Communication->Transport. and set the Transport Headers Subject as $body/ema:Email/ema:subject/text() =expression
    To as $body/ema:Email/ema:to/text() =expression.
    3. I added an action -replace with variable body and expression=$body/ema:Email/ema:content/text().
    Both Business and Proxy are working fine. But I cannot see WSDL for OSB Service? As I want this OSB Service to be called from System A.
    Thanks

    You will not find a WSDL for http type service.
    You have to create your own WSDL and create a WSDL based proxy service.

  • OSB 11g - poll JMS topic on OAS 10.1.2

    Hi everybody,
    We are going to create OSB 11g proxy service that will poll JMS topic located on Oracle Application Server 10.1.2. I think that the first step is to set up foreign JMS server, connection factory and destinations in the Weblogic server, am I right?
    I've never set up that before and l looking for any guides on how to set up OAS 10.1.2 topic as foreign destination in Weblogic 10.3.3.
    Any help will be appreciated
    Best regards,
    Dmitry

    Ok, finally I found this guide http://www.oracle.com/technetwork/middleware/bam/technote-bam-connectingoc4jjms-129297.pdf and set up foreign JMS server, connection factory and topic. These foreign JMS objects are included in weblogic JNDI tree, and I could successfully deploy OSB Proxy Service that is intended to poll foreign JMS topic. The following error appeared in the weblogic server log file after deployment:
    <Aug 24, 2010 1:21:44 PM MSD> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: RequestEJB-4249293316140669267--703a
    3e3e.12aa2c85115.-7fcd is unable to connect to the JMS destination: jms.oc4jUDC_IDENTITY_TOPIC. The Error was:
    [EJB:011014]The Message-Driven EJB failed while creating a JMS Connection. The error was:
    javax.jms.JMSException: Unable to create a connection to "/0.0.0.0:12,601" as user "null".
    Linked exception: java.net.ConnectException: Connection refused.
    javax.jms.JMSException: Unable to create a connection to "/0.0.0.0:12,601" as user "null".
    at com.evermind.server.jms.JMSUtils.makeJMSException(JMSUtils.java:1898)
    at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1914)
    at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:114)
    at com.evermind.server.jms.EvermindTopicConnection.<init>(EvermindTopicConnection.java:63)
    at com.evermind.server.jms.EvermindTopicConnectionFactory.createTopicConnection(EvermindTopicConnectionFactory.java:91)
    at com.evermind.server.jms.EvermindTopicConnectionFactory.createTopicConnection(EvermindTopicConnectionFactory.java:83)
    at weblogic.ejb.container.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:503)
    at weblogic.ejb.container.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1969)
    12601 is JMS port of remote OC4J instance, I can connect to this port from weblogic server though telnet.
    I do not know why 0.0.0.0 is printed as IP address, and why user is "null" ..
    Any ideas on that?

  • IMAP Email Polling

    Hi, I am using IMAP to poll emails (as in http://blogs.bpel-people.com/2007/01/using-email-to-initiate-bpel-process.html), it polls sometimes, but sometimes the messages just dissapear from my email but the bpel process don't get initiated. This happens about 50% of the time, any ideas?

    i had the following problem:
    50% of the messages lost, bpel not initiated...
    => solution:
    the bpel was two times deployed. On two servers....
    Other possible solution:
    the adapter fetches all the mails and the correlation does not match the correlation which the bpel wants...

  • Email polling

    Am I missing something or does the iPhone not poll email accounts?
    I am using pop3.
    I can not find any settings to set how often to poll for email.
    Also, when I remove email off the server from my main computer the email stays on the iPhone thus I have to remove it manually.
    TIA
    Ron
    iMac    

    Am I missing something or does the iPhone not poll
    email accounts?
    I am using pop3.
    I can not find any settings to set how often to poll
    for email.
    Also, when I remove email off the server from my main
    computer the email stays on the iPhone thus I have to
    remove it manually.
    TIA
    Ron
    iMac    
    Ok, there are a couple of different concepts at work here.
    If you want to check for email every XX minutes, go to Settings / Mail and scroll down to Auto-Check. You can choose every 15 minutes, every 30 minutes or every hour.
    Now, if you are using POP mail, you can configure deleted mail behavior by going into Settings / Mail, choose the POP account you want, and choose Advanced. There you can tell it to delete files from server never, 7 days, or when they are removed from the iPhone inbox.
    If you are using IMAP, mailboxes are "synced". You can also configure deleted mail behavior under Mail / Settings, but its a little confusing and I haven't figured it out yet. I have my home PC accessing these accounts using POP, and when I download it from my home PC it automatically deletes them from my iPhone, as my iPhone is syncing with my mailbox using IMAP.

  • Urgent: OSB FTP polling is not working, help!!!

    hi all,
    I am doing an onsite poc on customer site, and configuring and proxy service on OSB(11.1.1.5) using ftp , but it just not working, not picking files in the specified folder, no error message. seems it can connect and login, but just not picking the files, though I set the mask to *.*, poll interval 3 seconds. any tricky? someone can help?
    I've read all the documents abt ftp transport, and I can configure file proxy, ftp business service successfully.
    thank you very much in advanced.

    no log still, for DEBUG.
    error will throw in log only if I set the wrong user/password.
    seems it connected to the ftp server, but just not picking the files there. I don't know why. I doubted it's the problem of the path setting, but it's the same for phsical path and relative path. not working.
    help...........

  • Need help to setup UMS adapter for email polling using BPEL

    I am trying to use UMS adapter to read emails from a mailbox.
    I have followed the link(http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/) to do the setup.
    But after the BPEL deployment in the logs i am seeing the below error:; Please help me on this.
    java.lang.Exception: Cannot locate Java class oracle.tip.adapter.ums.inbound.UmsActivationSpec
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.getActionSpecClass(SCALifecycleNotifier.java:232)
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onLifecycleEventActivationSpec(SCALifecycleNotifier.java:184)
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onEvent(SCALifecycleNotifier.java:128)
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onLoad(SCALifecycleNotifier.java:92)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointLoad(AdapterServiceRevisionRegistry.java:565)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.activate(AdapterServiceRevisionRegistry.java:443)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.setDefaultRevision(AdapterServiceRevisionRegistry.java:409)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeries.setDefaultRevision(AdapterServiceRevisionRegistry.java:334)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeriesSet.setDefaultRevision(AdapterServiceRevisionRegistry.java:140)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry.setDefaultRevision(AdapterServiceRevisionRegistry.java:103)
    at oracle.integration.platform.blocks.adapter.AdapterService.defaultRevisionChanged(AdapterService.java:348)
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.notifyDefaultRevisionListeners(StandaloneCompositeDeploymentCoordinatorImpl.java:249)
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:69)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:415)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:250)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:168)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:112)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:100)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:81)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:219)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    Regards,
    Syam

    Syam,
    In PS5, this feature was introduced in preview mode and is not recommended to be used in production. Please use PS6 (11.1.1.7.0) if you want to implement this feature for a production solution.
    java.lang.Exception: Cannot locate Java class oracle.tip.adapter.ums.inbound.UmsActivationSpecMake sure that you have installed the UMSAdapter.rar on SOA servers (step#2 of above mentioned blog).
    Regards,
    Anuj

  • OSB File polling working twice with the same file

    I have a problem executing a proxy service that get files from a file system. Everything in the flow works as expected, but at a certain point I must wait an update on a database and the process awaits for that change. Everthing goes normal if the update comes within the next 1-7 minutes, but after that if the process is still there(generally 9-11 minutes), a second process is called and the file processed is the same. After the first process is called the folder is empty so I can not understand why the proxy is called again with the same file, since there is nothing on the folder. This can happen since I am doing database modifications.
    The process is only invoked twice with the same file, no process is called again(A Third one) if the two processes are still working, wich is weird. since nothing in my proxy logic returns to the beginning.
    Does "Weblogic/OSB" tends to free resources on a specified time, such as "Max Stuck Thread Time" but for files or other resources?
    Any ideas why this is happening
    Thanks in advance.

    I think this is due to transaction timeout. The PolledMessageListenerMDBEJB under File Transport provider has a transaction timeout of 10 minutes. So if you are having a very long running transactions which spans more than the 10 minutes, you might see the rollback happening due to timeout.
    To confirm is this is the case, when this issue occurs, Go to JMS Modules >jmsResources >wlsb.internal.transport.task.queue.file_auto_n >Monitoring. You should see messages in messages pending column.
    click Show Messages. Click on a message and check Delivery count. This should have a value 1 or more which should mean message has been rolled back atleast once before.
    if it is the case you can try modifying the transaction timeout value of PolledMessageListenerMDBEJB under File Transport provider in deployments and then update the file transport provider deployment. Parallely check with support on what is the official recommendation for increasing timeout.

Maybe you are looking for

  • ITunes shows the music and audiobooks I've loaded to my iPod Touch, but they do not show up when I try to play them.

    iTunes shows the music and audiobooks I've loaded to my iPod Touch, but they do not show up when I try to play them.  I reconnect to iTunes and it shows the music and books as being loaded on my iPod. Sometimes the audiobook will play, then disappear

  • Flat file should have source field name and value

    Hi Friends I have a scenario of Idoc to Flat file , where in the target structure the field name and value should be present, generally only the value is available in a flat file.The target structure is as below: for e.g RECTYPE is the Field Name and

  • Golden Gate SQL Server Replication

    Hello Friends.. I need your help in getting some information about Golden Gate SQL Server replication. Could you guys please help me in finding an answers on how a highly transactional sql server does with clustering and replication ? How long does i

  • TWO MASTER AND ONE DETAIL TABLE

    HI, I HAVE TWO SEPARATE MASTER TABLE WITH SAME DETAILS I MADE ONE DETAIL TABLE REFERENCES BOTH OF THE MASTER TABLES(BOTH MASTER HAVE SAME PRIMARY COLUMN NAME) , BUT WHEN INSERT RECORD IN DETAIL IT GIVES ME ERROR THAT PARENT KEY NOT FOUND(ALTOUGH I HA

  • Text in PS

    Is it true that we should avoid making text in Ps cause the letters appear pixelated? What do you think about the about view? Is it true? Meaning, AI or Fw should be used for this purpose.