IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 15 replies
  • Latest Post - ‏2013-01-08T09:08:42Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic WebSphere DataPower and Default Messaging Provider in JMS

‏2008-07-14T22:57:06Z |
Hi - I am working on a POC where I have to use DataPower XI 50 to send a flat file (comma separated values) to a JMS Queue implemented in default messaging provider of WebSphere Application Server.

My question are -

1. Can DataPower connect to JMS queue of default messaging provider and if yes then, how?
2. Also I have to set a JMS header "TargetFunctionName" with a value "createOrder" before I dump the falt file data into the queue. Can this be done through DataPower. If yes, then how?

I request members of this forum to please help me in finding a solution to this.
Updated on 2013-01-08T09:08:42Z at 2013-01-08T09:08:42Z by SystemAdmin
  • ashoon
    ashoon
    66 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2008-07-14T23:06:12Z  
    use a MPG which has a wizard for WebSphere JMS... also setting headers are not a problem - check the working with variables section of the web-gui guide
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2008-07-15T02:27:27Z  
    • ashoon
    • ‏2008-07-14T23:06:12Z
    use a MPG which has a wizard for WebSphere JMS... also setting headers are not a problem - check the working with variables section of the web-gui guide
    Hi - I went through the MPG WebSphereJMSHelper wizard and got stuck at the following points. In the configure JMS screen I need to specify the following information -

    JMS Server Host - IP Address where WAS is running
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809.
    WebSphere JMS Transport Protocol -

    Because of this my WebSphere JMS Server on DataPower is not being able to connect to the actual WAS JMS.

    Kindly help me in figuring out the correct values etc or how to associate my bootstrap with a transport chain?
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2008-07-16T15:37:38Z  
    Hi - I went through the MPG WebSphereJMSHelper wizard and got stuck at the following points. In the configure JMS screen I need to specify the following information -

    JMS Server Host - IP Address where WAS is running
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809.
    WebSphere JMS Transport Protocol -

    Because of this my WebSphere JMS Server on DataPower is not being able to connect to the actual WAS JMS.

    Kindly help me in figuring out the correct values etc or how to associate my bootstrap with a transport chain?
    Can anyone please help?
  • lilavd2
    lilavd2
    25 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2008-07-17T13:45:43Z  
    Hi - I went through the MPG WebSphereJMSHelper wizard and got stuck at the following points. In the configure JMS screen I need to specify the following information -

    JMS Server Host - IP Address where WAS is running
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809.
    WebSphere JMS Transport Protocol -

    Because of this my WebSphere JMS Server on DataPower is not being able to connect to the actual WAS JMS.

    Kindly help me in figuring out the correct values etc or how to associate my bootstrap with a transport chain?
    aish13 wrote:
    Hi - I went through the MPG WebSphereJMSHelper wizard and got stuck at the following points. In the configure JMS screen I need to specify the following information -

    JMS Server Host - IP Address where WAS is running
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809.
    WebSphere JMS Transport Protocol -

    Because of this my WebSphere JMS Server on DataPower is not being able to connect to the actual WAS JMS.

    Kindly help me in figuring out the correct values etc or how to associate my bootstrap with a transport chain?

    Try using the SIB Endpoint address port which I believe the default is 7276 instead of the bootstrap server port.

    Danny
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2008-08-13T06:21:15Z  
    • lilavd2
    • ‏2008-07-17T13:45:43Z
    aish13 wrote:
    Hi - I went through the MPG WebSphereJMSHelper wizard and got stuck at the following points. In the configure JMS screen I need to specify the following information -

    JMS Server Host - IP Address where WAS is running
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809.
    WebSphere JMS Transport Protocol -

    Because of this my WebSphere JMS Server on DataPower is not being able to connect to the actual WAS JMS.

    Kindly help me in figuring out the correct values etc or how to associate my bootstrap with a transport chain?

    Try using the SIB Endpoint address port which I believe the default is 7276 instead of the bootstrap server port.

    Danny
    Hi -

    I am struggling in connecting my DataPower to WebSphere JMS. DataPower device is able to ping to my WebSphere Application Server on SIB Endpoint address port 7276.

    I am creating a Configure WebSphere JMS object in DataPower. There are the values which I am using -

    WebSphere JMS Endpoint:
    WebSphere JMS Host - My WAS host number.
    WebSphere JMS Port - 7276
    WebSphere JMS Transport Protocol - TCP

    Main
    WebSphere JMS Target Transport Chain - InboundBasicMessaging
    WebSphere JMS Messaging Bus - SCA.APPLICATION.widCell.Bus

    But I am repeatedly getting error - "WebSphere JMS error(1) - UNKNOWN Initialization failed"...

    I am not sure what could be the problem. Can anyone please help me in figuring out the problem.

    Thanks
    Ashish
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2008-08-13T15:19:50Z  
    Hi -

    I am struggling in connecting my DataPower to WebSphere JMS. DataPower device is able to ping to my WebSphere Application Server on SIB Endpoint address port 7276.

    I am creating a Configure WebSphere JMS object in DataPower. There are the values which I am using -

    WebSphere JMS Endpoint:
    WebSphere JMS Host - My WAS host number.
    WebSphere JMS Port - 7276
    WebSphere JMS Transport Protocol - TCP

    Main
    WebSphere JMS Target Transport Chain - InboundBasicMessaging
    WebSphere JMS Messaging Bus - SCA.APPLICATION.widCell.Bus

    But I am repeatedly getting error - "WebSphere JMS error(1) - UNKNOWN Initialization failed"...

    I am not sure what could be the problem. Can anyone please help me in figuring out the problem.

    Thanks
    Ashish
    We are going to need a lot more information. Please turn logging in the default domain on your device to DEBUG and attach an error report after you configure the Websphere JMS object. Also include the log file from the Websphere JMS server side at a fairly high level of detail. Finally, if you don't see anything interesting there - perform a packet capture on your DataPower device and post that as an attachment as well.

    Corey
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2010-04-05T06:57:44Z  
    We are going to need a lot more information. Please turn logging in the default domain on your device to DEBUG and attach an error report after you configure the Websphere JMS object. Also include the log file from the Websphere JMS server side at a fairly high level of detail. Finally, if you don't see anything interesting there - perform a packet capture on your DataPower device and post that as an attachment as well.

    Corey
    DO we have documentation available for Websphere JMS Server defined in Webspere JMS FSH
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2010-04-05T09:40:29Z  
    DO we have documentation available for Websphere JMS Server defined in Webspere JMS FSH
    I have created Created JMS FSH with below details and default Messaging Provider in WAS

    IN Websphere JMS FSH :
    Get Queue : Q.Test
    IN WebSphere JMS Server-> WebSphere JMS Messaging Bus: InternalJMS
    WebSphere JMS Endpoint:Given Hostname:IP
    Port:7276
    Protocol:TCP
    Rest of the config left as default

    Problem:
    FSH Status shows :down - Cannot create configuration object
    System Logs :
    wasjms-server (JMSServer): :"server(JMSServer): Error registering subscription. Status [1] - UNKNOWN"

    i haven't found where i am going wrong ,
    Any Inputs please

    Thx
    sk08
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2010-04-14T16:51:17Z  
    I have created Created JMS FSH with below details and default Messaging Provider in WAS

    IN Websphere JMS FSH :
    Get Queue : Q.Test
    IN WebSphere JMS Server-> WebSphere JMS Messaging Bus: InternalJMS
    WebSphere JMS Endpoint:Given Hostname:IP
    Port:7276
    Protocol:TCP
    Rest of the config left as default

    Problem:
    FSH Status shows :down - Cannot create configuration object
    System Logs :
    wasjms-server (JMSServer): :"server(JMSServer): Error registering subscription. Status [1] - UNKNOWN"

    i haven't found where i am going wrong ,
    Any Inputs please

    Thx
    sk08
    Can you post the WAS JMS configuration details e.g. Queue name, JMS Queue name, SIB bus name etc. Also can you check if your WAS administrator has specified any username / password to connect into the SIB bus.

    Btw, is "Q.Test" the name of your actual queue or JMS queue. You will need to put the name of actual queue here.

    Business Integration / SOA Architect
    Ashish Aggarwal
    http://blog.ashish-aggarwal.com Middleware, SOA & WebSphere blog
  • salman123
    salman123
    7 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2011-07-06T17:19:48Z  
    Hi -

    I am struggling in connecting my DataPower to WebSphere JMS. DataPower device is able to ping to my WebSphere Application Server on SIB Endpoint address port 7276.

    I am creating a Configure WebSphere JMS object in DataPower. There are the values which I am using -

    WebSphere JMS Endpoint:
    WebSphere JMS Host - My WAS host number.
    WebSphere JMS Port - 7276
    WebSphere JMS Transport Protocol - TCP

    Main
    WebSphere JMS Target Transport Chain - InboundBasicMessaging
    WebSphere JMS Messaging Bus - SCA.APPLICATION.widCell.Bus

    But I am repeatedly getting error - "WebSphere JMS error(1) - UNKNOWN Initialization failed"...

    I am not sure what could be the problem. Can anyone please help me in figuring out the problem.

    Thanks
    Ashish
    HI,

    Was there any solution to above issue posted by Ashish?

    I am getting the same error "WebSphere JMS error(1) - UNKNOWN Initialization failed" while creating a Websphere JMS Server object and I am using the similar configuration as above. It is failing to establish a connection to JMS server.

    Thanks.
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2011-07-06T21:06:56Z  
    Hi - I went through the MPG WebSphereJMSHelper wizard and got stuck at the following points. In the configure JMS screen I need to specify the following information -

    JMS Server Host - IP Address where WAS is running
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809.
    WebSphere JMS Transport Protocol -

    Because of this my WebSphere JMS Server on DataPower is not being able to connect to the actual WAS JMS.

    Kindly help me in figuring out the correct values etc or how to associate my bootstrap with a transport chain?
    Hi Ashish,
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809

    this have to be set with iiop protocol only. eg iiop://<<Server IP>>:2809
    are you doing the same.

    thanks
    Abhishek
  • salman123
    salman123
    7 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2011-07-06T21:25:48Z  
    Hi Ashish,
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809

    this have to be set with iiop protocol only. eg iiop://<<Server IP>>:2809
    are you doing the same.

    thanks
    Abhishek
    Abhi, where do you mention the <<iiop://<server>:port>>
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2011-07-27T02:08:45Z  
    Hi Ashish,
    JMS Server Port - http://Documentation mentions that this is bootstrap server port which on my WAS server is default 2809

    this have to be set with iiop protocol only. eg iiop://<<Server IP>>:2809
    are you doing the same.

    thanks
    Abhishek
    Hi Abhi,

    I used port 7276 for my configuration. It was done a long time ago but I am quite confident that 7276 was the port number. Bootstrap server port is not the port that we are looking for here.

    Thanks
    Ashish Aggarwal
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2013-01-03T11:47:57Z  
    Hi,

    I am getting error WebSphere JMS error(1) - UNKNOWN Initialization failed even when i mention JMS port as 7276.
    I am also unable to do a TCP Connection Test to JMS IP and port 7276,however TCP Connection Test to bootstrap port works fine.Any idea where i am going wrong?

    Thanks and Regards,
    Sonalee Shyam
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: WebSphere DataPower and Default Messaging Provider in JMS

    ‏2013-01-08T09:08:42Z  
    Hi,

    Still unable to find the solution to above issue.Please help.