JMS with IBM websphere

Dear friends,
i am studying JMS and its concepts. I copied two sample programs for sending messages and receiving messages.
I am using Queue. I configured connection factories and Queue in Websphere JMS Provider. Also both files were complied properly. Now i want to run those programs, but it s giving me errror
I dont know Url Provider and its attributes..
Please help me in solving this problem
thanx in advance
s.yogans

Thanks for your reaply.
Acually WebsphereMQ 5.3.1 supports jms102.
I was using DefaultMessageListenerContainer instead of DefaultMessageListenerContainer102.
now its working fine.
Regards,
Sabyasachi

Similar Messages

  • Integrating SAP CRM with IBM Websphere Portal

    Hi,
    Is it possible integrate SAP CRM with IBM Websphere Portal??
    if possible please share the knowledge you have..
    Thanks in advance..
    Naresh

    P L E A S E   D O  N O T  C R O S S  P O S T  I N   D I F F E R E N T  F O R U M S

  • TimesTen compatibility with IBM WebSphere 7

    Is TimesTen compatible with IBM WebSphere 7?

    It has been tested and certified against IBM WebSphere Application Server 6.1, but it could work just fine against version 7.0.

  • Siebel JMS with IBM Webshere MQ(7.5.0.1)

    Hi Guys,
    I try to configure MQ 7.5.0.1(with JMS) with Siebel so that I can send/receive messages using EAI JMS Transport. when I try to send a message, i get following error in jms log file:
    [SIEBEL ERROR] Thread[main,5,main] [11:56:37.171 AM Fri Feb 28: ] Error invoking Send --
    SiebelJMSException errorSubtype=JMS_EXCEPTION
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:582)
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:249)
      at com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
    [SIEBEL ERROR] Thread[main,5,main] [11:56:37.171 AM Fri Feb 28: ] Threw SiebelBusinessServiceException with
    ErrorCode = JMS_EXCEPTION
    ErrorMessage = An unexpected error occurred (see StackTrace): com.ibm.mq.jms.MQConnectionFactory cannot be cast to javax.jms.QueueConnectionFactory
    StackTrace = SiebelJMSException errorSubtype=JMS_EXCEPTION
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:582)
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:249)
      at com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
    [SIEBEL DETAIL] Thread[main,5,main] [11:56:37.171 AM Fri Feb 28: ] Cumulative time = 2107
    JAVA profile:
    JVM Classpath C:\JAR;C:\JAR\SIEBEL.JAR;C:\JAR\SIEBELJI_ENU.JAR;C:\JAR\JNDI.JAR;C:\JAR\CONNECTOR.JAR;C:\JAR\JMS.JAR;C:\JAR\PROVIDERUTIL.JAR;C:JAR\FSCONTEXT.JAR;C:\JAR\COM.IBM.MQ.JAR;C:\JAR\COM.IBM.MQJMS.JAR;C:\JAR\COM.IBM.MQ.JMQI.JAR;C:\JAR\DHBCORE.JAR;
    JVM DLL Name C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
    JVM Options -Djms.log=C:\JMS\log\jms.log
    binding file is located in folder c:\JAR
    file jndi.properties:
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    java.naming.provider.url=file:/c:/JMS
    Can anybody help me?
    Thanks,
    SN

    >
    > I am trying to connect to Websphere MQ series via PI, Websphere MQ series is running on Linux environment and PI system running on AIX operating system, i got the drivers from linux environment where queue is running, can i deploy those drivers into my PI system?? because it is running on AIX.
    >
    It will work.
    > Or else is there any different jar files for different operating systems???
    as per my knowledge no.
    Regards,
    Raj

  • SQL Server 2000 with IBM websphere 4.0

    Hi,
    I need to migrate existing Oracle DB to SQL server 2000.
    Let me know how does SQL server 2000 connect with and talk to IBM websphere 4.0.
    If you can also send me a sample architecture diagram.
    Thanks
    Alpana

    Hello,
    It seems you need to install i-net OPTA in IBM WebSphere 4.o to be able to connect to a SQL Server
    2000 instance. Please read the following article for more information:
    https://www.inetsoftware.de/products/jdbc-driver/ms-sql/configurations/websphere4
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Netbeans with IBM Websphere Application Server

    Hi,
    Is it possible to use IBM Websphere Application Server with Netbeans IDE (particularly 5.0 beta).
    I tried the Server Management window but it doesnt give IBM WAS as an option :-(
    Thanks in advance
    =======
    Kiran

    Hi,
    Netbeans 6.0 has a beta version (see http://serverplugins.netbeans.org/)
    Netbeans 6.1 will support it out of the box. see http://wiki.netbeans.org/NB61NewAndNoteWorthy#section-NB61NewAndNoteWorthy-section-NewAndNoteWorthy-Milestone1
    See http://wiki.netbeans.org/NB61Milestones for final delivery date.
    Best regards,
    Thierry

  • Help with IBM Websphere JVM for Opera Mini

    Hi,
    I just downloaded oper mini. When I try to run it, it say "Please ensure IBM Websphere Micro JVM is installed". Can someone help me with this? Thanks.
    Post relates to: Centro (Verizon)

    you can download that software at this link.
    http://mytreo.net/downloads/ibm-websphere-everypla​ce-java-virtual-machine,1313.html
    Post relates to: Treo 680 (Unlocked GSM)

  • Installing Demantra 7.2.0.2 with IBM Websphere as the application server

    Can anybody share the documentation / insight into installing Demantra 7.2.0.2 using IBM Websphere 6.1 (OS-Windows) ?
    Can we install the Demantra on the same machine on which Websphere is installed or we need another box.
    Which steps we need to follow ? Any setting on the Websphere for this ?
    Suppose Websphere is installed on http://webmac.xxx.com (machine name) - is this the web address we need to specify even if we are installing on the same machine.
    Thx for your help.
    Pankaj

    Hi Pankaj,
    If the other users are on the same network as the machine on which Tomcat is running, they can access demantra web applications directly. Only measure to be taken is that the url should contain either IP address or the network m/c name of the server machine alongwith the port no.
    e.g.
    http://10.32.142.123:8080/....
    http://mymachine:8080/....
    If the other users are on some different network and wanted to access Demantra web applications through Internet, then you will have to ask your networking team to open the port no (e.g. 8080) of the Tomcat server machine through the firewall of your environment. This will allow the users outside of your environment to access the application running on your specific machine through the specific port only.
    And the users who want to access these applications might also have to put host entries as suggested by Shekhar depending on the internet access policies of their organization.
    Milind...

  • Problem connecting weblogic OSB with IBM websphere via foreign JMS

    Hi All,
    I am trying to setup Foreign JMS. My configuration doesn’t work.
    Could you please let me know if I am missing anything .
    All my configuration details are done as specified in this link http://www.oracle.com/technology/products/integration/service-bus/docs/osb-websphere-whitepaper.pdf
    Here is what I did.
    In OSB sbconsole
    OSB business Service ENDPoint URL jms://webspherehost:9082/sampleQueuemanager/sampleQueue
    In websphere
    Created a queue connection factory and a queue from the webspehere administrator console.
    Modified JSMAdmin.config to enable the following…/Java/bin/JMSAdmin.config.
    INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
    PROVIDER_URL=file:/C:/JNDI-Directory
    Ran JSMAdmin.bat to bind the JNDI
    def qcf(sampleQueuemanager) qmanager(QMGR) HOSTNAME(webspherehost) PORT(1327) TRANSPORT(CLIENT)
    def Q(sampleQueue) queue(sampleQueue) qmanager(QMGR) PERSISTENCE(PERS)
    InitCtx> dis ctx
    JMSADM4089 InitCtx
    .bindings java.io.File
    bck_.bindings java.io.File
    a sampleQueuemanager com.ibm.mq.jms.MQQueueConnectionFactory
    a sampleQueue com.ibm.mq.jms.MQQueue
    4 Object(s)
    0 Context(s)
    4 Binding(s), 2 Administered
    In weblogic admin console
    Created foreign JMS, destination and connection factory as mentioned in the following link.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/ConsoleHelp/taskhelp/jms_modules/foreign_servers/CreateForeignConnectionFactories.html
    When I execute business service from OSB sbconsole, this is what I get.
    +The invocation resulted in an error: [JMSPool:169803]JNDI lookup of the JMS connection factory sampleQueuemanager failed: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.1 400 Bad Request]].+
    Thanks
    siva

    Little confusing. Are we not supposed to use osb host name and port along with foreign connection factory created in weblogic for OSB BS?.
    You said: jms://webspherehost:9082/sampleQueuemanager/sampleQueue
    We have to jms://osbhost:port/ForeignQueueManagerInWeblogic/ForeignQueueInWeblogic
    Manoj

  • Safari 2.x compatible with IBM Websphere 5.x - 6.x Widget/Portlets

    I'm having compatibility issues with Safari 2.x. The initial 1.x version of Safari was compatible with the IBM version of Java Server Pages Generated by the Host Access Transformation System (HATS) renderings of legacy applications.
    The new 2.X version of Safari hangs consistently, has anyone run into this problem before? Whom should I contact within Apple to resolve this problem?
    Denis Arsenault
    [email protected]

    HATS IDE for Rational development platform provides to standard .js files that handle default settings and browser determinations. The settings in these files are incorrect, and this will be reported to IBM for a fix.
    This has been checked for safari 2.x browsers.
    Denis Arsenault
    [email protected]

  • Please help me if anybody is working with IBM websphere MQ Series

    I am getting errors while recieving message from XI to MQ series queue.
    Error is in JMS adapter monitoring stating NO DETAIL INFORMATION SET :RECIEVER
    I have made queue manager and queue and also a reciever channel.
    What else should I do?
    Thanks in advance

    if you see the log clearly you see
    2015-02-16_20-09-23:INFO: ERR /bin/sh: line 1: /agent12c/oem/core/12.1.0.4.0/bin/zip: not found
    unable to unzip the file - check the zip file location in server - "which zip"

  • ERROR in JMS with IBM MQ

    Hi masters,
    i have a big trouble..i am run the following code....o got some exception.....can u help me ....
    private static void obtainAdminObjects( Object[] outArray ) {
    try {
    if( useJNDI ) {
    // Set up JNDI environment parameters
    InitialContext context = null;
    Hashtable env = new Hashtable(2);
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://objectfrontier.com:389/o=JNDITutorial");
    Context ctx;
    try {
    ctx = new InitialContext(env);
    } catch(NamingException e) {
    e.printStackTrace();
    throw (RuntimeException) new RuntimeException("Failed to create" +
    "initial JNDI context" + e);
    // Obtain the objects
    System.out.println("Context Object " + ctx);
    outArray[0] = ctx.lookup("qcf");
    outArray[1] = ctx.lookup(qlookup);
    } else {
    // Create the objects explicitly - we need to refer to the
    // MQJMS-specific classes now
    MQQueueConnectionFactory qcf =
    new MQQueueConnectionFactory();
    qcf.setQueueManager(qMgrName);
    MQQueue q = new MQQueue();
    q.setBaseQueueName(qName);
    q.setBaseQueueManagerName(qMgrName);
    outArray[0] = qcf;
    outArray[1] = q;
    System.out.println("outArray[0] :"+outArray[0]);
    System.out.println("outArray[1] :"+q);
    } catch( Exception e ) {
    e.printStackTrace();
    System.out.println("Error obtaining admin objects: "+e+"\nQuitting.");
    System.exit(-1);
    i got a Exception:
    Context Object javax.naming.InitialContext@291aff
    javax.naming.InvalidNameException: qcf: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001AA, problem 2006 (BAD_NAME), data 8350, best match of:
         'qcf,o=JNDITutorial'
    thankingu
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Please don't post the same question more than once:
    http://forum.java.sun.com/thread.jsp?thread=537218&forum=29&message=2598588
    http://forum.java.sun.com/thread.jsp?thread=537048&forum=29&message=2597520
    http://forum.java.sun.com/thread.jsp?thread=537047&forum=29&message=2597517
    Those of us who take time out of our day to help others (for free) don't appreciate reading the same post several times. In fact, I'd venture to say that seeing multiple posts of the same question by the same user would cause most would-be responders to simply ignore the question. It's a matter of forum etiquette. See
    http://forum.java.sun.com/thread.jsp?forum=10&thread=492104
    or
    http://forum.java.sun.com/thread.jsp?forum=31&thread=174321
    -Scott

  • How compatible is Sun ONE Message Queue with IBM Websphere MQ and at what version levels?

     

    Hi,
    Just check the "Troubleshooting Installation Problems section " at http://docs.sun.com/source/816-6453-10/windows.html#34247.
    If you still have problems in installation , you can post your question in the Sun ONE message Queue forum
    at http://softwareforum.sun.com/NASApp/jive/forum.jsp?forum=24

  • XI to IBM Websphere Default JMS Provider with JNDI

    Hello everybody!
    We face a problem with connecting SAP XI to IBM WebSphere Default JMS Provider (need to send a message from XI to WebSphere JMS and receive the response).
    We have the following versions installed:
        SAP XI: 7.0 SP8 , Sun JDK 1.4.2
        IBM WebSphere: IBM WebSphere Application Server ND, 6.0.2.17, J2RE 1.4.2 IBM
    We cannot set the JMS adapter of SAP XI for conecting with IBM WebSphere Default JMS Provider. The Communication Channel has erroneous state (at runtime) and the Communication Channel Monitoring tool displays the error message as described below (under "Variant 1" and "Variant 2" sub-headings) depending on the settings performed. 
    For connecting, the following JMS-provider settings were used at IBM WebSphere side:
       JMS Providers: Default Messaging Provider
       Queue Connection Factories: name:QueueConnectionFactory, jndi:jms/QueueConnectionFactory, provider: Default Messaging Provider
       Queues: name Queue, jndi: jms/Queue, provider: Default Messaging Provider
    The XI communication channel (and associated JMS-adapter) was set as Variants 1 and 2 show. Settings for both cases and received error messages were the following:
    <b>Variant 1.</b>
        Adapter type: JMS
        Type: Receiver
        JMS Provider: Access JMS Provider with JNDI (Java Naming and Directory Interface)
        JNDI Lookup Name of QueueConnectionFactory:  jms/QueueConnectionFactory
        JNDI Lookup Name of JMS Queue: jms/Queue
        Name of JNDI Initial Context Factory: com.sap.engine.services.jndi.InitialContextFactoryImpl
        JNDI Server Address: iiop://WEBSPHERE.HOST:2809/ 
        As the result, the Communication Channel Monitoring displays that the channel has erroneous state and the following error message is written:
        "Error during channel initialization; exception trace: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of jms/QueueConnectionFactory.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)"
    <b>Variant 2</b>
        The same settings as in Variant 1 above, were used and additionally the following settings were done:
        - Name of JNDI Initial Context Factory: com.ibm.websphere.naming.WsnInitialContextFactory
        - The archive aii_af_jmsproviderlib.sda containing libraries required by WsInitialContextFactory, was deployed to the SAP WebAS where the XI is running. Those libraries were taken from WebSphere Application Server Pluggable Application Client installation package (described in the article "WebSphere Application Server Pluggable Application Client" located at http://www-128.ibm.com/developerworks/websphere/library/techarticles/0409_bhogal/0409_bhogal.html)
        - Also, as it is recommended in the referred article, the files required by IBM's iiop protocol (ibmext.jar ibmorb.jar ibmorbapi.jar) were put to the folder jre/lib/endorsed of the server(Sun JVM 1.4.2 is used by SAP WebAS / XI).
        As the result, the Communication Channel Monitoring displays that the channel has erroneous state as well and the following error message is written:
       "No adapter registered for this channel"
    We have not found the recommended solution either in SDN forums or in Internet in general. Is it yet possible to connect SAP XI to IBM WebSphere Default JMS Provider having mentioned product versioning? If yes, what settings have to be performed?

    IBM Websphere Default JMS Provider which is installed alongwith the application server is nothing but a scaled down version of the IBM WebSphere MQSeries. you should be able to connect to it with the same settings that can be used for a separate MQSeries server connectivity from XI.

  • WebDynpro and IBM WebSphere

    Hi everyone,
    I've got the following scenario. We have a bunch of WD4A applications that we'd like to integrate with IBM WebSphere.
    If we deploy them through portal, there won't be any WSRP support from the portal side and integration cannot be achieved.
    What are the options then?
    If we integrate them as simple iFrame, what happens to the theme? And what if we have multiple WD views interacting one another? Is the deployment of SAP Portal best practice?
    Thank you.
    Cheers

    That's my point too.
    However I'd like to know whether there's some official docs from SAP stating what the best practice would be.
    In fact, if SAP portal isn't deployed, the only way integration can be done is via iFrame.
    - What happens to the theme then? I think that there will be a discrepancy between SAP's and IBM's themes unless SAP's theme is tweaked manually to look like IBM's.
    - What happens to inter-communicating WDynpros? I mean if we have two (or more) WebDynpro apps that need to exchange data and no SAP portal is in place?
    - On the other hand, if we deploy SAP Portal and want to integrate SAP Portal with IBM WebSphere, I guess we'll be having tough time later on, because BSPs, WebDynpros, Pages, etc. don't support WSRP and cannot be consumed by WebSphere. Can anybody confirm this? Has anyone ever tried this scenario?
    Thank you.

Maybe you are looking for