ESB Inbound DB Adapter: External Sequencing

I have created an ESB Inbound process that deletes from the source table, and it works fine. Now I am trying to poll some tables I don't have write/delete privilege for, on a DB2 connection, and so I wish to store my last_read_id in a table under my control on the Oracle server. The ID is a CHARACTER(10) serial number.
I canNOT get this to work. Correction: I got it to work ONCE, though I have no idea what changes I made in the meantime. Even when it worked the one time, it did not update the sequence table.
The one time it worked is the only time I had instances in the ESB console. All the instances at that point were flagged green.
Right now I am confused about the "Datasource" entry. What is the format of this? Is it the jndi/xxxxx, the eis/DB/xxxx, or just xxxx format? Is it an entry in data-sources.xml, oc4j-ra.xml, both, or neither?
I have tried creating the Inbound Adapter as part of a BPEL process with no difference in my results (and no log/error info, either!).
running SOA Suite 10.1.3.1

See this thread Data enrichment in Oracle ESB and the Forward and Route response sample on http://otn.oracle.com/goto/esb.

Similar Messages

  • Error in Inbound JMS adapter(in ESB project)

    Hello all,
    I am trying out a sample ESB application, where an ESB service is listening on a JMS topic (OEMS database persistence) for new employee notifications. Upon receiving the message, the service will invoke a stored procedure to insert a record in the database.
    I am using inbound jms adapter to receive the jms messages from a jms topic, that is configured using Oracle AQ. I made all the necessary changes in oc4j-ra.xml, application.xml, and data-sources.xml files.
    But when I send a jms messages, I see the following errors in the oc4j log.xml:
    Failed to activate endpoint for Service "DefaultSystem.AQJMStoDB.ListenForNewEmployees". Reason : oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "ORABPEL-12517
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter was unable to activate the endpoint :{} due to the following reason: ORABPEL-12531
    Error while setting JCA WSDL Property.
    Property setPassword cannot be set on oracle.tip.adapter.jms.JmsManagedConnectionFactory due to: [Caused by: Can't find bundle for base name oracle.tip.pc.infra.exception.i18n.PCExceptionList, locale en_US]
    Please verify the spelling of the property.
    [Caused by: Can't find bundle for base name oracle.tip.pc.infra.exception.i18n.PCExceptionList, locale en_US]
    Please correct the reported issue and redeploy the BPEL process.
         at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateInboundJcaEndpoint(Unknown Source)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.performEndpointActivation(Unknown Source)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(Unknown Source)
         at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateEndpoint(Unknown Source)
         at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateService(Unknown Source)
         at oracle.tip.esb.server.service.EsbServiceFactory.activateEsbService(Unknown Source)
         at oracle.tip.esb.server.service.EsbServiceFactory.initializeEsbServices(Unknown Source)
         at oracle.tip.esb.server.common.RuntimeESBSystem.start(Unknown Source)
         at oracle.tip.esb.common.system.SystemFactory.startSystemsForCluster(Unknown Source)
         at oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter.startListenersForSystems(Unknown Source)
         at oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter.startListeners(Unknown Source)
         at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.startESBListeners(Unknown Source)
         at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.setupRuntime(Unknown Source)
         at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.initializeESB(Unknown Source)
         at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter$PingTester.run(Unknown Source)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-12531
    Error while setting JCA WSDL Property.
    Property setPassword cannot be set on oracle.tip.adapter.jms.JmsManagedConnectionFactory due to: [Caused by: Can't find bundle for base name oracle.tip.pc.infra.exception.i18n.PCExceptionList, locale en_US]
    Please verify the spelling of the property.
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.invokeSetMethod(WSDLUtils.java:763)
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.setCciSpecParameters(WSDLUtils.java:665)
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:465)
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:421)
         at oracle.tip.adapter.fw.jca.AdapterLocator.findResourceAdapter(AdapterLocator.java:195)
         at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:341)
         ... 20 more
    Can anybody provide any inputs on this error?
    Thanks,
    Pram

    All,
    Problem is solved. I changed the value for the Source directory & the adapter started to poll.
    Thanx,
    Homiar.

  • Error in Inbound JMS adapter (ESB project)

    Hello all,
    I am trying out a sample ESB application, where an ESB service is listening on a JMS topic (OEMS database persistence) for new employee notifications. Upon receiving the message, the service will invoke a stored procedure to insert a record in the database.
    I am using inbound jms adapter to receive the jms messages from a jms topic, that is configured using Oracle AQ. I made all the necessary changes in oc4j-ra.xml, application.xml, and data-sources.xml files.
    But when I send a jms messages, I see the following errors in the oc4j log.xml:
    Failed to activate endpoint for Service "DefaultSystem.AQJMStoDB.ListenForNewEmployees". Reason : oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "ORABPEL-12517
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter was unable to activate the endpoint :{} due to the following reason: ORABPEL-12531
    Error while setting JCA WSDL Property.
    Property setPassword cannot be set on oracle.tip.adapter.jms.JmsManagedConnectionFactory due to: [Caused by: Can't find bundle for base name oracle.tip.pc.infra.exception.i18n.PCExceptionList, locale en_US]
    Please verify the spelling of the property.
    [Caused by: Can't find bundle for base name oracle.tip.pc.infra.exception.i18n.PCExceptionList, locale en_US]
    Please correct the reported issue and redeploy the BPEL process.
    at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)
    at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateInboundJcaEndpoint(Unknown Source)
    at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.performEndpointActivation(Unknown Source)
    at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(Unknown Source)
    at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateEndpoint(Unknown Source)
    at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateService(Unknown Source)
    at oracle.tip.esb.server.service.EsbServiceFactory.activateEsbService(Unknown Source)
    at oracle.tip.esb.server.service.EsbServiceFactory.initializeEsbServices(Unknown Source)
    at oracle.tip.esb.server.common.RuntimeESBSystem.start(Unknown Source)
    at oracle.tip.esb.common.system.SystemFactory.startSystemsForCluster(Unknown Source)
    at oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter.startListenersForSystems(Unknown Source)
    at oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter.startListeners(Unknown Source)
    at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.startESBListeners(Unknown Source)
    at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.setupRuntime(Unknown Source)
    at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.initializeESB(Unknown Source)
    at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter$PingTester.run(Unknown Source)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-12531
    Error while setting JCA WSDL Property.
    Property setPassword cannot be set on oracle.tip.adapter.jms.JmsManagedConnectionFactory due to: [Caused by: Can't find bundle for base name oracle.tip.pc.infra.exception.i18n.PCExceptionList, locale en_US]
    Please verify the spelling of the property.
    at oracle.tip.adapter.fw.wsdl.WSDLUtils.invokeSetMethod(WSDLUtils.java:763)
    at oracle.tip.adapter.fw.wsdl.WSDLUtils.setCciSpecParameters(WSDLUtils.java:665)
    at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:465)
    at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:421)
    at oracle.tip.adapter.fw.jca.AdapterLocator.findResourceAdapter(AdapterLocator.java:195)
    at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:341)
    ... 20 more
    Can anybody provide any inputs on this error?
    Thanks,
    Pram

    All,
    Problem is solved. I changed the value for the Source directory & the adapter started to poll.
    Thanx,
    Homiar.

  • How to poll data with DBAdapter using external sequencing table usecase ?

    Hi,
    When I'm polling for data using the 'update external sequencing table on different db' with a dbadapter, I'm getting this error ORABPEL-09903
    My sequencing table is present in another schema. I created the connection pool and data source for the same and provided it as a credential to the adapter when it asked for data source. But my process is not getting deployed. The complete error it's giving is as below :
    [deployProcess] Deploying process E:\Softys\jdev\jdev\mywork\Test\PollExternal\output\bpel_PollExternal_1.0.jar
    BUILD FAILED
    E:\Softys\jdev\jdev\mywork\Test\PollExternal\build.xml:79: A problem occured while connecting to server "ple-jgau.us.oracle.com" using port "7777": bpel_PollExternal_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "PollExternal", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:370)
    at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1577)
    at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1536)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:886)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 20 seconds
    Any help regarding this would be highly appreciated.Please provide me with any link to the documentation for DBAdapters,Polling and its different Usecases.
    Thanks,
    Bhavya

    Hi there,
    this exception just mentions that the process failed to deploy, but it does not explain why. Could you look at the bpel logs, and find the complete exception stack trace with linked exceptions?
    This is a common trouble shooting problem as the process deployer doesn't show the linked exception. Please look at the best practices guide:
    http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf
    Under DBAdapter there is a section on how to troubleshoot the adapter. Search for "Find the Root Exception". It is on Page 130.
    Thanks
    Steve

  • Error in Inbound File Adapter

    Hello,
    The scenario :
    Flat File => XI => Enterprise (4.7)
    I'm getting the following error in the Adapter Engine at time of Reloading the new inbound file adapter.
    ==========
    <i>***** Tue Jul 06 11:46:54 EDT 2004 *****
    11:46:59 (4023): File adapter initialized successfully
    11:46:59 (4007): File adapter started
    11:47:03 (4050): ERROR: Unexpected exception "com.sap.aii.messaging.adapter.ftp.FTPEx: Unknown extension in database file name." occurred</i>
    ==========
    The inbound file adapter is as below ... :
    ==========
    <i>classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    mode=FILE2XMB
    XMB.TargetURL=http://host123:8001/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=Sender_System
    XMB.SenderInterfaceNamespace=http://abc.com/xi/
    XMB.SenderInterfaceName=DataFile_Out
    XMB.User=xisuper
    XMB.Password=xipass
    XMB.ReceiverBusinessSystem=ENT
    XMB.ContentType=text/plain
    XMB.ContentKind=T
    XMB.QualityOfService=EO
    file.sourceDir=
    file.sourceFilename=DATAFILE
    file.processingMode=test
    file.pollInterval=060
    ftp.host=100.200.300.400
    ftp.port=21
    ftp.user=userid
    ftp.password=passwd
    ftp.mode=Text</i>
    ==========
    Any help is greatly appreciated.
    Thanx in advance.
    Homiar.

    All,
    Problem is solved. I changed the value for the Source directory & the adapter started to poll.
    Thanx,
    Homiar.

  • XI3.0  Inbound File Adapter  Error on ModuleSLDAccessir.

    Greeting,
    I have just installed the technical Adapter for XI.3 I tried to use the Inbound File adapter, unfortunately I had two big issues:
    1- I was able to execute run_adapter.bat but nothing was reaching the XI system.
    When I checked the Log File: I found the following error:
    Oct 13, 2004 1:22:08 PM  ...aii.messaging.adapter.ModuleSLDaccess [Thread-9] Error: Initializing ModuleSLDaccessor failed with 'java.lang.NoClassDefFoundError: com/tssap/dtr/client/lib/protocol/HTTPException'
    2- Second issue: when I try to access the adapter via the browser, the HTML page are not correct ! there is no text displayed. I just got code like :  {!%5124_G_XMIT%!}
    is there other setting to do ? I followed exactly the install book !
    Thanks for your help.
    Regards.
    M. Zehana
    Any help is more than welcome.

    Check that you are using XI 3.0. You dont have to use the run_adapter.bat unless you are using the J2SE adapter ( which is 2.0 ) to communicate with an XI3.0 IS.  If you have XI3.0 the adapters are configured in the integration directory which are now called communication channels. Therefore an inbound file adapter will be called a sender communication channel.  You can create a communication channel either within a scenario or directly in the objects area for the Service ( business system etc ).
    Mark

  • Inbound file adapter error

    Hi,
    I have inbound file adapter and when i run the test, the XML message displays the following error
    HTTP_STATUS_CODE_NEQ_OK
    HTTP status code 401 : Unauthorized
    please do help me .
    thankx

    Hi,
    Yes, i m using standalone xi2.0 , the configuration code is as below
    file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    mode=FILE2XMB
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://<host:port>/sap/xi/engine?type=entry
    XMB.User=XIAPPLUSER
    XMB.Password=XIPASS
    #XMB.SenderBusinessSystem=ExtAdapterSender
    XMB.SenderBusinessSystem=b2
    #XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    XMB.SenderInterfaceNamespace=int1
    XMB.SenderInterfaceName=FILEINBOUND
    XMB.ReceiverBusinessSystem=b1
    #XMB.ContentKind=B
    XMB.ContentKind=T
    XMB.ContentType=text/xml
    XMB.QualityOfService=EO
    ##File Adapter specific parameters (example, see docu)
    file.sourceDir=c:/temp
    file.sourceFilename=test.txt
    file.processingMode=archive
    file.archiveDir=c:/temp_archive
    file.pollInterval=0
    ##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
    #xml.fieldFixedLengths=15,25
    #xml.processFieldNames=notAvailable
    xml.fieldSeparator=~
    Please let me whether this is correct or im missing some configuration.
    thankx

  • Inbound file adapter error - Guarenteed delivery...

    Hi,
    I am configuring inbound file adapter and I get an error:
    "Guarenteed delivery - operation for 1 file pending"
    The adapter does not work for the files pending.
    Can anyone help?
    Oded.

    Hay guys , I am realy stuck,can anybody share his experience with me?
    Oded

  • 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)

  • Call File Adapter Externally and Pass on File name

    HI experts,
    We have a requirement where we need to call a file adapter externally to poll for a file.
    The File name needs to be passed on to the called Adapter and the adapter will poll for that particular file.
    Once it polls we will need to stop it -- in other words the the adapter will poll only when we call it externally.
    Any form of inputs / help on this will be greatly appreciated. We will initiate this possibly from a BPM.
    Many Thanks,
    Himadri

    Hey buddy ..
    I agree with Praveen... you cannot dynamically change the filename in the sender File CC..\
    regards,
    arvind R

  • XI 2.0 Inbound file adapter : Connection reset by peer

    I am using XI 2.0 and have an inbound file adapter. It polls every 5 minutes. But at least 1 or twice a day the file adapter stops with the following error message.
    "java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read" occurred \par
    There have been times when this runs for days or weeks without any problems.
    Has anyone else seen this issue and how do your correct it?
    Currently I have to go into the file adpaters and restart them manually. It would be nice if there was some way to automate this function. Any ideas?
    Regards,
    Jim

    With JDK 5.0 use ojdbc5.jar instead of ojdbc14.jar.

  • Inbound JMS adapter with MapMessage

    I'm sharing the following problem and solution with using the OEP inbound message adapter because it may be
    a common situation occurring to other users.
    Recently was using the inbound JMS adapter with its default (OEP internal) converter from JMS MapMessage
    messages to OEP events. The inbound adapter was receiving MapMessage messages but it was not assigning
    values to the corresponding attributes in the specified input event instance.
    The problem was that I was not properly creating the MapMessage messages in the JMS producer client.
    I was using method setStringProperty() instead of method setString(), which is what is needed to set name/value
    pairs of type String, and similarly with other primitive Java data types. Here's a code snippet for building and sending
    a MapMessage on the client side:
          try {
          mapm = qsess.createMapMessage();
          mapm.setString("valueType1", "value1");
          mapm.setString("valueType2", "value2");
          mapm.setInt("valueType3", 5);
          producer.send(mapm);
         } catch (JMSException jmse) {
         jmse.printStackTrace(System.err);
         System.exit(0);
    Regards,
    Mauricio

    OSB JMS config:
    <queue name="RequestQ">
    <sub-deployment-name>wlsbJMSServer</sub-deployment-name>
    <jndi-name>RequestQ</jndi-name>
    </queue>
    <queue name="ResponseQ">
    <sub-deployment-name>wlsbJMSServer</sub-deployment-name>
    <jndi-name>ResponseQ</jndi-name>
    </queue>
    Business service in OSB from where message is sent to the "ResponseQ" which is consumed by CEP.
    Jms Inbound CEP Config:
    <jms-adapter>
    <name>jmsAdapterInbound</name>
    <jndi-provider-url>t3://10.227.145.164:7005</jndi-provider-url>
    <connection-jndi-name>weblogic.jms.XAConnectionFactory</connection-jndi-name>          
    <destination-jndi-name>ResponseQ</destination-jndi-name>
    <user>weblogic</user>
    <password>weblogic123</password>
    <work-manager>JettyWorkManager</work-manager>
    <concurrent-consumers>1</concurrent-consumers>
    <session-transacted>false</session-transacted>
    </jms-adapter>

  • CEP with inbound JMS Adapter

    Problem: The inbound adapter is not triggered at all.
    I have an EPN with an inbound JMS adapter listening to a JMS Queue hosted in my 11g Jdev SOA Suite. The queue is populated from a SOA composite. I can see the messages in the queue and my CEP application is deployed succesfully, but my JMS Adapter doesn't get any.
    Here's the relevant section from EPN xml file:
    {color:#3366ff}&lt;bean id="OrderConverter" class="agb.foc.order.OrderMessageConverter"/&gt;
    &lt;wlevs:adapter id="OrderIn" provider="jms-inbound"&gt;
    &lt;wlevs:instance-property name="converterBean" ref="OrderConverter"/&gt;
    &lt;/wlevs:adapter&gt;
    {color}
    Here's my jms-adapter xml file:
    {color:#3366ff}&lt;jms-adapter&gt;
    &lt;name&gt;OrderIn&lt;/name&gt;
    &lt;jndi-provider-url&gt;t3://localhost:7001&lt;/jndi-provider-url&gt;
    &lt;connection-jndi-name&gt;weblogic/jms/ConnectionFactory&lt;/connection-jndi-name&gt;
    &lt;destination-jndi-name&gt;agb/jms/TestQueue&lt;/destination-jndi-name&gt;
    &lt;user&gt;weblogic&lt;/user&gt;
    &lt;password&gt;weblogic&lt;/password&gt;
    &lt;concurrent-consumers&gt;1&lt;/concurrent-consumers&gt;
    &lt;session-transacted&gt;false&lt;/session-transacted&gt;
    &lt;/jms-adapter&gt;{color}
    And the queue details from the weblogic admin console:
    {color:#3366ff}Name: AgbTestQueue
    Type: Queue
    JNDI Name: agb/jms/TestQueue{color}
    Note: I'm using CEP 10gR3 with Eclipse IDE and 11g Jdeveloper SOA suite internal release which comes after TP4.
    Thanks in advance
    Alosh
    Edited by: aloshbennett on Feb 9, 2009 10:44 PM
    formatting

    UPDATE:
    If I send the messages via a standalone java client, CEP is accepting them.
    The difference I see in both the messages is
    {color:#c0c0c0}SOA messages arrive in the queue with JMSXDeliveryCount property set to 1, while standalone client messages arrive in the queue with JMSXDeliveryCount set to 0.
    {color}
    {color:#c0c0c0}
    Why does the messages from SOA composite arrive with JMSXDeliveryCount set to 1? Why does that prevent CEP from receiving them?{color}
    EDIT Again: The messages look identical from the admin console. The JMSXDeliveryCount goes up because the delivery to CEP fails and it could be a red herring.
    If I export the messages from SOA Composite to a file and import them back, CEP picks them up.
    Help!
    Edited by: aloshbennett on Feb 10, 2009 8:09 AM

  • Inbound Resource Adapter problem on WebLogic 9

    Hi,
              I have a problem with inbound resource adapter deployed on WebLogic 9 when it's Work instance in run() tries to create an endpoint configured to RA via endpointActivation() - a call to MessageEndpointFactory's createEndpoint() method blocks if casted to interface that a receiving MDB implements!
              Or, to look at the code:
              endpoint = (MyMessageListener)factory.createEndpoint(null);
              will block. If a cast is removed the call does not block anymore but (of course) it is no longer possible to call an MDB.
              Any hints?

    Turning on Debugging, found the problem:
              <[JCABindingManager] activationSpec=null>
              <[JCABindingManager] The activationSpec is null, deActivation is skipped>
              In the application.xml, I had
              1. ejb (mdb) module and then
              2. connector module
              Changed the application.xml to
              1. connector module and then
              2. ejb (mdb) module
              container then called endpointDeactivation on undeployment.

  • How to get the Runstate variable of an external sequence called from the Client Sequence through Sequencecall?

    Hi,
               I need to change the runtime high and lo limit values of all the tests of the client sequence file before running it. My sequence file is having a SequenceCall which calls an external sequence. Can anyone tell me how to change/access the High and lo limit values of the external sequence test steps?
    Thanks,
    Jeyan

    Doug,
              I used the property loader method but I could not load the limits of any sub sequence call calling an external sequence file.
    I took the FlowRate_test.seq example from the NI Example folder "C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\Examples\PropertyLoader\LoadingLimits\LimitsFromExcelFile\UsingCVI". I created a sequence called PumpTest.seq in the same folder path. I then moved the Pump Test step from the FlowRate_test.seq to the PumpTest.seq. Now created a sequence call in the FlowRate_test.seq and called the PumpTest.Seq as the module path. When I execute the FlowRate_test.seq , I get the error as shown below:
    Attached is the Flowrate_Test.seq and the PumpTest.seq which should be there in the folder path "C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\Examples\PropertyLoader\LoadingLimits\LimitsFromExcelFile\UsingCVI".
    Let me know whether I am doing something wrong in this method. 
    My idea is to alter the runstate variable High and Low of Pump Test in the PumpTest.seq and then run the Flowrate_Test.seq.
    Attachments:
    PumpTest.seq ‏6 KB
    FlowRate_test.seq ‏11 KB

Maybe you are looking for

  • How to apply paragraph styles to xml tag?

    Hi All, How to apply paragraph style to xml tag?

  • Call object "notification" not possible

    Dear Experts, I have one problem. I have created maint. plan categories, for generating call object like orders, notifications and service entry sheet, in SPRO. But while creting maintenance plans (in IP41) I could not able to get the choice availabl

  • Painting with pressure sensitivity on my wacom?

    Using a Mac, CS6, and a Wacom intros 5Touch PTH-450, I am using the 6D Art Pen Brushes: 1. no matter how hard I press on the Wacom, it always displays the paint stroke the same. How do you get pressure sensitivity working? 2. I changed my variable wi

  • Please select boot device

    When I turn my PC on, a blue screen comes up and asks me to"please select boot device". It reads" ST1000528aAS, HP CDDVDW TS-H653T, and Realtek PXE B03 D00. I'm not really sue what to do and I don't want to do anything to mess up my PC. Can anyone te

  • Some threads are inaccessible on forum.

    I know that development/maintenance on forum seems to have stopped...but: re:Date Formatter - formatting time some threads are inaccesible, with no indication of why. It just times out, not seeming to follow any sort of pattern. I find these threads