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 » General IBM MQ Support » XMS client for .NET

Post new topic  Reply to topic
 XMS client for .NET « View previous topic :: View next topic » 
Author Message
PieterV
PostPosted: Fri Apr 07, 2006 12:18 am    Post subject: XMS client for .NET Reply with quote

Disciple

Joined: 04 Jan 2006
Posts: 164
Location: Belgium

Hello,

mvic told me in this forum about a supportpack XMS client for .NET
(it can be found on http://www.ibm.com/support/docview.wss?rs=171&uid=swg24011756)

I have installed it, created the JMS queues and wish to start the sample.
I the sample readme i says i can use a WMQ Queue manager on port 1414 to test the sample (so no need of an broker).

But when i start the sample (using tools/samples/bin/xmsdemo) i am prompted for certain properties and there i goes wrong, my knowledge about JMS is low and i don't know what i must give for the properties.

the properties are ( i take the default values unless for bus name, there i take 1414):

Code:

Producer:
Desired mode to run this sample application [simple]:
Enter connection type [wpm]:
Enter provider endpoints [localhost:7276:BootstrapBasicMessaging]:
Enter target transport chain [InboundBasicMessaging]:
Enter bus name (mandatory): 1414
Enter destination URI [topic://xms/test]:
Your message (optional): test
Connection Factory created.


After this it goes wrong:

Code:

Exception  : IBM.XMS.Core.SIResourceException: CWSIT0006E: It is not possible to
 connect to bus 1414 because the following bootstrap servers could not be contac
ted  localhost:7276:BootstrapBasicMessaging and the following bootstrap servers
returned an error condition . See previous messages for the reason for each boot
strap server failure. The client cannot connect to the bus. This situation may b
e due to configuration problems, network problems or it may be that none of the
required bootstrap servers or messaging engines are currently available. Ensure
that the network is working correctly and that the required bootstrap servers an
d messaging engines are available. ---> System.Net.Sockets.SocketException: No c
onnection could be made because the target machine actively refused it
   at IBM.XMS.Comms.Channels.SocketChannelFactory.MakeSocket(ConnectionTarget ta
rget)
   at IBM.XMS.Comms.Channels.SocketChannelFactory.CreateChannel()
   at IBM.XMS.Comms.ChannelFactory.CreateOutboundChannel(ConnectionTarget target
)
   at IBM.XMS.SIB.JFAP.ClientConnectionTracker.MakeConnection(ConnectionTarget t
arget)
   at IBM.XMS.SIB.JFAP.ClientConnectionTracker.Connect(IPEndPoint remoteHost, IC
onversationReceiveListener convRecvListener, TransportChain transportType)
   at IBM.XMS.SIB.JFAP.ClientConversationFactory.Connect(EndPoint remoteHost, IC
onversationReceiveListener conversationReceiveListener, TransportChain transport
)
   at IBM.XMS.SIB.Comms.Client.ClientSideConnection.Connect(ConnectionProperties
 cp, IClientComponentHandshake cch, SICoreConnectionProperties siProps)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.Bootstrap(Credentials crede
ntials, SICoreConnectionProperties connectionProperties, ClientAttachProperties
cap)
   --- End of inner exception stack trace ---
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.Bootstrap(Credentials crede
ntials, SICoreConnectionProperties connectionProperties, ClientAttachProperties
cap)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.CreateConnection(Credential
s credentials, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactory.CreateConnection(String usernam
e, String password, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.Impl.ConnectionFactory.CreateConnection(String userName, String pa
ssword)
FFDC to xmsffdc2300_2006.04.07T10.14.08.950163.txt
XMSException caught: IBM.XMS.XMSException: CWSIA0241E: An exception was received
 during the call to the method ConnectionFactory.CreateConnection: IBM.XMS.Core.
SIResourceException: CWSIT0006E: It is not possible to connect to bus 1414 becau
se the following bootstrap servers could not be contacted  localhost:7276:Bootst
rapBasicMessaging and the following bootstrap servers returned an error conditio
n . See previous messages for the reason for each bootstrap server failure. The
client cannot connect to the bus. This situation may be due to configuration pro
blems, network problems or it may be that none of the required bootstrap servers
 or messaging engines are currently available. Ensure that the network is workin
g correctly and that the required bootstrap servers and messaging engines are av
ailable. ---> System.Net.Sockets.SocketException: No connection could be made be
cause the target machine actively refused it
   at IBM.XMS.Comms.Channels.SocketChannelFactory.MakeSocket(ConnectionTarget ta
rget)
   at IBM.XMS.Comms.Channels.SocketChannelFactory.CreateChannel()
   at IBM.XMS.Comms.ChannelFactory.CreateOutboundChannel(ConnectionTarget target
)
   at IBM.XMS.SIB.JFAP.ClientConnectionTracker.MakeConnection(ConnectionTarget t
arget)
   at IBM.XMS.SIB.JFAP.ClientConnectionTracker.Connect(IPEndPoint remoteHost, IC
onversationReceiveListener convRecvListener, TransportChain transportType)
   at IBM.XMS.SIB.JFAP.ClientConversationFactory.Connect(EndPoint remoteHost, IC
onversationReceiveListener conversationReceiveListener, TransportChain transport
)
   at IBM.XMS.SIB.Comms.Client.ClientSideConnection.Connect(ConnectionProperties
 cp, IClientComponentHandshake cch, SICoreConnectionProperties siProps)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.Bootstrap(Credentials crede
ntials, SICoreConnectionProperties connectionProperties, ClientAttachProperties
cap)
   --- End of inner exception stack trace ---
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.Bootstrap(Credentials crede
ntials, SICoreConnectionProperties connectionProperties, ClientAttachProperties
cap)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.CreateConnection(Credential
s credentials, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactory.CreateConnection(String usernam
e, String password, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.Impl.ConnectionFactory.CreateConnection(String userName, String pa
ssword). During execution of the specified method an exception was thrown by ano
ther component. See the linked exception for more information.
   at IBM.XMS.Impl.ConnectionFactory.CreateConnection(String userName, String pa
ssword)
   at IBM.XMS.Samples.SampleProducer.SendMessages()
   at IBM.XMS.Samples.SampleProducer.Main(String[] args)

Linked Exception : IBM.XMS.Core.SIResourceException: CWSIT0006E: It is not possi
ble to connect to bus 1414 because the following bootstrap servers could not be
contacted  localhost:7276:BootstrapBasicMessaging and the following bootstrap se
rvers returned an error condition . See previous messages for the reason for eac
h bootstrap server failure. The client cannot connect to the bus. This situation
 may be due to configuration problems, network problems or it may be that none o
f the required bootstrap servers or messaging engines are currently available. E
nsure that the network is working correctly and that the required bootstrap serv
ers and messaging engines are available. ---> System.Net.Sockets.SocketException
: No connection could be made because the target machine actively refused it
   at IBM.XMS.Comms.Channels.SocketChannelFactory.MakeSocket(ConnectionTarget ta
rget)
   at IBM.XMS.Comms.Channels.SocketChannelFactory.CreateChannel()
   at IBM.XMS.Comms.ChannelFactory.CreateOutboundChannel(ConnectionTarget target
)
   at IBM.XMS.SIB.JFAP.ClientConnectionTracker.MakeConnection(ConnectionTarget t
arget)
   at IBM.XMS.SIB.JFAP.ClientConnectionTracker.Connect(IPEndPoint remoteHost, IC
onversationReceiveListener convRecvListener, TransportChain transportType)
   at IBM.XMS.SIB.JFAP.ClientConversationFactory.Connect(EndPoint remoteHost, IC
onversationReceiveListener conversationReceiveListener, TransportChain transport
)
   at IBM.XMS.SIB.Comms.Client.ClientSideConnection.Connect(ConnectionProperties
 cp, IClientComponentHandshake cch, SICoreConnectionProperties siProps)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.Bootstrap(Credentials crede
ntials, SICoreConnectionProperties connectionProperties, ClientAttachProperties
cap)
   --- End of inner exception stack trace ---
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.Bootstrap(Credentials crede
ntials, SICoreConnectionProperties connectionProperties, ClientAttachProperties
cap)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.CreateConnection(Credential
s credentials, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactory.CreateConnection(String usernam
e, String password, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.Impl.ConnectionFactory.CreateConnection(String userName, String pa
ssword)
Stack Trace:
    at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.Bootstrap(Credentials cred
entials, SICoreConnectionProperties connectionProperties, ClientAttachProperties
 cap)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactoryImpl.CreateConnection(Credential
s credentials, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.SIB.Trm.TrmSICoreConnectionFactory.CreateConnection(String usernam
e, String password, SICoreConnectionProperties connectionProperties)
   at IBM.XMS.Impl.ConnectionFactory.CreateConnection(String userName, String pa
ssword)
Sample execution  FAILED!


In other words, the parameters i give are wrong.

Has anybody tried this already? What should i give in as parameter?
The QMGR that contains the JMS Queus runs on localhost:1414 and is named P_LOCAL.

thx
Back to top
View user's profile Send private message
PieterV
PostPosted: Fri Apr 07, 2006 12:23 am    Post subject: Reply with quote

Disciple

Joined: 04 Jan 2006
Posts: 164
Location: Belgium

my excuses, i found the solution
The connection type should be wmq

Enter connection type [wpm]: wmq
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 » General IBM MQ Support » XMS client for .NET
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.