ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message is not passing from HttpRequestnode in eventmonitrng

Post new topic  Reply to topic
 Message is not passing from HttpRequestnode in eventmonitrng « View previous topic :: View next topic » 
Author Message
trinath
PostPosted: Wed Mar 04, 2015 8:41 am    Post subject: Message is not passing from HttpRequestnode in eventmonitrng Reply with quote

Apprentice

Joined: 02 Jun 2014
Posts: 34

Hi all,

I'm doing eventmonitoring based on this link

http://www.ibm.com/developerworks/websphere/library/techarticles/0911_fan/0911_fan.html

I import the zip file contained in this link and follow step by step described in this link.

The problem is when i sent a message from the input queue it is not passing through HttpRequestnode and it shows the error

Code:
ExceptionList:( ['MQROOT' : 0xa005890]
  (0x01000000:Name):RecoverableException = (
    (0x03000000:NameValue):File                 = 'F:\build\slot1\S800_P\src\DataFlowEngine\ImbComputeNode.cpp' (CHARACTER)
    (0x03000000:NameValue):Line                 = 497 (INTEGER)
    (0x03000000:NameValue):Function             = 'ImbComputeNode::evaluate' (CHARACTER)
    (0x03000000:NameValue):Type                 = 'ComIbmComputeNode' (CHARACTER)
    (0x03000000:NameValue):Name                 = 'MonitoringEvents_MF#FCMComposite_1_2' (CHARACTER)
    (0x03000000:NameValue):Label                = 'MonitoringEvents_MF.Build_HTTP_Request_Msg' (CHARACTER)
    (0x03000000:NameValue):Catalog              = 'BIPmsgs' (CHARACTER)
    (0x03000000:NameValue):Severity             = 3 (INTEGER)
    (0x03000000:NameValue):Number               = 2230 (INTEGER)
    (0x03000000:NameValue):Text                 = 'Caught exception and rethrowing' (CHARACTER)
    (0x01000000:Name     ):Insert               = (
      (0x03000000:NameValue):Type = 14 (INTEGER)
      (0x03000000:NameValue):Text = 'MonitoringEvents_MF.Build_HTTP_Request_Msg' (CHARACTER)
    )
    (0x01000000:Name     ):RecoverableException = (
      (0x03000000:NameValue):File                 = 'F:\build\slot1\S800_P\src\DataFlowEngine\ImbRdl\ImbR
dlStatementGroup.cpp' (CHARACTER)
      (0x03000000:NameValue):Line                 = 666 (INTEGER)
      (0x03000000:NameValue):Function             = 'SqlStatementGroup::execute' (CHARACTER)
      (0x03000000:NameValue):Type                 = 'ComIbmComputeNode' (CHARACTER)
      (0x03000000:NameValue):Name                 = 'MonitoringEvents_MF#FCMComposite_1_2' (CHARACTER)
      (0x03000000:NameValue):Label                = 'MonitoringEvents_MF.Build_HTTP_Request_Msg' (CHARACTER)
      (0x03000000:NameValue):Catalog              = 'BIPmsgs' (CHARACTER)
      (0x03000000:NameValue):Severity             = 3 (INTEGER)
      (0x03000000:NameValue):Number               = 2488 (INTEGER)
      (0x03000000:NameValue):Text                 = 'Error detected, rethrowing' (CHARACTER)
      (0x01000000:Name     ):Insert               = (
        (0x03000000:NameValue):Type = 5 (INTEGER)
        (0x03000000:NameValue):Text = '.MonitoringEvents_MF_Build_HTTP_Request_Msg.Main' (CHARACTER)
      )
      (0x01000000:Name     ):Insert               = (
        (0x03000000:NameValue):Type = 5 (INTEGER)
        (0x03000000:NameValue):Text = '22.6' (CHARACTER)
      )
      (0x01000000:Name     ):Insert               = (
        (0x03000000:NameValue):Type = 5 (INTEGER)
        (0x03000000:NameValue):Text = 'PROPAGATE TO TERMINAL 'out' FINALIZE DEFAULT DELETE DEFAULT;' (CHARACTER)
      )
      (0x01000000:Name     ):RecoverableException = (
        (0x03000000:NameValue):File                 = 'F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbWSRequestNode.cpp' (CHARACTER)
        (0x03000000:NameValue):Line                 = 1192 (INTEGER)
        (0x03000000:NameValue):Function             = 'ImbWSRequestNode::evaluate' (CHARACTER)
        (0x03000000:NameValue):Type                 = 'ComIbmWSRequestNode' (CHARACTER)
        (0x03000000:NameValue):Name                 = 'MonitoringEvents_MF#FCMComposite_1_3' (CHARACTER)
        (0x03000000:NameValue):Label                = 'MonitoringEvents_MF.HTTP_Request_C2F' (CHARACTER)
        (0x03000000:NameValue):Catalog              = 'BIPmsgs' (CHARACTER)
        (0x03000000:NameValue):Severity             = 3 (INTEGER)
        (0x03000000:NameValue):Number               = 2230 (INTEGER)
        (0x03000000:NameValue):Text                 = 'Caught exception and rethrowing' (CHARACTER)
        (0x01000000:Name     ):Insert               = (
          (0x03000000:NameValue):Type = 14 (INTEGER)
          (0x03000000:NameValue):Text = 'MonitoringEvents_MF.HTTP_Request_C2F' (CHARACTER)
        )
        (0x01000000:Name     ):RecoverableException = (
          (0x03000000:NameValue):File                 = 'F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbWSRequestNode.cpp' (CHARACTER)
          (0x03000000:NameValue):Line                 = 1106 (INTEGER)
          (0x03000000:NameValue):Function             = 'ImbWSRequestNode::evaluate' (CHARACTER)
          (0x03000000:NameValue):Type                 = '' (CHARACTER)
          (0x03000000:NameValue):Name                 = '' (CHARACTER)
          (0x03000000:NameValue):Label                = '' (CHARACTER)
          (0x03000000:NameValue):Catalog              = 'BIPmsgs' (CHARACTER)
          (0x03000000:NameValue):Severity             = 3 (INTEGER)
          (0x03000000:NameValue):Number               = 3162 (INTEGER)
          (0x03000000:NameValue):Text                 = 'WebService Request Exception' (CHARACTER)
          (0x01000000:Name     ):Insert               = (
            (0x03000000:NameValue):Type = 12 (INTEGER)
            (0x03000000:NameValue):Text = '436f6e74656e742d4c656e6774683a203337380d0a436f6e74656e742d547970
653a20746578742f786d6c3b20636861727365743d7574662d380d0a486f73743a2077656273657276696365732e646165686f737
4696e672e636f6d0d0a534f4150416374696f6e3a2022220d0a0d0a' (CHARACTER)
          )
          (0x01000000:Name     ):Insert               = (
            (0x03000000:NameValue):Type = 12 (INTEGER)
            (0x03000000:NameValue):Text = '3c3f786d6c2076657273696f6e3d22312e30223f3e3c736f6170656e763a456e76656c6
f706520786d6c6e733a736f6170656e763d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e766
56c6f70652f2220786d6c6e733a746e733d22687474703a2f2f77656273657276696365732e646165686f7374696e672e636f6d2f74
656d70657261747572652220786d6c6e733a7873643d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c53636865
6d612220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e737461
6e6365223e3c736f6170656e763a426f64793e3c746e733a43656c63697573546f46616872656e686569743e3c6e43656c63697573
3e32382e353c2f6e43656c636975733e3c2f746e733a43656c63697573546f46616872656e686569743e3c2f736f6170656e763a426
f64793e3c2f736f6170656e763a456e76656c6f70653e' (CHARACTER)
          )
          (0x01000000:Name     ):Insert               = (
            (0x03000000:NameValue):Type = 5 (INTEGER)
            (0x03000000:NameValue):Text = '' (CHARACTER)
          )
          (0x01000000:Name     ):Insert               = (
            (0x03000000:NameValue):Type = 5 (INTEGER)
            (0x03000000:NameValue):Text = '' (CHARACTER)
          )
          (0x01000000:Name     ):Insert               = (
            (0x03000000:NameValue):Type = 5 (INTEGER)
            (0x03000000:NameValue):Text = 'POST /services/TemperatureConversions.wso HTTP/1.0

' (CHARACTER)
          )
          (0x01000000:Name     ):RecoverableException = (
            (0x03000000:NameValue):File                   = 'F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbWSRequest.cpp' (CHARACTER)
            (0x03000000:NameValue):Line                   = 256 (INTEGER)
            (0x03000000:NameValue):Function               = 'ImbWSRequest::makeWSRequest' (CHARACTER)
            (0x03000000:NameValue):Type                   = '' (CHARACTER)
            (0x03000000:NameValue):Name                   = '' (CHARACTER)
            (0x03000000:NameValue):Label                  = '' (CHARACTER)
            (0x03000000:NameValue):Catalog                = 'BIPmsgs' (CHARACTER)
            (0x03000000:NameValue):Severity               = 3 (INTEGER)
            (0x03000000:NameValue):Number                 = 3152 (INTEGER)
            (0x03000000:NameValue):Text                   = 'A Web Service request has detected a SOCKET error whilst invoking a web service
 located at host &1, on port &2, on path &3.' (CHARACTER)
            (0x01000000:Name     ):Insert                 = (
              (0x03000000:NameValue):Type = 5 (INTEGER)
              (0x03000000:NameValue):Text = 'webservices.daehosting.com' (CHARACTER)
            )
            (0x01000000:Name     ):Insert                 = (
              (0x03000000:NameValue):Type = 2 (INTEGER)
              (0x03000000:NameValue):Text = '80' (CHARACTER)
            )
            (0x01000000:Name     ):Insert                 = (
              (0x03000000:NameValue):Type = 5 (INTEGER)
              (0x03000000:NameValue):Text = '/services/TemperatureConversions.wso' (CHARACTER)
            )
            (0x01000000:Name     ):SocketTimeoutException = (
              (0x03000000:NameValue):File     = 'F:\build\slot1\S800_P\src\CommonServices\ImbBasicSocket.cpp' (CHARACTER)
              (0x03000000:NameValue):Line     = 497 (INTEGER)
              (0x03000000:NameValue):Function = 'ImbBasicSocket::connectTimeout' (CHARACTER)
              (0x03000000:NameValue):Type     = '' (CHARACTER)
              (0x03000000:NameValue):Name     = '' (CHARACTER)
              (0x03000000:NameValue):Label    = '' (CHARACTER)
              (0x03000000:NameValue):Catalog  = 'BIPmsgs' (CHARACTER)
              (0x03000000:NameValue):Severity = 3 (INTEGER)
              (0x03000000:NameValue):Number   = 3151 (INTEGER)
              (0x03000000:NameValue):Text     = 'A timeout occurred whilst performing a socket operation' (CHARACTER)
              (0x01000000:Name     ):Insert   = (
                (0x03000000:NameValue):Type = 5 (INTEGER)
                (0x03000000:NameValue):Text = '::connect()' (CHARACTER)
              )
              (0x01000000:Name     ):Insert   = (
                (0x03000000:NameValue):Type = 2 (INTEGER)
                (0x03000000:NameValue):Text = '0' (CHARACTER)
              )
              (0x01000000:Name     ):Insert   = (
                (0x03000000:NameValue):Type = 5 (INTEGER)
                (0x03000000:NameValue):Text = 'The operation completed successfully.

' (CHARACTER)
              )
              (0x01000000:Name     ):Insert   = (
                (0x03000000:NameValue):Type = 2 (INTEGER)
                (0x03000000:NameValue):Text = '10000' (CHARACTER)
              )
            )
          )
        )
      )
    )
  )
)


