Email UMS Adapter returning invalid attachments href code

Hello,
Trying to process emails with the UMS Adapter I'm having a problem.
The href value that the attachments have are invalid. For instance:
<inputVariable>
  <part  name="body">
  <ns0:message>
  <payload  xsi:type="xs:string"> testing </payload>
  <attachment>
  <Attachment  href="1"/>
  <Attachment  href="2"/>
  <Attachment  href="3"/>
  </attachment>
  </ns0:message>
  </part>
</inputVariable>
It saw it was strange because on the samples I've found the href property is always a GUID or similar code.
I've tried to get the contents for any of the attachments but I'n getting the following error:
javax.xml.xpath.XPathExpressionException: Cannot load attachment with dbKey: 2
        at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:242)
        at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:247)
Does anyone know the reason for this? and how to solve it?
Thanks,
Daniel Alves

<copy> 
  <from expression="ora:getAttachmentContent('input','bin')"/>
  <to variable="initiateTaskInput" part="payload"
  query="/taskservice:initiateTask/task:task/task:attachment/task:content"/>
</copy>
Above will copy the Attachment content which has its HREF stored in "input/bin" variable to "content" variable in base64 encoded form.
Now you can view the attachment in BPEL flow trace and parse it using BPEL Assign/XSLT.

Similar Messages

  • UMS Adapter - Get the attachment name of the incoming email

    Hello there,
    Based on this blog http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/
    I'm trying to get the attachment name to identify its type (XML, PDF, etc) and save It with the proper name. However the schema generated by the UMS Adapter service does not provides helpful metadata information to achieve this.
    Do you known an idea, a solution or a documentation to get the attachments name?
    Thanks in advance.

    Hi,
    Yes Anuj, the UMS Adapter is in preview mode, we are testing it because seems solve in a good fashion our requirement, maybe this is a risk but finally is an evaluation.
    How can I extract the content-type you mention? The payload transfered from the UMS Adapter to BPEL is like this:
    <ReceiveNotification_InputVariable>
    <part name="body" >
    <ns0:message>
    <payload xsi:type="xs:string" >Message body bla bla bla</payload>
    <attachment>
    <Attachment href="79B86930ED5411E1BFE8A57D24C81110" />
    <Attachment href="79B92C80ED5411E1BFE8A57D24C81110" />
    <Attachment href="79B9C8C0ED5411E1BFE8A57D24C81110" />
    </attachment>
    </ns0:message>
    </part>
    </ReceiveNotification_InputVariable>
    In the configuration wizard for the UMS Adapter there is a Java callout section, do you think that is an option to looking for the content-type or any other useful metadata?
    Thanks.

  • Href  value not getting updated in UMS adapter payload

    Hi all,
    I am not getting the Href reference in UMS adapter payload. PFB the payload description.
    In that we can see the From address of the mail but noe the Href values.
    <ReceiveMail_InputVariable>
    <part  name="body">
    <ns0:message>"abc xyz" <[email protected]></ns0:message> 
    </part>
    </ReceiveMail_InputVariable>
    Please help me in this. What could be the reason for this ?
    Thanks in Advance
    Divyanshu Agarwal

    Hi all,
    I am not getting the Href reference in UMS adapter payload. PFB the payload description.
    In that we can see the From address of the mail but noe the Href values.
    <ReceiveMail_InputVariable>
    <part  name="body">
    <ns0:message>"abc xyz" <[email protected]></ns0:message> 
    </part>
    </ReceiveMail_InputVariable>
    Please help me in this. What could be the reason for this ?
    Thanks in Advance
    Divyanshu Agarwal

  • 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

  • UMS adapter configuration for inbound email in SOA 11g

    Hi,
    Greetings to SOA Gurus !!!
    Our requirement is to invoke BPEL process on receipt of an email.
    We have configured the UMS email driver and setup the incoming server settings.
    When a mail is sent to the configured email address, I can see that the email is received successfully in the soa server logs.
    The problem i'm facing is probably with the UMS adapter settings in the BPEL. Configured the UMS adapter to poll this email address , but this is not happening.
    PFB the .jca file :
    <adapter-config name="AtRemote_UMS_Mail_Receive" adapter="UMS Adapter"
    wsdlLocation="AtRemote_UMS_Mail_Receive.wsdl"
    xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">;
    <connection-factory location="eis/ums/UMSAdapterInbound"/>
    <endpoint-activation portType="ReceiveNotification_ptt"
    operation="ReceiveNotification">
    <activation-spec className="oracle.tip.adapter.ums.inbound.UmsActivationSpec">
    <property name="ConsumeMode" value="listener"/>
    <property name="InboundThreadCount" value="1"/>
    <property name="DeliveryType" value="Email"/>
    <property name="To" value="[email protected]"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    Any pointers on this would be of great help.
    Thanks,
    Saravana

    Hi Saravana
    Have you tried : http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/ ?
    Regards
    A

  • Inbound UMS Adapter Issues with Receiving Emails from Lotus Notes

    Hi,
    I have this requirement in my project where I need to read the mails from a particular Email Account which has been created in Lotus Notes. The IMAP Host and port is enabled for the same and I am setting all these in my Server's EM Console UMS Driver settings. I have provided all the Details required for Incoming Email Driver setup like: IncomingMailID, IncomingMailServer, Port, Server Type: IMAP, IncomingMailIDs etc. I have followed all the steps mentioned in regular UMS Adapter Documentation and Blogs.
    I can see that Soa-infra is able to access all the mails from this mail Account and I can see the same in the managed server log files also. But the issue is with the BPEL Process which I have created with the Inbound UMS adapter. This process has UMS inbound adapter with the Email address same as the one defined in UMS Configuration in EM Console.
    The Process is not getting triggered at all whenever a new mail comes to the mail id. I am not sure what is the issue. If anyone has faced similar issue please let me know the solution for the same.
    Also 1 strange thing I observed is, if I go to the Soa-infra proerties-> Human Workflow Management and Test the notification by sending mail to the IncomingMailId, the Process is getting triggered, but if I send a mail from any other gmail/any other account to the IncomingMailID set in Process and server, the Process is not getting triggered.
    In the logs I see the following Error messages which I don't think would be impacting the Process to receive messages as soa-infra is able to pick the messages without any issues.
            at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSou
    rce.java:119)
            at javax.activation.DataHandler.getInputStream(DataHandler.java:223)
            at javax.mail.internet.MimeBodyPart.getInputStream(MimeBodyPart.java:573
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:998)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:1023)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.create
    IncomingMessage(EmailResourceAdapter.java:593)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:440)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:871)
            at javax.mail.Message.setFlag(Message.java:578)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:501)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:715)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.getMes
    sageID(EmailResourceAdapter.java:1415)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:417)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Hi,
    I have this requirement in my project where I need to read the mails from a particular Email Account which has been created in Lotus Notes. The IMAP Host and port is enabled for the same and I am setting all these in my Server's EM Console UMS Driver settings. I have provided all the Details required for Incoming Email Driver setup like: IncomingMailID, IncomingMailServer, Port, Server Type: IMAP, IncomingMailIDs etc. I have followed all the steps mentioned in regular UMS Adapter Documentation and Blogs.
    I can see that Soa-infra is able to access all the mails from this mail Account and I can see the same in the managed server log files also. But the issue is with the BPEL Process which I have created with the Inbound UMS adapter. This process has UMS inbound adapter with the Email address same as the one defined in UMS Configuration in EM Console.
    The Process is not getting triggered at all whenever a new mail comes to the mail id. I am not sure what is the issue. If anyone has faced similar issue please let me know the solution for the same.
    Also 1 strange thing I observed is, if I go to the Soa-infra proerties-> Human Workflow Management and Test the notification by sending mail to the IncomingMailId, the Process is getting triggered, but if I send a mail from any other gmail/any other account to the IncomingMailID set in Process and server, the Process is not getting triggered.
    In the logs I see the following Error messages which I don't think would be impacting the Process to receive messages as soa-infra is able to pick the messages without any issues.
            at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSou
    rce.java:119)
            at javax.activation.DataHandler.getInputStream(DataHandler.java:223)
            at javax.mail.internet.MimeBodyPart.getInputStream(MimeBodyPart.java:573
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:998)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:1023)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.create
    IncomingMessage(EmailResourceAdapter.java:593)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:440)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:871)
            at javax.mail.Message.setFlag(Message.java:578)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:501)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:715)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.getMes
    sageID(EmailResourceAdapter.java:1415)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:417)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

  • UMS Adapter for SMS & email attachment

    I found UMS adapter has provision to develop BPEL for email notification only.Refer below link
    http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/ums_adapter.htm#CHDCHJJC
    A) Does UMS Adapter support to develop BPEL service for incoming/outgoing for SMS notification?
    B) Does UMS Adapter support to develop BPEL service that sends attachment while sending outgoing email address?
    Thanks In Advance
    Priyadarshi

    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

  • Receiving email notification UMS Adapter

    Hi ,
    I am using Oracle SOA Suite PS5 UMS adapter. UMS adapter is working fine while sending outbound email notifications, but the same is failing while receiving inbound email notifications, as there is no instance being created for deployed project containing UMS adapter operations type Inbound Receive Notification .
    I have checked also, there is no inbound notifications being seen in Service Engine---Human Workflow-- Notification Management.
    I have followed : http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/
    but had no luck :(
    Log Trace :
    oracle.fabric.common.FabricDeploymentException: [JCABinding] [UMSPROJ2.InboundEmailUMSService/2.0]Unable to complete initialization due to: Endpoint Activation Error.AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.The Resource Adapter UMS Adapter was unable to activate the endpoint oracle.tip.adapter.ums.inbound.UmsActivationSpec:{InboundThreadCount=1, To=abhinavgupta****@gmail.com, PollingInterval=6, DeliveryType=Email, ConsumeMode=poller} due to the following reason: Unable to create Endpoint.
    Please correct the reported issue and redeploy the BPEL process. : Endpoint Activation Error. AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter UMS Adapter was unable to activate the endpoint oracle.tip.adapter.ums.inbound.UmsActivationSpec:{InboundThreadCount=1, To=abhinavgupta***@gmail.com, PollingInterval=6, DeliveryType=Email, ConsumeMode=poller} due to the following reason: Unable to create Endpoint.
    Please correct the reported issue and redeploy the BPEL process.
    {rootCauses=[]}
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry.access$3600(AdapterServiceRevisionRegistry.java:72)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry$AdapterServiceRevision.endpointActivation(AdapterServiceRevisio
    nRegistry.java:618)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry$AdapterServiceRevision.activate(AdapterServiceRevisionRegistry.
    java:444)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry$AdapterServiceRevision.setDefaultRevision(AdapterServiceRevisio
    nRegistry.java:409)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry$AdapterServiceSeries.setDefaultRevision(AdapterServiceRevisionR
    egistry.java:334)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry$AdapterServiceSeriesSet.setDefaultRevision(AdapterServiceRevisi
    onRegistry.java:140)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry.setDefaultRevision(AdapterServiceRevisionRegistry.java:102)
    at oracle.integration.platform.blocks.adapter.AdapterService.defaultRevi
    sionChanged(AdapterService.java:347)
    at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.p
    rocessDefaultInSeries(FabricKernelInitializerServlet.java:824)
    at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.r
    un(FabricKernelInitializerServlet.java:773)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run
    (WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManag
    er.java:184)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: BINDING.JCA-12517
    Endpoint Activation Error.
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.The Resource Adapter UMS Adapter was unable to activate the endpoint oracle.tip.
    adapter.ums.inbound.UmsActivationSpec:{InboundThreadCount=1, To=abhinavgupta***@gmail.com, PollingInterval=6, DeliveryType=Email, ConsumeMode=poller} due to the following reason: Unable to create Endpoint.
    Please correct the reported issue and redeploy the BPEL process.
    at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkIm
    pl.endpointActivation(AdapterFrameworkImpl.java:511)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpoi
    ntActivation.performEndpointActivation(JCAEndpointActivation.java:649)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpoi
    ntActivation.activateInboundJcaEndpoint(JCAEndpointActivation.java:632)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpoi
    ntActivation.performActivation(JCAEndpointActivation.java:386)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterService
    RevisionRegistry$AdapterServiceRevision.endpointActivation(AdapterServiceRevisio
    nRegistry.java:593)
    ... 11 more
    Caused by: Unable to create Endpoint.
    at oracle.tip.adapter.ums.UmsResourceAdapter.endpointActivation(UmsResou
    rceAdapter.java:195)
    at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkIm
    pl.endpointActivation(AdapterFrameworkImpl.java:492)
    ... 15 more
    <Dec 23, 2012 5:51:40 PM IST> <Error> <oracle.integration.platform> <SOA-20020>
    <Deployment of composite "UMSPROJ2" failed: [JCABinding] [UMSPROJ2.InboundEmailUMSService/2.0]Unable to complete initialization due to: Endpoint Activation Error.
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter UMS Adapter was unable to activate the endpoint oracle.tip.adapter.ums.inbound.UmsActivationSpec:{InboundThreadCount=1, To=abhinavgupta**@gmail.com, PollingInterval=6, DeliveryType=Email, ConsumeMode=poller} due to the following reason: Unable to create Endpoint.
    Please correct the reported issue and redeploy the BPEL process.: Endpoint Activation Error.
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter UMS Adapter was unable to activate the endpoint oracle.tip.
    adapter.ums.inbound.UmsActivationSpec:{InboundThreadCount=1, To=abhinavgupta***gmail.com, PollingInterval=6, DeliveryType=Email, ConsumeMode=poller} due to th
    e following reason: Unable to create Endpoint.
    Please suggest !!
    Regards,
    Abhinav
    Edited by: Abhinav on Dec 28, 2012 9:52 AM

    You can use callhome
    MDS(config)# ip domain-lookup
    MDS(config)# ip name-server
    MDS(config)# snmp-server contact
    MDS(config)# callhome
    MDS(config-callhome)# email-contact <[email protected]>
    MDS(config-callhome)# phone-contact
    MDS(config-callhome)# streetaddress
    MDS(config-callhome)# enable
    MDS(config-callhome)# transport email from <[email protected]>
    MDS(config-callhome)# transport email smtp-server
    MDS(config-callhome)# no destination-profile short-txt-destination alert-group All
    MDS(config-callhome)# destination-profile short-txt-destination alert-group Syslog-group-port
    MDS(config-callhome)# destination-profile short-txt-destination email-addr <[email protected]
    MDS(config-callhome)# no duplicate-message throttle
    Regards,
    Roman

  • How we can capture sender address in UMS adapter

    hi,
    we use  Custom Callout in UMS adapter to capture sender address
    we  create one temp text file to keep sender address and but i  get "java.lang.NullPointerException"
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileWriter;
    import oracle.sdp.messaging.Message;
    import oracle.tip.pc.services.translation.util.ICustomCallout;
    public class UMSCustomFilter implements ICustomCallout{
        @Override
      public boolean execute(Message message) throws Exception {
          BufferedWriter output=null;
          File file ;
        try {
                      file = new File("C:\\TEMP\\mail1.txt");
                      output = new BufferedWriter(new FileWriter(file));
                      String emailFromAddress  =message.getSenders()[0].getValue();
                      output.write(emailFromAddress);
                      output.close();
                } catch ( Exception e ) {
                   e.printStackTrace();
                       output.write(e.toString());
                   } finally{
                     if  (output!=null)
                       output.close();
          return true;
    Thanks
    Sameer

        Controls                                                         *
    CONTROLS: z_cond_type TYPE TABLEVIEW USING SCREEN 9001.
        Types                                                            *
    TYPES: BEGIN OF ty_cond_type.
    INCLUDE          TYPE zvsd_ct.
    TYPES: z_sel TYPE char01,
           END OF ty_cond_type.
        Internal tables                                                  *
    DATA : it_cond_type TYPE STANDARD TABLE OF ty_cond_type,
        Workareas                                                        *
    DATA : wa_cond_type TYPE ty_cond_type.
    CONSTANTS : kc_sel      TYPE char03    VALUE 'SEL'.
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN kc_sel.
          PERFORM f_sel_desel USING kc_sel_flag.
        WHEN kc_desel.
          PERFORM f_sel_desel USING space.
      ENDCASE.   "CASE sy-ucomm.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    PROCESS AFTER INPUT.
      LOOP AT it_cond_type.
        MODULE selected_row.
      ENDLOOP.
    MODULE selected_row INPUT.
      MODIFY it_cond_type
             FROM wa_cond_type
             INDEX z_cond_type-current_line
             TRANSPORTING z_sel.
    ENDMODULE.                 " selected_row  INPUT
    FORM f_sel_desel
         USING    p_sel_desel TYPE c.
    Set the value
      wa_cond_type-z_sel = p_sel_desel.
    Update the Itab.
      MODIFY it_cond_type
             FROM wa_cond_type
             TRANSPORTING z_sel
             WHERE mandt EQ sy-mandt. "Where cond is only to specify all
    ENDFORM.                    " f_sel_desel
    This is code from the Live Task try to understand what i am doing.

  • Problem with UMS Adapter

    Help please.
    Trying to config UMS according to this article http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/
    But have no success.
    1.I copied files: sdpmessagingclient.jar and sdpmessagingcommon.jar to ${WL_Home}/server/lib and ${MV_HOME}/user_projects/domains/soa/lib
    2. Edited commEnv.sh
    # Set up Middleware Home
    MW_HOME="/u01/Oracle/Middleware"
    # Set up WebLogic Home
    WL_HOME="/u01/Oracle/Middleware/wlserver_10.3"
    WEBLOGIC_CLASSPATH="${JAVA_HOME}/lib/tools.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.jar${CLASSPATHSEP}${
    FEATURES_DIR}/weblogic.server.modules_10.3.6.0.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.jar${CLASSPATHSEP}${ANT
    _CONTRIB}/lib/ant-contrib.jar${CLASSPATHSEP}${WL_HOME}/server/lib/sqljdbc4.jar${CLASSPATHSEP}${MW_HOME}/user_projects/domains/soa/lib/sqljdbc4.jar${CLASSPATHSEP}${W
    L_HOME}/server/lib/sdpmessagingclient.jar${CLASSPATHSEP}${WL_HOME}/server/lib/sdpmessagingcommon.jar"
    export WEBLOGIC_CLASSPATH
    3. Installed UMSAdapter.rar
    4. Congured emaildriver and tested it from enterprise manager and it works
    5. Restarted soa and admin servers
    6. Wrote simple bpel process to send email but received following results:
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: java.lang.NoClassDefFoundError: oracle/sdp/messaging/MessagingFactory</summary></part><part name="detail"><detail>oracle/sdp/messaging/MessagingFactory</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>.
    Don't understand why Class is not defined (
    also I'm confused with
    [oracle@mp-mir-ofm-dev bin]$ env
    AS_HOME=/u01/app/oracle/AS_1
    HOSTNAME=mp-mir-ofm-dev
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    SSH_CLIENT=10.0.12.63 33522 22
    TMPDIR=/tmp
    ORACLE_UNQNAME=soa
    PHPRC=/u01/app/oracle/product/11.2.0/dbhome_1/Apache/Apache/conf/php5.ini
    SSH_TTY=/dev/pts/3
    USER=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:.cmd=00;32:.exe=00;32:.com=00;32:.btm=00;32:.bat=00;32:.sh=00;32:.csh=00;32:.tar=00;31:.tgz=00;31:.arj=00;31:.taz=00;31:.lzh=00;31:.zip=00;31:.z=00;31:.Z=00;31:.gz=00;31:.bz2=00;31:.bz=00;31:.tz=00;31:.rpm=00;31:.cpio=00;31:.jpg=00;35:.gif=00;35:.bmp=00;35:.xbm=00;35:.xpm=00;35:.png=00;35:.tif=00;35:
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
    ORACLE_SID=soa
    ORACLE_HOSTNAME=mp-mir-ofm-dev
    ORACLE_BASE=/u01/app/oracle
    MC_TMPDIR=/tmp/mc-oracle
    PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/u01/app/oracle/product/11.2.0/dbhome_1/opmn/bin:/usr/java/jdk1.7.0_09/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    MAIL=/var/spool/mail/oracle
    PWD=/u01/Oracle/Middleware/wlserver_10.3/common/bin
    INPUTRC=/etc/inputrc
    LANG=ru_RU.UTF-8
    HISTCONTROL=ignorespace
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    HOME=/home/oracle
    SHLVL=2
    SOA_HOME=/u01/app/oracle/product/10.1.3.1/OracleAS_1/
    MC_SID=10467
    LOGNAME=oracle
    TMP=/tmp
    SSH_CONNECTION=10.0.12.63 33522 10.0.0.95 22
    CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    G_BROKEN_FILENAMES=1
    OLDPWD=/home/oracle
    _=/bin/env

    startup log
    CLASSPATH=/u01/Oracle/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/user-patch.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/soa-startup.jar::/u01/Oracle/Middleware/Oracle_OSB1/lib/osb-server-modules-ref.jar:/u01/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java/jdk1.7.0_09/lib/tools.jar:/u01/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/u01/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u01/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u01/Oracle/Middleware/wlserver_10.3/server/lib/sqljdbc4.jar:/u01/Oracle/Middleware/user_projects/domains/soa/lib/sqljdbc4.jar:/u01/Oracle/Middleware/wlserver_10.3/server/lib/sdpmessagingclient.jar:/u01/Oracle/Middleware/wlserver_10.3/server/lib/sdpmessagingcommon.jar:/u01/Oracle/Middleware/oracle_common/soa/modules/commons-cli-1.1.jar:/u01/Oracle/Middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.common.adapters_11.1.1/oracle.soa.common.adapters.jar:/u01/Oracle/Middleware/Oracle_SOA1/communications/modules/usermessaging-config_11.1.1.jar:/u01/Oracle/Middleware/oracle_common/modules/oracle.xdk_11.1.0/xsu12.jar:/u01/Oracle/Middleware/modules/features/weblogic.server.modules.xquery_10.3.1.0.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/db2jcc4.jar:/u01/Oracle/Middleware/user_projects/domains/soa/config/soa-infra:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/fabric-url-handler_11.1.1.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/quartz-all-1.6.5.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime-ext-wls.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.adapter_11.1.1/oracle.soa.adapter.jar:/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.b2b_11.1.1/oracle.soa.b2b.jar:/u01/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/u01/Oracle/Middleware/Oracle_OSB1/lib/version.jar:/u01/Oracle/Middleware/Oracle_OSB1/lib/alsb.jar:/u01/Oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-ant.jar:/u01/Oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-common.jar:/u01/Oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-core.jar:/u01/Oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-dameon.jar:/u01/Oracle/Middleware/Oracle_OSB1/3rdparty/classes:/u01/Oracle/Middleware/Oracle_OSB1/lib/external/log4j_1.2.8.jar:/u01/Oracle/Middleware/user_projects/domains/soa/config/osb:/u01/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/u01/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    <27.12.2012 16:18:47 MSK> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /u01/Oracle/Middleware/user_projects/domains/soa/lib/sdpmessagingclient.jar:/u01/Oracle/Middleware/user_projects/domains/soa/lib/sdpmessagingcommon.jar:/u01/Oracle/Middleware/user_projects/domains/soa/lib/sqljdbc4.jar>

  • File adapter operating system command exit code

    Hello,
    If you call an operating system command in the file adapter, how is the exit code of the command handled? The documentation says nothing about this.
    If I call 'true', I expect the file adapter to succeed.
    If I call 'false', I expect the file adapter to fail.
    Hope someone can calrify.
    Best regards
    /Otto Frost

    Hi, Yes, you are rigth, it spawns a subprocess, that runs without control.
    In java you use Runtime.exec().
    It returns a process.
    process.exitValue() returns an int.
    The process is already used to terminate the process after timeout I suppose.
    You would like to be able to have the fileadapter succeed or fail depending on this exitValue.
    Depending on the command you execute, the exit code is different. RTFM on unix.
    You would like to define which codes should be treated as success, and which ones that should be treated as failure.
    true typically returns 0 and false not 0
    However, a comparison command could for example return 0 for equal, -1 if the frist argument is smaller and 1 if the first argument is larger.
    For the diff command, Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.
    Thanks
    /Otto

  • Access Point  not visible in UMS server for Application using UMS adapter

    Email Driver Properties for email is configured in UMS and works fine which means its able to poll for any incoming Email from the Configured Account.
    Now i am builiding a soa Composite application and and using UMS adapter to receive that incoming mail and process it further.
    I have succesfully deployed that application in my soa server but it doesn't show any access point for that application.
    I have followed oracle Documentation (section 11.2.3.3)
    http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/ums_adapter.htm
    how to get that Access point configured for application ?
    Please Help.
    Thanks in Advance
    Divyanshu

    Thanks for the reply.
    I had readded the access points after phone reset, so they are available under internet destination but none of the apps are able to see them.
    I also saw 3-4 processes listed under panic tab in KillMe application, not sure if being inside panic tab means that the processes crashed, i hope it's not a hardware related problem.

  • UMS Adapter Error during ums adapter endpoint activation

    Hi,
    I have well configured the usermessagingdriver-email on SOA11g driver for both imam/stmp protocols, but on deploying process with UMS Adapter (Reciving Notification) i got the error "UMS Adapter Error during ums adapter endpoint activation" with following
    javax.resource.ResourceException
    at oracle.tip.adapter.ums.inbound.UmsEndpoint.registerUmsAccessPoints(UmsEndpoint.java:212)
    at oracle.tip.adapter.ums.inbound.UmsEndpoint.registerApplication(UmsEndpoint.java:99)
    at oracle.tip.adapter.ums.inbound.UmsEndpoint.<init>(UmsEndpoint.java:92)
    at oracle.tip.adapter.ums.inbound.UmsPollerEndpoint.<init>(UmsPollerEndpoint.java:47)
    at oracle.tip.adapter.ums.UmsResourceAdapter.endpointActivation(UmsResourceAdapter.java:183)
    at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:492)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performEndpointActivation(JCAEndpointActivation.java:649)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.activateInboundJcaEndpoint(JCAEndpointActivation.java:633)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performActivation(JCAEndpointActivation.java:387)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointActivation(AdapterServiceRevisionRegistry.java:593)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.activate(AdapterServiceRevisionRegistry.java:445)
    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.kernel.FabricKernelInitializerServlet$1.processDefaultInSeries(FabricKernelInitializerServlet.java:824)
    at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:773)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Also when I have received email in my mailbox nothing is happened, no new istance has created, but on start soa server 11g all messages which are currently located in mailbox had been processed and ( on usermessagingdriver-email I can saw Messages Received Successfully)
    Thanks,
    Milos

    Hi Saravana
    Have you tried : http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/ ?
    Regards
    A

  • After effects error: glow returned invalid max_result_redirect from PF_Cmd_SMART_PRE_RENDER

    Hello, community
    After the latest update, I started receiving this pop-up of doom while scrubbing the timeline:
    Restarting the app or purging all memory and disk cache doesn't seem to help.
    Everything works when I turn off the offending effect, but I'd like to be able to use it.
    Anyone knows what causes it?
    AE CC 2014.2, latest update
    Windows 7 Ultimate, x64, SP1
    i7-3930K
    32Gb RAM
    Nvidia Quadro 4000
    thanks!

    Levels returned invalid max_result_rect from PF_Cmd_SMART_PRE_RENDER | Mylenium's Error Code Database
    25 :: 237 | Mylenium's Error Code Database
    Mylenium

  • Adapter Return Value Truncated

    I am trying to understand what is going on with an adapter return value. Why would the return value be truncated to 1 character and then the result be "null" when the actual value the script returns is shown as "SUCCESS"?
    The web console shows the task a failed with a Response and Task Status of null.
    Class/Method: tcAdpEvent/setAdpRetVal entered.
    Class/Method: tcAdpEvent/getRetValString entered.
    Class/Method: tcAdpEvent/getRetValString - Data: class - Value: java.lang.String
    Class/Method: tcAdpEvent/getRetValString - Data: poRetVal.toString() - Value: SUCCESS
    Class/Method: tcAdpEvent/getRetValString - Data: Returning:sRetVal - Value: SUCCESS
    Class/Method: tcAdpEvent/getRetValString left.
    Class/Method: tcAdpEvent/setAdpRetVal - Data: Setting Adapter Return Value to SUCCESS - Value:
    Class/Method: tcAdpEvent/setAdpRetVal left.
    Class/Method: tcAdpEvent/finalizeProcessAdapter entered.
    Class/Method: tcAdpEvent/finalizeProcessAdapter - Data: Truncating to 1 characters - Value:
    Class/Method: tcAdpEvent/finalizeProcessAdapter - Data: Mapped to Response Code - Value:
    Class/Method: tcAdpEvent/updateSchItem entered.
    Class/Method: tcAdpEvent/updateSchItem - Data: event - Value: adpRUNCOMMAND
    Class/Method: tcAdpEvent/updateSchItem - Data: New Status - Value:
    Class/Method: tcAdpEvent/updateSchItem - Data: SchData - Value: null
    Class/Method: tcAdpEvent/updateSchItem - Data: Reason - Value:
    Class/Method: tcAdpEvent/updateSchItem left.
    Class/Method: tcAdpEvent/finalizeProcessAdapter left.
    Adapter: adpRUNCOMMAND has completed for the task: Final Update.
    -----------------------------------------------------

    Hi
    Have you got a solution for this?
    I'm having the same extrange behaviour with my adapter.
    In my case I'm using same adapter to enable/disable a user. One adapter variable determines if the action to perform is enable or disable.
    This adapter is integrated in two process tasks (Enable User and Disable User). What I can't understand is why it returns correct responses when disabling users, but returns just the first char of the response code when enablig users...
    Any hint?
    Thks

Maybe you are looking for