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 » Problem Configuring HTTP Request node in Message Broker V6.0

Post new topic  This topic is locked: you cannot edit posts or make replies.
 Problem Configuring HTTP Request node in Message Broker V6.0 « View previous topic :: View next topic » 
Author Message
vikas.bhu
PostPosted: Wed Oct 06, 2010 10:47 pm    Post subject: Problem Configuring HTTP Request node in Message Broker V6.0 Reply with quote

Disciple

Joined: 17 May 2009
Posts: 159

Hi

I am facing Problem while calling a HTTPS interface.
We have webservice over HTTPS which is accessed through a firewall.

I have configured HTTP Request node for SSL, below are the steps I did.

1. I have added our certificates in D:\Program Files\IBM\MQSI\6.0\jre\lib\security\cacerts.
2. Update the mqsiprofile.cmd to add the following environment
variables with the location of the keystore and the password –
IBM_JAVA_OPTIONS=
-Djavax.net.ssl.keyStore=<keystore_path>/<keystore_filename>
-Djavax.net.ssl.keyStorePassword=<keystore_password>

3. Created flow to invoke a webservive using HTTPRequest Node

Got following error on trace.

Exception:

( ['MQROOT' : 0x126170400]
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S600_P\src\DataFlowEngine\ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000):Line = 616 (INTEGER)
(0x03000000):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000):Type = 'ComIbmWSRequestNode' (CHARACTER)
(0x03000000):Name = 'com/xcs/aop2194/trigger/ProcessTriggeredHTTPSInterfaces_Batch_Initiation#FCMComposite_1_6' (CHARACTER)
(0x03000000):Label = 'com.xcs.aop2194.trigger.ProcessTriggeredHTTPSInterfaces_Batch_Initiation.PhysicalInstall_HTTPS' (CHARACTER)
(0x03000000):Catalog = 'BIPv600' (CHARACTER)
(0x03000000):Severity = 3 (INTEGER)
(0x03000000):Number = 2230 (INTEGER)
(0x03000000):Text = 'Node throwing exception' (CHARACTER)
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S600_P\src\WebServices\WSLibrary\ImbWSRequestNode.cpp' (CHARACTER)
(0x03000000):Line = 792 (INTEGER)
(0x03000000):Function = 'ImbWSRequestNode::evaluate' (CHARACTER)
(0x03000000):Type = '' (CHARACTER)
(0x03000000):Name = '' (CHARACTER)
(0x03000000):Label = '' (CHARACTER)
(0x03000000):Catalog = 'BIPv600' (CHARACTER)
(0x03000000):Severity = 3 (INTEGER)
(0x03000000):Number = 3162 (INTEGER)
(0x03000000):Text = 'WebService Request Exception' (CHARACTER)
(0x01000000):Insert = (
(0x03000000):Type = 12 (INTEGER)
(0x03000000):Text = '436f6e74656e742d4c656e6774683a203533380d0a436f6e74656e742d547970653a20746578742f786d6c3b20636861727365743d7574662d380d0a486f73743a20696e7465726e616c2e776562737276732e7865726f782e636f6d3a383434330d0a534f4150416374696f6e3a2022220d0a0d0a' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 12 (INTEGER)
(0x03000000):Text = '3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e3c736f61703a456e76656c6f706520786d6c6e733a736f61703d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f2220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e7374616e63652220786d6c6e733a7873643d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d61223e3c736f61703a426f64793e3c717069733a5175657279506879736963616c496e7374616c6c20786d6c6e733a717069733d22687474703a2f2f786d6c2e6e616d657370616365732e7865726f782e636f6d2f696d2f7869702f73657276696365732f7175657279706879736963616c696e7374616c6c2f7773646c223e3c5849504d6573736167653e3c5849504865616465723e3c4170706c69636174696f6e49443e41303133373c2f4170706c69636174696f6e49443e3c2f5849504865616465723e3c584950426f64793e3c496e7075743e3c53657269616c4e756d3e3856453035303038323c2f53657269616c4e756d3e3c2f496e7075743e3c2f584950426f64793e3c2f5849504d6573736167653e3c2f717069733a5175657279506879736963616c496e7374616c6c3e3c2f736f61703a426f64793e3c2f736f61703a456e76656c6f70653e' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = '' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = '' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'POST /S0222_QueryPhysicalInstallService/servlet/messagerouter HTTP/1.0

' (CHARACTER)
)
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S600_P\src\WebServices\WSLibrary\ImbWSRequest.cpp' (CHARACTER)
(0x03000000):Line = 558 (INTEGER)
(0x03000000):Function = 'ImbWSRequest::makeWSRequest' (CHARACTER)
(0x03000000):Type = '' (CHARACTER)
(0x03000000):Name = '' (CHARACTER)
(0x03000000):Label = '' (CHARACTER)
(0x03000000):Catalog = 'BIPv600' (CHARACTER)
(0x03000000):Severity = 3 (INTEGER)
(0x03000000):Number = 3152 (INTEGER)
(0x03000000):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):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'internal.websrvs.abc.com' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 2 (INTEGER)
(0x03000000):Text = '8443' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = '/S0222_QueryPhysicalInstallService/servlet/messagerouter' (CHARACTER)
)
(0x01000000):SocketException = (
(0x03000000):File = 'F:\build\S600_P\src\WebServices\WSLibrary\ImbSocket.cpp' (CHARACTER)
(0x03000000):Line = 2100 (INTEGER)
(0x03000000):Function = 'ImbSocketJNIManager::handleGeneralJavaException' (CHARACTER)
(0x03000000):Type = '' (CHARACTER)
(0x03000000):Name = '' (CHARACTER)
(0x03000000):Label = '' (CHARACTER)
(0x03000000):Catalog = 'BIPv600' (CHARACTER)
(0x03000000):Severity = 3 (INTEGER)
(0x03000000):Number = 3165 (INTEGER)
(0x03000000):Text = 'An error occurred whilst performing an SSL socket operation' (CHARACTER)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'createSocket' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'java.net.SocketException: Unconnected sockets not implemented' (CHARACTER)
)
)
)
)
)
)

Could you please help.
Back to top
View user's profile Send private message Send e-mail
crossland
PostPosted: Fri Oct 08, 2010 1:49 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

Unfortunately, the ''An error occurred whilst performing an SSL socket operation' isn't all that helpful.

If you are using JRE 150 / 160, try the following -

export IBM_JAVA_OPTIONS=-Djavax.net.debug=true
Restart the broker.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 08, 2010 2:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Best place to start is with the most recent fixpack of 6.0.0.0, make sure you are at least running 6.0.0.10.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Oct 18, 2010 4:16 am    Post subject: Reply with quote

Grand High Poobah

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

Locked as a double post of this
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem Configuring HTTP Request node in Message Broker V6.0
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.