In input node properties Monitoring i added only catch and failure terminals.

In Httprequestnode i gave

Web service URL as http://webservices.daehosting.com/services/TemperatureConversions.wso and

Request timeout as 10sec

I don't understand the problem....can anyone help me to solve this?


Thanks......
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 04, 2015 9:00 am    Post subject: Re: Message is not passing from HttpRequestnode in eventmoni Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

trinath wrote:
I don't understand the problem....can anyone help me to solve this?


The problem is likely that the URL existed when Mike wrote that article 6 years ago but:

trinath wrote:
(0x03000000:NameValue):Text = 'A timeout occurred whilst performing a socket operation' (CHARACTER)


implies that it's no longer there, or isn't working.

I would suggest you generate your own stub web service, or perhaps your own calling flow, and experiement with that. The concepts of monitoring (event messages and so forth) described are valid even if the sample has issues.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Mar 04, 2015 9:20 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The URL

http://webservices.daehosting.com/services/TemperatureConversions.wso

Does still exist. I just tried it. Here is what I see at the URL.

Code:



Visual DataFlex Web Service for Temperature Conversions

Visual DataFlex Web Service to convert temperature values between Celcius and Fahrenheit
The following operations are available. For a formal definition, please review the Service Description.

    CelciusToFahrenheit
    Converts a Celcius Temperature to a Fahrenheit value

    FahrenheitToCelcius
    Converts a Fahrenheit Temperature to a Celcius value

    WindChillInCelcius
    Windchill temperature calculated with the formula of Steadman

    WindChillInFahrenheit
    Windchill temperature calculated with the formula of Steadman

