OSB - Problems connecting sync business service to resp. queue with login

Hello,
I have a synchronous JMS business service which uses the MessageID correlation pattern with statically configured request and response JMS queues. The JMS queues are imported using a foreign JMS and a connection factory with credentials (username and password). The requests seem to work just fine (they are received at the foreign JMS) but I still have problems with the responses. I get the following log entries:
<Mar 31, 2010 1:50:10 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ResponseEJB-8048850762288479454-46349ef3.127b3dbbff1.-7fe6 is unable to connect to the JMS destination: queue.local.name. The Error was:
javax.jms.JMSSecurityException: User: null is not authorized to read from destination queue.external.name>
It seems that the response is handled by a MDB which does not seem to use the username and password configured in the connection factory. Any ideas how to make it use the username and password of the connection factory to receive the response? I have tried both providing the connection factory for the response and leaving it empty (which would cause it to use the one from the request) - both with no success.
I am really stuck here..
Thanks,
Dimo

Alternatively you can try a very dirty way to make this work I think. The reason why the username in foreign server CF's username crednetials are not recognized is due to the fact that the deployment descriptors for the MDB should not specify a provider-URL and there should be a resource reference for the CF.
Business service with reply queues generate a MDB under the hood . You can try to edit the deployment descriptors for this MDB to make this to work.
Sample MDB weblogic-ejb-jar.xml for recognizing the foreign jms username
Foreign JMS
<foreign-server name=”ForeignServer”>
<default-targeting-enabled>true</default-targeting-enabled>
<foreign-destination name=”A”>
<local-jndi-name>A</local-jndi-name>
<remote-jndi-name>queue/A</remote-jndi-name>
</foreign-destination>
<foreign-connection-factory name=”FConf”>
<local-jndi-name>FConf</local-jndi-name>
<remote-jndi-name>ConnectionFactory</remote-jndi-name>
<username>esbuser</username>
<password-encrypted>{3DES}90sIZwo6Llr9r73p+VXkvQ==</password-encrypted>
</foreign-connection-factory>
<initial-context-factory>org.jnp.interfaces.NamingContextFactory</initial-context-factory>
<connection-url>jnp://localhost:1099</connection-url>
</foreign-server>
weblogic-ejb-jar.xml
<?xml version=’1.0′ encoding=’UTF-8′?>
<web:weblogic-ejb-jar xmlns:web=”http://www.bea.com/ns/weblogic/weblogic-ejb-jar”>
<web:weblogic-enterprise-bean>
<web:ejb-name>RequestEJB-2518965873970113789–2352f820.127bd3f293c.-7fdb</web:ejb-name>
<web:message-driven-descriptor>
<web:pool>
<web:max-beans-in-free-pool>1000</web:max-beans-in-free-pool>
<web:initial-beans-in-free-pool>1</web:initial-beans-in-free-pool>
</web:pool>
<web:destination-jndi-name>A</web:destination-jndi-name>
<web:connection-factory-jndi-name>FConf</web:connection-factory-jndi-name>
</web:message-driven-descriptor>
<web:transaction-descriptor>
<web:trans-timeout-seconds>600</web:trans-timeout-seconds>
</web:transaction-descriptor>
<web:resource-description>
<web:res-ref-name>jms/ConnectionFactory</web:res-ref-name>
<web:jndi-name>FConf</web:jndi-name>
</web:resource-description>
<web:resource-description>
<web:res-ref-name>jms/QueueName</web:res-ref-name>
<web:jndi-name>A</web:jndi-name>
</web:resource-description>
</web:weblogic-enterprise-bean>
</web:weblogic-ejb-jar>
This needs to be done each time OSB generates a new MDB for the business service - eg. when the business service definition changes.
Regards,
Atheek

