Error Destination in JMS Transport Configuration page (Proxy Services)

Hi, Can anybody provides me the sample of Error Destination in JMS Transport Configuration page (Proxy Services) .I need to know the format. I am using "jms://<host:port[,host:port]*/factoryJndiName/destJndiName>", but it does not work.
From Oracle webstie, http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/transport.html, the detail description of Error Destination is " In this field you can configure the name of the target destination for the messages, which have reached the maximum number of retry count. "

Can you provide the JNDI name of the error destination alone there ?

Similar Messages

  • OSB JMS Transport configuration

    I have a need to pass a reply-to destination from one external process (the producer) to a second external process (the consumer), with the design supporting flexibility for changing destinations within the OSB pipeline at a future time. To enable this functionality, the following jms transport was designed on the OSB 10gR3:
    external producer--->|---q1--->jmsTransProxy---->q2---|--->external consumer
    The jmsTransProxy is configured with request/response text message types, jms protocol, Get All Headers yes, Is Response Required enabled, and Response Correlation Pattern CorrelationID.
    In the Request pipeline of jmsTransProxy, a single stage is configured to Pass All Headers through Pipeline.
    In the Response pipeline of jmsTransProxy, a single stage is configured to Pass All Headers through Pipeline.
    When the external producer sets the JMSReplyTo header, I expected that this header would be passed from q1 to q2 so that the external consumer would receive it. The message payload is correctly received by the external consumer along with the JMSCorrelationID, but not the JMSReplyTo header information. By examining the logs, I can see the header information is received correctly in the request pipeline, but is not available from q2.
    What is the correct solution to have the JMSReplyTo information pass through to the external consumer?

    Thank-you for your tips.
    I have revised the pipeline as you indicated and more of the headers pass through, but not the JMSReplyTo header. Because the user headers are passed through, I can use get/setObjectProperty on the message to realize the functionality required (though this is a workaround).
    current configuration:
    external producer--->q1--->jmsProxy--->jmsBusiness--->q2---> external consumer
    jmsProxy parameters:
    service type: messaging service
    request message type: text
    response message type: none
    protocol: jms
    endpoint uri: q1
    get all headers: yes
    destination type: queue
    is reposnse required: disabled
    etc.
    jmsProxy request pipeline:
    publish to [ jmsBusiness ]
    request actions: set transport headers for [ outbound request ] (pass all headers)
    jmsBusiness parameters:
    service type: messaging service
    request message type: text
    response message type: none
    protocol: jms
    endpoint uri: q2
    destination type: queue
    is reposnse required: disabled
    etc.

  • Javascript error throws the portal theme configuration page

    General Description: Javascript error and jump to the portal theme
    configuration page
    EP: NW04s SP12 including KMC
    We have a problem when we entry to the portal, a javascript
    error happens and immediately jumps to the portal theme configuration
    page. We entry at the portal with a user that have assigned the next groups.
    LR_Administrador LR_Administrador Base de datos UME
    Everyone Built-in Group Everyone Adaptador de grupo integrado
    Authenticated Users Built-in Group Authenticated Users Adaptador de
    grupo integrado
    The group LR_Administrador have assigned this role
    Nombre unívoco:
    pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles/kof.com.mx.LR_MX_ROL_Administrador
    Nombre de visualización: kof.com.mx.LR_MX_ROL_Administrador
    Ubicación:
    pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles
    Descripción: Libro Rojo
    ID unívoco: ROLE.PCD_ROLE_PERSISTENCE.38yt+Psq/fFQuE3Uxdt52Azfdpg=
    The role LR_MX_ROL_Administrador, have assigned only one page called:
    LR_MX_PAG_Edicion
    This page contains a KM Navigation iview.
    When we entry with this user, the browser show us this javascript error:
    Linea: 107
    Car: 116
    Error: 'children' es nulo o no es un objeto
    Codigo: 0
    URL: http://fedbdvep:50000/irj/portal
    And immediately show the portal theme configuration page.
    We need that the user see the page assigned, but this error shows him
    always the portal theme configuration page. This kind of error happens with
    other roles too. We've found a workaround
    for this situation, doing click on the first level navigation, the
    LR_MX_PAG_Edicion page shows normally.
    Thank for any help.
    Regards
    Jose

    Thanks for your update, we have resolved the issue with this help. Very thankfull.
    regards,
    kishore

  • Question related to ALSB configuration of Proxy Service in ALBPM

    Hi,
    I happened to find "Proxy Service" as one of the supported types under "Oracle Service Bus" external resource configuration. However, I wasn't able to find any documentation related to this type.
    I configured it hoping that this automatically create a proxy service for my Business Service.However, it doesn't seem to do so.
    Can somebody explain where this feature could be used ?
    Rudraksh

    Rudraksh,
    I'll try to explain better what I said about external resources.
    Let's say you have a process and you need to invoke two services already published in your service bus. You can catalog (introspect) those services directly from the service bus. You'd go to a module in your catalog, select catalog component and choose 'service bus' as the type. This will connect to your service bus and show you the available projects and the available proxy services in each project. There you can choose the one you want to invoke and when the introspection is done you'll have some BPM Objects in your catalog to invoke that service. If you look under external resources you'll see two new definitions, a server definition (ip, port, etc.) and a service definition (endpoint URI).
    Now imagine you've finished the development of your project and you want to test it in your test environment. You would export your project and publish it in a BPM Enterprise server. But in this environment you have another service bus for testing, and you want to use this one and not the one you used for development. You need to tell your process to invoke those services instead of the services in your development environment (maybe your own PC). One way to do this is to introspect each service again, recompile your project, export it and publish it again. But it's not very flexible and it's time consuming. This is why you have external resources. Once you've deployed a project in BPM Enterprise, you can go to the 'Process Administrator' web application and modify the definitions of your external resources. So in this example you'd simply look for your server definition and change the IP address and port to point to the service bus in your test environment. If the service has a different URI you can modify it in the service definition. You restart your engine and that's it, now your process will invoke the services in the service bus for testing. Something analogous to having your application's configuration in a properties file instead of hard-coded in your code.
    Now about the 'Proxy Service' external resource, I think I got it wrong. My guess is that it's for the OBPM transport. There is a new 'native' transport for the BPM in the service bus. It has some advantages like speed, transaction propagation, etc. I understand it's based on RMI so this would be the way of specifying the URL and credentials for the 'initial context factory'. Maybe someone else can confirm this.
    Cheers

  • How to specify the JMS Client ID in Proxy Service of OSB 11.1.1.5 version ?

    Hi All,
    I am looking for an option to set the JMS clientID for a JMS Proxy services in OSB. Can this feature available in OSB 11.1.1.5 version?
    Thank you,
    Ram.

    These links will helpful for you.
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_train.html
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_train.html

  • Error when OWSM policy is applied to Proxy Service in 11gR1

    Hi,
    I have applied oracle/wss_username_token_service_policy for my proxy service and trying to test that from OSB Test Console. I am getting below error,
    When i have launched Test Console for this proxy, i have observed in Security part, oracle/wss_username_token_client_policy is appearing. I am not sure why oracle/wss_username_token_client_policy is appearing there when i applied oracle/wss_username_token_service_policy to my proxy service.
    I have created Keystore and also created oralce.wsm.security map under em console.
    Now when i am trying to Test proxy service using Test Console, I am facing below error,
    An error ocurred during web service security outbound request processing [error-code: InternalError, message-id: <test-message>, proxy: <alsb-test-service>, target: Samples/Proxy Services/HelloWorld_PS, operation: sayHello]
    --- Error message:
    oracle.wsm.common.sdk.WSMException: WSM-00015 : The user name is missing.
    at oracle.wsm.security.policy.scenario.executor.WssUsernameTokenScenarioExecutor.sendRequest(WssUsernameTokenScenarioExecutor.java:219)
    at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:545)
    at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:335)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:282)
    at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
    at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:915)
    at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:436)
    at oracle.wsm.agent.handler.WSMEngineInvoker.handleRequest(WSMEngineInvoker.java:393)
    at com.bea.wli.sb.security.wss.wsm.WsmOutboundHandler$1.run(WsmOutboundHandler.java:141)
    at com.bea.wli.sb.security.wss.wsm.WsmOutboundHandler$1.run(WsmOutboundHandler.java:139)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    I am using below header to invoke the service
    +<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">+
    +<wsse:Security>+
    +<wsse:UsernameToken>+
    +<wsse:Username>weblogic</wsse:Username>+
    +<wsse:Password>welcome1</wsse:Password>+
    +</wsse:UsernameToken>+
    +</wsse:Security>+
    +</soapenv:Header>+
    Please advise me regarding this.
    Thanks
    Rajesh

    Hi,
    Check the below link for your solution.
    http://tim.blackamber.org.uk/?p=825
    Thanks,
    Durga

  • How to configure proxy services to use the file transport?

    Hi,
    I have configured a proxy service to poll for files in the specified folder. And it is configured to use the file transport.
    At runtime, I'm getting the follwing exception -
    <Apr 27, 2012 4:08:28 PM GMT+05:30> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$ServiceTypes_SB$BinaryService: javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.file' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/file'
    javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.file' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/file'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         Truncated. see log file for complete stacktrace
    Request help to resolve this.
    Thanks in advance.
    Regards
    Shyam.V

    Only the business service would rely on the JMS queues, which in turn would trigger an MDB. I have tested the business service and it works fine.
    The problem is only with the polling part of the proxy service.
    Regards
    Shyam.V

  • Extracting MIME attachment from email using OSB proxy service - email transport

    Hi,
    I'm reading email messages(multipart/mixed) with attachments(pdf, zip, xml and csv) from MS Exchange Server 2010 using OSB proxy service email transport.I need to save the attachments to a local folder and process one of the attachments, an XML file. Below is the proxy service config.
    Proxy Service Configuration (Test1/Proxy Services/GetEmail)
    Actions: 
    General Configuration
    Service Type   Messaging Service
    Message Type Configuration
    Request Message Type 
    Text     
    Response Message Type 
    None     
    Transport Configuration
    Protocol   email
    Endpoint URI   mailfrom:mailserver.net:143
    Get All Headers   No
    Headers   
    EMAIL Transport Configuration
    Email Protocol   imap
    Service Account   Test1/Proxy Services/email_acc
    Managed Server   WLS_OSB1
    Polling Interval   30
    Read Limit   2
    Pass By Reference   false
    Pass Attachments By Reference   false
    Post Read Action   move
    IMAP Move Folder   processed
    Attachments   archive
    Download Directory   \\soasup-stor01\Vacancy\test\download
    Archive Directory   \\soasup-stor01\Vacancy\test\archive
    Error Directory   \\soasup-stor01\Vacancy\test\error
    Request Encoding   iso-8859-1
    Message Handling Configuration
    Transaction Required   Disabled
    Same Transaction For Response   Disabled
    Content Streaming   Disabled
    The polling is working fine. I've encoded the attachment variable to Base64 using a java callout.$attachments/ctx:attachment/ctx:body/ctx:binary-content has been passed as the byte[] input to the java method and the response is captured in $encodedAttachment. I've created a SaveFile BS(file type) with Request Message Type = Binary and Response Message Type = None. I've tried replacing the node ./ctx:binary-content in body variable with encodedAttachment in the request action of the Publish action to call the BS. One file is getting created with contents of the entire email, MIME headers and boundary parts along with the base64 encoded attachments.
    <Contents from the created file>
    MIME-Version: 1.0
    Content-Type: multipart/related; boundary=MIME_Boundary;
      type="binary/octet-stream"
    --MIME_Boundary
    Content-Type: binary/octet-stream
    Content-Transfer-Encoding: 8bit
    Thanks &amp; Regards,
    Samyajit Talukdar
    : [email protected]
    -----Original Message-----
    From: Samyajit Talukdar
    Sent: 10 April 2015 14:11
    To: MS MLRP Returns
    Subject: FW: 22222
    Thanks &amp; Regards,
    Samyajit Talukdar
    : [email protected]
    --MIME_Boundary
    Content-Type: application/vnd.ms-excel; name="soainfra_v$session.xls"
    Content-Transfer-Encoding: base64
    Content-Description: soainfra_v$session.xls
    Content-Disposition: attachment; filename="soainfra_v$session.xls";
      size=25618; creation-date="Thu, 27 Nov 2014 09:56:35 GMT";
      modification-date="Fri, 10 Apr 2015 09:28:23 GMT"
    0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAA
    EAAAJgAAAAEAAAD+////AAAAAAAAAAD/////////////////////////////////////////////
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAA=
    --MIME_Boundary--
    If I put a delete action in the request to Publish action for SaveFile BS to delete the $attachments, the created file contains only the email body part and the attachment boundary part is missing.
    I've uploaded the OSB log with full trace enabled.
    How can I pass the  encodedAttachment to the BS for saving the files?
    Would iterating through the $aatachment/ctx:attachment give me the individual attachments for saving and processing, as there are separate binary-content refs in them?
    Any help to achieve my requirement is highly appreciated.
    Thanks in advance.

    Hi Manoj,
    Thanks for the quick reply to my query.
    The thing is, the link you have provided talks more from changing the business Service configurations i.e. the type of the service etc, but the concern is, that the Business Service is already Implemented and hence the change would not be an appropriate option for me.
    Please let me know, if any more information is required.
    Thanks & Regards,
    Anu

  • Error in a Proxy service

    Hi,
    I'm new to ALSB and created a weblogic webservice and imported it as a WSDL resource. This is then used for creating a business service. Now, I have a proxy service which take string as input (configured 2 proxy services, one takes from jms request queue and other from http request ) and depending on the string value, it will call the different method in the business service.
    When I tested it in the ALSB console, it is able to call the correct method in business service depending on input parameter. but always throw a error with http response code of 500. And it changed the $body with a Fault string of "Failed to get operation name for incoming request".
    If am able to test the business service in the alsb console successfully, why am not able to test the proxy service from the console?
    Thanks in advance for your help.

    I might need a bit more info here but it seems you are not setting the 'header' and 'body' variables correctly when calling the business service.
    Assuming your service is SOAP1.1, you need to assign valid soap body and header(optional) to those variables inside your route action.
    If you open the test console for the business service you should get the payload xml needed for the service. In the proxy, you will need to wrap that with <soap-env:Body> (soap-env is a pre-saved namesapce) and assign it to 'body'.
    If you have already done that then I defiantly need more info.
    Ryan

  • Consume JMS Unit-Of-Work message through OSB proxy service

    Hi,
    Anyone know how to consume a JMS Unit-Of-Work (UOW) message using an OSB Proxy Service of JMS type?
    I can submit a unit-of-work JMS message (which consists of multiple constituent messages) using an OSB proxy & business service combination and setting the UOW transport headers appropriately. I can also separately produce and consume Java objects via a JMS queue where the consumption is done via OSB proxy (of java request message type), but these aren't UOW messages.
    Apparently as soon as it is a UOW message then the message consumed is an ObjectMessage ArrayList and one has to use the "Java" request message type for the JMS consumer proxy, but I'm unsure of how to create the concurrent client jar to use it in the same proxy service's JMS transport configuration in order to output the ObjectMessage ArrayList (UOW message). 
    Ideally I'd like to consume a single UOW XML message via an OSB JMS proxy service.
    Any pointers would be appreciated.
    R

    Finally got this working!!
    For posterity: Needed to insert Java Object JMS messages on the OSB JMS producer (Business Service) side with correct UOW jms transport header set in route node. Then consume the Unit-Of-Work message on the other side via jms proxy service with "java" request message type, with appropriate jar containing the Object class as the "Client jar" in the JMS Transport configuration. In the same JMS consumer proxy I had to do a java callout, passing the contents of $body, using java.util.ArrayList and javax.jms.ObjectMessage, as input into a method (.. decodeJavaMessage(ArrayList<ObjectMessage> ...)). In this java callout class you can get to each individual ObjectMessage via typecasting the get() method on the Arraylist to (ObjectMessage) and then just typecast the getObject() on this Objectmessage into your original Java Class (same as what you inserted onto queue originally).
    Hope this saves someone some time in future!

  • JMS Proxy Service !

    Hi I have a scenario --
    1. Pandox System(queue) ------> OSB [ ProxyService]-------->Seibel System(queue)
    . Is the above scenario possible in OSB ? If yes , then how ?
    . Should I go for JMS Bridge ? No ? Yes ? Why?
    Note: What would be the end point URIs in the Proxy Service if the systems are non-weblogic like Pandox and Seibel ? Will it require any extra configuration any where in OSB ?

    OSB can interface with JMS/MQs.
    You can configure your proxy service/business service JMS URI of the pattern if using JMS
    jms://localhost:port/QCFJNDI/QJNDI
    For MQ you can use the MQ transport or create Foreign JMS servers depending on your version of OSB.
    Refer OSB user guide for further details on MQ transport etc.

  • OSB10gR3:High-availbility of file protocol based proxy service

    Hi All,
    I just want to know the options available for creating two proxy services polling on the same location using File transport/ making a file based proxy service independent of managed servers.
    Actually in OSB doc's File Transport Configuration page, it is mentioned that
    Managed Server This field is available only in a clustered domain. Select the Managed Server to act as the polling server. All of the Managed Servers can process the message, but only one can poll for the message. ( [Click here|http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/proxyservices.html#wp1272642] to check)
    So what if the server on which proxy is deployed for polling, goes down? How can we handle such situation?
    Your opinion?
    Thanks & Regards,
    Anuj

    File like FTP and Email transports are singleton services. That is, the processing can take place in any node of the cluster, but the polling only takes place in one. The reason for this is simple, duplicate invocations. If you have 4 nodes in your cluster and they are all polling, when a new file is created, your proxy could be invoked 4 times for the same file.
    You could make two proxy services and have them poll the same directory but on different nodes. If the nodes share the same file system, your business service would have to be able to deal with duplicate messages. If it's not the same file system, the application that creates the files would need to keep track of the status of the servers in the cluster to decide where to put the files.
    I think the best option would be to look into weblogic's cluster features: leasing and server migration. You could configure weblogic to automatically migrate the failed server to another machine (there's also service migration, but I don't think weblogic is aware of osb level services). Of course you would need to use a file system that's available to both the "primary" and the "backup" servers. Have a look here:
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/cluster/migration.html
    You could also create a WLST script to modify your proxy service (change the managed server) in case of failure. There should be a way, maybe through JMX or using the WLDF, to get a notification when the server goes down so you can execute your script. Again, you need a shared file system.
    Hope that helps. And if you come up with a good solution let us know!

  • Proxy Service JCA AQ Adapter. Queue retries doesn´t work

    Hello, i have to integrate two applications by calling a WS with data coming through an AQ Queue. My OSB version is 10.1.3. The steps followed are:
    1) Created a QUEUE with 5 retries and a retry delay of 1 minute.
    2) Created a AQ Adapter in Jdeveloper.
    3) configured a proxy service whith the adapter created. (Non Managed connection)
    4) Then I tested the queue sending an alert with the payload dequeued and worked ok. The message is dequeued in database the alert is shown.
    5) in the response pipeline i put a service callout and a xquey to transform the message.
    If everything is OK the proxy works right, the message is sent to the WS y the rigth format.
    If there is an error or the service is not available the message is dequeued anyway. No retry, no delay, and the message is lost.
    Can anybody tell me what i am doing wrong?
    Best regards

    I put a raise error in the request pipeline and you are right the message remains in the queue.
    But now de retries feature is not working.
    I defined the queue this way:
    begin
    sys.dbms_aqadm.create_queue(
    queue_name => 'INT_INGRESOS_QI',
    queue_table => 'INT_INGRESOS_QTAB',
    queue_type => sys.dbms_aqadm.normal_queue,
    max_retries => 10,
    retry_delay => 20,
    retention_time => 0);
    end;
    If i am not wrong , after the raise error the message must stay in the queue and when the retry_delay will expire (20 seconds) the message will be proccesed again and again for 10 retries.
    The message is proccesed (i put an alert to see it) but after 20 seconds the message still in the queue,
    and in the queue table the column retry_count is not increased.
    do you know what i am doing wrong?
    Best regards

  • Service Type is lack when I create proxy service in workshop 10gr3??

    When I create proxy service in workshop(10gr3), at the General Configuration page, the "Service Type" is lack of "Create From Existing Service", the function is deleted?

    I posted the same request to the SOA forum.
    But here is the solution:
    Right click on the business service select OSB / Generate Proxy Service.
    To all the nice people form Oracle, please document it.
    thanks,
    Barossa

  • Manual failover solution for a custom proxy service that should be deployed

    I am looking for a manual failover solution for a custom proxy service that should be deployed on a cluster as a pinned service (requests have to be executed one after the other). The constraints I am encountering are:
    a) Proxy service are deployed to all cluster's members by default.
    b) Configuration of proxy services to cope with migration of JMS ressources.
    Any idea?
    Thanks in advance for your support
    Fred

    hi leroy,
    this is the OracleAS Portal Content Management forum. Please post your question in the Database forum
    General Database Discussions
    thanks,
    christian

Maybe you are looking for