PErhaps your company firewall might be blocking the address.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 04, 2015 9:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

smdavies99 wrote:

PErhaps your company firewall might be blocking the address.


Interesting. I can't get to it, and I normally get a contact admin from accessing a blocked site.

I stand by the advice to create a local stub if all the OP wants to do is experiement with event messages.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
trinath
PostPosted: Wed Mar 04, 2015 10:30 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2014
Posts: 34

Hi Vitor,

I just changed the Web service and tried.

It's showing the same error like


Code:
ExceptionList
   RecoverableException
         File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\ImbDataFlowNode.cpp
         Line:INTEGER:1154
         Function:CHARACTER:ImbDataFlowNode::createExceptionList
         Type:CHARACTER:ComIbmMQInputNode
         Name:CHARACTER:MonitoringEvents_MF#FCMComposite_1_1
         Label:CHARACTER:MonitoringEvents_MF.QIN
         Catalog:CHARACTER:BIPmsgs
         Severity:INTEGER:3
         Number:INTEGER:2230
         Text:CHARACTER:Node throwing exception
         Insert
               Type:INTEGER:14
               Text:CHARACTER:MonitoringEvents_MF.QIN
         RecoverableException
               File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\ImbComputeNode.cpp
               Line:INTEGER:497
               Function:CHARACTER:ImbComputeNode::evaluate
               Type:CHARACTER:ComIbmComputeNode
               Name:CHARACTER:MonitoringEvents_MF#FCMComposite_1_2
               Label:CHARACTER:MonitoringEvents_MF.Build_HTTP_Request_Msg
               Catalog:CHARACTER:BIPmsgs
               Severity:INTEGER:3
               Number:INTEGER:2230
               Text:CHARACTER:Caught exception and rethrowing
               Insert
                     Type:INTEGER:14
                     Text:CHARACTER:MonitoringEvents_MF.Build_HTTP_Request_Msg
               RecoverableException
                     File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\ImbRdl\ImbRdlStatementGroup.cpp
                     Line:INTEGER:666
                     Function:CHARACTER:SqlStatementGroup::execute
                     Type:CHARACTER:ImbESQLManager
                     Name:CHARACTER:ImbESQLManager
                     Label:CHARACTER:ImbESQLManager
                     Catalog:CHARACTER:BIPmsgs
                     Severity:INTEGER:3
                     Number:INTEGER:2488
                     Text:CHARACTER:Error detected, rethrowing
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:.MonitoringEvents_MF_Build_HTTP_Request_Msg.Main
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:23.6
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:PROPAGATE TO TERMINAL 'out' FINALIZE DEFAULT DELETE DEFAULT;
                     RecoverableException
                           File:CHARACTER:F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbWSRequestNode.cpp
                           Line:INTEGER:1192
                           Function:CHARACTER:ImbWSRequestNode::evaluate
                           Type:CHARACTER:ComIbmWSRequestNode
                           Name:CHARACTER:MonitoringEvents_MF#FCMComposite_1_3
                           Label:CHARACTER:MonitoringEvents_MF.HTTP_Request_C2F
                           Catalog:CHARACTER:BIPmsgs
                           Severity:INTEGER:3
                           Number:INTEGER:2230
                           Text:CHARACTER:Caught exception and rethrowing
                           Insert
                                 Type:INTEGER:14
                                 Text:CHARACTER:MonitoringEvents_MF.HTTP_Request_C2F
                           RecoverableException
                                 File:CHARACTER:F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbWSRequestNode.cpp
                                 Line:INTEGER:1106
                                 Function:CHARACTER:ImbWSRequestNode::evaluate
                                 Type:CHARACTER:
                                 Name:CHARACTER:
                                 Label:CHARACTER:
                                 Catalog:CHARACTER:BIPmsgs
                                 Severity:INTEGER:3
                                 Number:INTEGER:3162
                                 Text:CHARACTER:WebService Request Exception
                                 Insert
                                       Type:INTEGER:12
                                       Text:CHARACTER:436f6e74656e742d4c656e6774683a203337380d0a436f6e74656e742d547970653a20746578742f786d6c3b2063686172736574