Similar Messages

  • Problem connecting to Web Services server

    Hello,
    I've had my printer running perfectly since I installed it 3 days ago but today I am nolonger able to use eprint. I can still scan and print from my home PC and laptop but I am unable to send emails directly to the printer now. This was working fine and I used the feature fairly often without error but today no emails arrived. When I logged on to the eprint web site using my google account {Personal Information Removed} the status of the printer said disconnected. I've tried deleting the printer and re-attaching it (which had no effect) and I've now tried disabling web services on the printer then re-enabling it. When I try this I now receive the following error: Problem connecting to Web Services server.
    The printer model is a HP Photosmart Premium C310a with the lastest software update. The printer is connected to my network via Wifi and is reachable and usable from all my PC's.
    It seems to me that there is something wrong with the software configuration on the printer, the reason I think this is because the screen interface slows down to a crawl after some use and when this happens it is not possible to switch the printer off via the power button. The only solution is to pull the power cable! This is something new and didn't happen before, is there a way to reset to factory default, the option in the menu doesn't seem to reset everything?
    Please advise ASAP.
    Thanks in advance,
    Stuart {Personal Information Removed}

    Greetings,
    The ePrint Service has been having some issues after the upgrade. The server team has found and fixed a bug in the latest release that affected connectivity. If you're having problems, please unregister your product (from the Web Services menu, select "Remove Web Services"), then register again (from the Web Services menu, select "Enable Web Services).
    After reregistering, I have been very successful using both ePrint and the Print Apps using my HP LaserJet CM1415. It has been staying connected, and promptly printing jobs I send to it. It has also been reconnecting after I powercycle. I sincerely hope you have the same experience. We had an ePrintCenter outage a few minutes ago that may have affected connectivity, but I am able to use ePrint and the Print Apps again as of 5:15 Mountain Time.

  • OSB error while generating business service for FTP adapter Sync Get File

    Hi All
    I am trying to generate a business service from SOA Suite JCA FTP adapter Sync Get File, but i am getting this exception for no reasons (Rest operations list file, get file and put file are working)
    Invalid JCA transport endpoint configuration, exception: java.lang.NullPointerException     Unknown ALSB Conflict.
    Is this a bug in eclipse, can any body help me. Thanks
    Sorry Forgot to mention eclipse version...
    Eclipse Platform
    Version: 3.6.2
    Build id: M20110210-1200

    Ok,
    bcoz of this issue, i had to code the entire interface in OSB console. It runs fine in OSB console (i was able to test it successfully).
    Is this a bug in eclipse or only i am facing this issue? Has anybody tried to create a business service from JCA FTP Get Synchronous jca file?
    <adapter-config name="FTPReadMOMFileOnRMSDB" adapter="FTP Adapter"
         wsdlLocation="../wsdl/FTPReadMOMFileOnRMSDB.wsdl"
         xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
         <connection-factory location="eis/ftp/RMSDBFtpAdapter" />
         <endpoint-interaction portType="SynchRead_ptt"
              operation="SynchRead">
              <interaction-spec
                   className="oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec">
                   <property name="DeleteFile" value="true" />
                   <property name="PhysicalDirectory" value="/MOMFiles/output" />
                   <property name="FileName" value="*" />
                   <property name="FileType" value="binary" />
              </interaction-spec>
         </endpoint-interaction>
    </adapter-config>
    One more doubt? The PhysicalArchiveDirectory path can be on the FTP server something like: /MOMFiles/archive. Or do i have to use the Put operation to move it to /MOMFiles/archive directory. Currently OSB console and eclipse do not accept FTP path for this parameter and want me to specify a local directory on server. Thanks

  • QoS issue with OSB publish to JMS business service

    Hi,
    1. I have a http OSB proxy service which is publishing an audit message to a JMS queue through OSB business service.
    MainProxyService (http) --> Publish (best-effort) --> AuditBusinessService (JMS) --> Audit Queue
    2. I want 'Publish to JMS business service' to be a non-blocking call so that proxy service message flow can continue. Transaction support is disabled in proxy service as well as in JMS connection factory.
    3. As default value of QoS (quality of service) for publish action is best-effort, ideally proxy service should continue its message flow immediately after dispatching the message to publish action and it should not block the main proxy flow.
    4. But in my case, proxy service is blocking the message flow until the message is delivered to JMS business service/JMS queue. This is degrading performance of my application.
    5. I think default 'best-effort' QoS is not working with JMS business service as there is a significant time lag between publish action and its next subsequent action.
    6. If I replace the JMS business service with HTTP business service, then it seems to be a non-blocking call and message flow immediately proceeds to next actions.
    Correct me if I am going wrong anywhere or my understanding is wrong.
    Many thanks.

    HI,
    u can use Conditional Branching
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1061670
    Split join would be used in case u need to split your request and call your Business Service in Serial/parallel & then gather resposnes from multiple callouts to have single response
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/splitjoin.html#wp1137258
    Abhinav

  • OSB example calling multiple business services using a single proxy service???

    Hi,
    I have three business services created using http urls i.e.
    1. LoginBS
    2. GetListBS
    3. LogoutBS
    My requirement is to get a list of names from GetListBS using a single proxy service and to call GetListBS I have to first call LoginBS then GetListBS i.e. after authentication and then finally logout.
    Kindly help with a detailed example for this and I am new to OSB.
    Thanks,
    Vik

    Hi Eric,
    Thanks for the response. We figured that it is possible to call multiple services with Split Join. However, we ran into the issue you described. We had a blocking call and had to wait until each of the services returned a response.
    However, we needed a Async model for our design and felt that this might not be a right fit.
    We are now looking at implementing the publish option with QoS configured as this fits our usecase better. Thanks for the help again.
    Rudraksh

  • Integration directory problem while creating business service

    HI,
    CURRENTLY I AM FACING A PROBLEM IN INTEGRATION DIRECTORY. WHEN I TRY TO CREATE A BUSINESS SERVICE INSIDE THE SERVICE WITHOUT PARTY WHICH I AM TAKING AS A SENDER, I AM UNABLE TO GET THE SOFTWARE COMPONENT VERSIONS IN THE SENDER PARAMETERS.
    IF ANYONE CAN GIVE THE COMPLETE CONFIGURATION STEPS FOR SENDER AND RECIEVER SYSTEM THAT WILL BE VERY HELPFUL.
    BEST REGARDS,
    MONA

    Hi Mona,
    Let me explain you in detail:-
    First, Activate the Change List in the Integration Repository once the design objects are complete.  By activating the change list, the object becomes available for Configuration in the Integration Directory.
    Secondly, to transfer Integration scenario from Integration Repository - you need your Integration Scenario to be created correctly and when you run this wizard you actually pull the Integration scenario in the Integration directory.
    You also have the option of 'Configuration Wizard'.
    This tool is a wizard for creating your Recevier Determination, Receiver Agreement, Sender Agreement and Interface Determination. For this tool, you do not need the Integration scenario
    It is not mandatory to use any of these tools to configure your scenario.
    All you have to do for configuring your scenario is
    1. Create Business system/Business service
    2. Create Communication Channel
    3. Create Receiver Determination
    4. Create Interface Determination
    5. Sender Agreement
    6. Receiver Agreement
    I hope this provides you a solution.
    Regards.
    Praveen

  • Problem connecting to Data/Service outside web root

    I'm new to Flash Builder (4.5). I work in an environment where developers have full access to a specified folder and subfolders on a Windows box running IIS 7 and ColdFusion 9.
    So the path to the services-config.xml looks like this (server and folder names have been changed, but the structure is the same):
    \\servername\flex$
    Path to coldfusion root looks like this
    \\servername\coldfusion9$
    The developers don't have write access to those areas. What we have is
    \\servername\webteam$\webcontent\app1
    \\servername\webteam$\webcontent\app2
    And so on
    Then our server admin sets up virtual servers so that our urls look like http://app1.ourdomain.co, app2.ourdomain.com, etc. 
    I set up a project specifying ColdFusion as the server technology and using the above paths and everything works 
    I've run set up a couple Hello World tests using <mx:RemoteObject destination="ColdFusion" source="app1.flextest"></mx:RemoteObject> and everything works as expected. (No database connections, just a function that returns a string) 
    The problem is when I try to exploit the magic of Flash Builder and use the Connect to Data Service feature to write my queries for me : ) 
    I select ColdFusion 
    In the CFC location I enter 
    \\servername \webteam$\webcontent\app1\cpa\flextest.cfc 
    Which is the same working cfc I connected to manually in my Hello World test. Flash Builder automatically populates the Service Name, Service Package, and Data Type Packages and I click next. I enter my RDS password and I then get this error: 
    The CFC file is invalid. Possible causes can be found by accessing: http://app1.ourdomain.com//CFIDE/componentutils/cfcexplorer.cfc?method=getCFCMetaData&name =flextest&path=%2Fwebcontent%2Fapp1%2Fflextest.cfc 
    Copying and pasting the url into my browser I get this error: 
    The value returned from the getCFCMetaData function is not of type struct. 
    HOWEVER, if I modify the url and remove "%2Fwebcontent%2Fapp1%" I get a response: 
    E:\webteam\webcontent\app1\flextest.cfcE:\ColdFusion9\wwwroot\WEB-INF\cftags\component.cfc WEB-INF.cftags.componentWEB-INF.cftags.componentcomponentcpa.flextestcpa.flextestcomponent remoteflexteststring 
    So I just need to tell Flash Builder to shorten the path and not add "/webcontent/app1" How? 
    Sorry it took so long to explain. I've been googling for days and can't find anything. I'm sure there must be other users who develop on servers outside the root path of their web server, right? 
    P.S. I tried mapping drives but that didn't help
    Thanks,
    Ron
    "Embrace the senile genius"

    Hi ,
        Check if the database server is up and running.The console will have two root nodes .R they both in green?
    Try connecting and entering into the database externally.
    Generally if the DB instance is not running , this error would occur.
    regards,
    aravindh.

  • OSB: Configuring business service for JMS Queue

    Hi,
    I want to produce messages into a JMS queue from OSB proxy service. I have created business service for the JMS queue. I also want to return Status code=200, Status Messgae=Success if the message is successfully inserted into the Queue. Kindly let me know how to do this.
    I tried using Service Callout to call the business service but it is not allowing me to use it because my business service is a one-way operation. So, i tried with Publish activity but my doubt is how and where to configure request payload for the publish activity. I could not find any.
    And how do i know if the message is successfully inserted so that i can send the Status=200 back to the calling proxy service.
    Kindly help in this regard.
    Thanks in advance.

    As suggested, use QoS=ExactlyOnce as RoutingOption within the Publish to business service. If there was any error it will send the flow to error handler where you can do a reply with failure to return HTTP status code=500 to the caller of the proxy service.
    If you do a reply with success the caller will receive HTTP status code=200

  • OSB - Response timer when business service call external webservice slowly.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

  • Business Service sign a message with always same certificate

    Hello,
    We  need to call an external web service that require the request be signed by a certificate.
    Our organization has an Oracle Service Bus and our intention is use the bus to facilitate our clients the calls.
    I did the next steps:
    1.- I Have configured the keystore of OSB with the certificated.
    2.- I have made the business service, with the end-point the external ws.
    3.- I Have configured the sign-body ws-policy in business service.
    4.- When i prove it with debug console of OSB, i select the keystore provider and it works.
    The problem is:
    When I make the Proxy Service seems that the Business Service give the requirement to the Proxy for sign the message,  and what I want is publish the Proxy Service without this requirement and sign the message with always the same certificate.
    I would like the message was signed by Proxy Service or Business Service, and not by clients who call the OSB.
    I don't know how configure it on OSB.
    It is possible to configure OSB in that way?
    Thanks
    Miguel

    Hello,
    Can you please confirm the following
    1. You are setting up an expired certificate as the host certificate for your host (or) are you trying to sign an ASPX file with an expired certificate?
    2. The webserver where you are hosting this ASPX (IIS I presume), has only certificate based authentication enabled - is that right?
    3. You are seeing that when the user opens the website they are prompted that the certificate has expired, and even if they chose to move forward, they are not able to - is that the issue?
    4. If (3) is not the issue and you want to be able to get access to the certificate-expiration error as part of the ASPX code, then that wouldn't be possible because the certificate validation would happen as part of the TLS connection negotiation
    If you can please provide some more details, it will help.
    Thank you

  • Problem connecting to SAP R/3 in CPIC with 6.20 library

    Hi,
    Any help or suggestion on this problem is highly appreciated. I'm currently facing a problem in connecting to SAP R/3 in CPIC with 6.20 library. The code return error at the call to CMINIT. Below is the code and error message:
    ============
    Source Code:
    ============
    CONVERSATION_ID convid[8];
    PCPIC_CHAR dest;
    CPIC_INT returnCode;
    dest = sapr347;
    CMINIT(convid, dest, &returnCode);
    if (returnCode != CM_OK)
       printf("CMINIT: %d\n", returnCode);
       printf("SAP-INFO: %s\n", SAP_CMPERR());
       return;
    printf("CMINIT succeeded");
    ===============
    Error Message
    ===============
    Return Code: 20 (CM_PRODUCT_SPECIFIC_ERROR)
    SAP_INFO:
    LOCATION CPIC (TCP/IP) on local host
    ERROR partner not reached (host sapr347, service sapgw00)
    TIME Wed Jul 14 00:36:36 2004
    RELEASE 620
    COMPONENT NI (network interface)
    VERSION 36
    RC -10
    MODULE niuxi.c
    LINE 1037
    DETAIL NiPConnect
    SYSTEM CALL connect
    COUNTER 1].
    NOTE:
    =====The same program is working when we use 4.6 library====.
    Best regards,
    Brian

    Hi vasu,
    Have you tried connecting with another user? If not, first try doing that (for instance with your user). If connection is succesful compare the users. I think this have something to do with the ALEREMOTE user. Might be an authorization issue.
    Try with different users (maybe one with SAP_ALL).
    regards,
    Dion

  • Problem connecting to SVN repository from Safari, works with FF

    *Hello guys,*
    I have a problem with Mac at work. I need to connect to internal SVN repository (https) first with Safari to see if everything is ok and then with my development client/tool - Eclipse.
    Neither works! It just keep connecting and it does not go further.
    But when I put SVN url in Firefox (FF) it ask me for SVN password and let me in. IT WORKS...
    Probably there is a problem with Keychain because it does not even ask me for password. I just see page loading in Safari but nothing happens. Also in Eclipse, nothing happens when I try to add SVN repository location.
    Other guys with MS and Ubuntu PCs can connect to SVN (FF and Eclipse) with no problem.
    Where is the problem?
    Why my Mac could not connect to this particular SVN.

    I digg some findings. When I open the page with Google Chrome it also does not load any thing, just keep loading.
    But when I open SVN url (ssl) with Opera, it behave like Firefox. First it tells me that this site is not trusted and after confirming this alert I get password promt and everything is ok.
    But there is still problem with Safari and Eclipse. Has Keychain anything here to do with this ???

  • Problems connecting/syncing the new ipod touch to itunes

    Hey there
    I have recently bought a new ipod touch 32gb 3g.
    Im running on windows 7, updated to the latest itunes (9.0.3.15).
    Im connecting the device with the usb, but i get noting
    Itunes show an ipod touch, but no sync.
    Heres the itunes diagnostic:
    Microsoft Windows 7 Ultimate Edition (Build 7600)
    945P IL9 Pro
    iTunes 9.0.3.15
    QuickTime 7.6.5
    FairPlay 1.6.16
    Apple Application Support 1.1.0
    iPod Updater Library 9.0d11
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 2.6.0.32
    Apple Mobile Device Driver 1.45.0.0
    Bonjour 1.0.6.2 (118.5)
    iTunes Serial Number A3B661**2D7
    Current user is an administrator.
    The current local date and time is 2010-02-26 19:21:41.
    iTunes is not running in safe mode.
    Video Display Information
    NVIDIA , NVIDIA GeForce 7600 GS
    ** External Plug-ins Information **
    No external plug-ins installed.
    ** iPod/iPhone Connectivity Tests **
    iPodService 9.0.3.15 is currently running.
    iTunesHelper 9.0.3.15 is currently running.
    Apple Mobile Device service 2.50.39.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC. Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    iPod touch, iPod touch running firmware version 3.1.2
    Serial Number: 1A9**6K2
    ** iPhone/iPod Touch Sync Tests **
    Sync tests completed successfully.
    I have attached a photo:
    http://img163.imageshack.us/img163/8070/fffffffffffffffff.jpg
    Can anyone help me out please?

    Thanks!
    Even though the diagnostics aren't showing errors for it, I think it's probably still worth checking on your USB drivers, as per the following document:
    [iPhone or iPod is not recognized properly by computer when USB drivers are not installed properly or are out of date|http://support.apple.com/kb/TS1538]

  • Problem connecting SAP IS-U (ECC 6.0) with Business Objects Edge 3.1

    Dear all,
    I'm trying to connect to a SAP ECC 6.0 System (SAP IS-U) with Business Objects 3.1 (for example with Crystal Reports). I have installed the SAP RFC SDK on the ECC server and have imported these transport files:
    Open SQL reporting objects
    InfoSet reporting objects
    Row Level Security Tool
    Security functions
    Cluster Definition Editor
    But CR keeps returning this error "You do not have the necessary rights to design reports against the SAP System". I've read a few threads about that problem here. I couldn't find a specific "ABAP transport" - did I miss to import anything else?
    Is there any way to check whether the transport files work as they are supposed to? Like the MDX parser connection test for SAP Business Warehouse.
    Any other suggestions?
    thanks in advance!

    Hi,
    I read about these authorization tasks in some other thread, but didn't know what to do.
    But now I found the auth. object in the transaction SU21.
    Since I cannot edit SAP_ALL I created another profile in transaction PFCG (just in case someone else is still messing with that problem) and added all activities of ZSEGREPORT ans S_RFC.
    After that I added the profile to the users in question.
    Now everything works like a charm.
    Thanks alot!

  • Problem connection to web service

    Hi ,
    I need your help. I would like to check the list item from the web service to validate the licence field. However I got the message
    getAllServiceNames is not function. I dont' know why??? I have spend a lot to time to fix but I it is not successful.  Please help.
    SOAP.wireDump = false;
    var cListURL = "http://......wsdl/";
    var e;
    try
    console.println("Start list retrieval");
    var service = SOAP.connect(cListURL);
    if(typeof service != "object")
    console.println("Couldn't get List object");
    if(service.getAllServiceNames == "undefined")
    console.println("Couldn't get getAllServiceNames Call");
    // Make the query
    var result = service.getAllServiceNames();
    if(result == null)
    console.println("List returned nothing");
    var count = 0;
    var limit = 10;
    form1.class1.body.licenceInfo.wellLicence.rawValue = limit;
    catch(e)
    console.println("Problem with list Call: " + e);
    Thanks in advance, Cindy

    Hi Cindy,
    The SOAP.connect() function should return a JavaScript object that is a proxy for the webservice and so should have a method called getAllServiceNames (if that is an operation defined by the webservice).
    I assume if you paste the WDSL address into a browser you see the WSDL definition.
    The error you are getting suggests you are getting as far as the line "var result = service.getAllServiceNames();".  Seems strange that you are getting past the line "if(service.getAllServiceNames == "undefined")".Maybe you could try a console.println(service.getAllServiceNames.toSource()) at this point and seeing what it actually is.
    You could also try setting SOAP.wireDump to true which will add some debugging information
    Are you seeing any of the 'Yellow Message Bar' messages in Reader (just under the toolbar).  If your form has been generated from a different domain than the website you can get some cross domain issues.  There is a log file under Acrobat's Preferences ... Security (Enhanced) ... "Cross domain log file" (you may have to restart Acrobat before the "View" button is enabled.
    Regards
    Bruce

Maybe you are looking for