3d7574662d380d0a486f73743a206c6f63616c686f73743a373038300d0a534f4150416374696f6e3a2022220d0a0d0a
                                 Insert
                                       Type:INTEGER:12
                                       Text:CHARACTER:3c3f786d6c2076657273696f6e3d22312e30223f3e3c736f6170656e763a456e76656c6f706520786d6c6e733a736f6170656e763d
22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f2220786d6c6e733a746e733d22687474703a2f2
f77656273657276696365732e646165686f7374696e672e636f6d2f74656d70657261747572652220786d6c6e733a7873643d22687474703a2f2f7777
772e77332e6f72672f323030312f584d4c536368656d612220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d
4c536368656d612d696e7374616e6365223e3c736f6170656e763a426f64793e3c746e733a43656c63697573546f46616872656e686569743e3c6e43
656c636975733e32382e353c2f6e43656c636975733e3c2f746e733a43656c63697573546f46616872656e686569743e3c2f736f6170656e763a426f64
793e3c2f736f6170656e763a456e76656c6f70653e
                                 Insert
                                       Type:INTEGER:5
                                       Text:CHARACTER:
                                 Insert
                                       Type:INTEGER:5
                                       Text:CHARACTER:
                                 Insert
                                       Type:INTEGER:5
                                       Text:CHARACTER:POST /Eventmonitoring HTTP/1.0

                                 RecoverableException
                                       File:CHARACTER:F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbWSRequest.cpp
                                       Line:INTEGER:256
                                       Function:CHARACTER:ImbWSRequest::makeWSRequest
                                       Type:CHARACTER:
                                       Name:CHARACTER:
                                       Label:CHARACTER:
                                       Catalog:CHARACTER:BIPmsgs
                                       Severity:INTEGER:3
                                       Number:INTEGER:3152
                                       Text:CHARACTER:A Web Service request has detected a SOCKET error whilst invoking a web service located at host &1, on port &2, on path &3.
                                       Insert
                                             Type:INTEGER:5
                                             Text:CHARACTER:localhost
                                       Insert
                                             Type:INTEGER:2
                                             Text:CHARACTER:7080
                                       Insert
                                             Type:INTEGER:5
                                             Text:CHARACTER:/Eventmonitoring
                                       SocketException
                                             File:CHARACTER:F:\build\slot1\S800_P\src\CommonServices\ImbBasicSocket.cpp
                                             Line:INTEGER:510
                                             Function:CHARACTER:ImbBasicSocket::connectTimeout
                                             Type:CHARACTER:
                                             Name:CHARACTER:
                                             Label:CHARACTER:
                                             Catalog:CHARACTER:BIPmsgs
                                             Severity:INTEGER:3
                                             Number:INTEGER:3150
                                             Text:CHARACTER:An error occurred whilst performing a socket operation: getsockopt
                                             Insert
                                                   Type:INTEGER:5
                                                   Text:CHARACTER:::connect::select()
                                             Insert
                                                   Type:INTEGER:2
                                                   Text:CHARACTER:10061
                                             Insert
                                                   Type:INTEGER:5
                                                   Text:CHARACTER:No connection could be made because the target machine actively refused it.



Thanks...........
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Mar 04, 2015 10:47 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Code:

                                       Insert
                                             Type:INTEGER:5
                                             Text:CHARACTER:localhost
                                       Insert
                                             Type:INTEGER:2
                                             Text:CHARACTER:7080


What does this tell you?

Perhaps you should generate a stub consumer as Vitor suggests. I ALWAYS do this when developing flows that use WebService Nodes. Then I can debug it all locally before attempting to connect to an external WebService.

TraceNodes are also very useful in sorting this sort of stuff out but that is my preference and my aversion to the Debugger is well know in this forum.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message is not passing from HttpRequestnode in eventmonitrng
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.