Point-to-point verification without JNDI

 

A script, named IVTRun on UNIX, or IVTRun.bat on Windows systems, is provided to run the IVT. This file is installed in the bin subdirectory of the installation.

To run the test without JNDI, issue the following command:

IVTRun [-t] -nojndi [-m <qmgr>]

For client mode, to run the test without JNDI, issue the following command:

IVTRun [-t] -nojndi -client -m <qmgr> -host <hostname> [-port <port>] 
              [-channel <channel>]
where:

-t

turns tracing on (by default, tracing is off)

qmgr

is the name of the queue manager to which you want to connect

hostname

is the host on which the queue manager is running

port

is the TCP/IP port on which the queue manager's listener is running (default 1414)

channel

is the client connection channel (default SYSTEM.DEF.SVRCONN)

If the test completes successfully, you should see output similar to the following:

5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights Reserved.
Websphere MQ classes for Java(tm) Message Service 6.0
Installation Verification Test


Creating a QueueConnectionFactory
Creating a Connection
Creating a Session
Creating a Queue
Creating a QueueSender
Creating a QueueReceiver
Creating a TextMessage
Sending the message to SYSTEM.DEFAULT.LOCAL.QUEUE
Reading the message back again

Got message:
JMS Message class: jms_text
  JMSType:         null
  JMSDeliveryMode: 2
  JMSExpiration:   0
  JMSPriority:     4
  JMSMessageID:    ID:414d5120514d5f63616c6c616e6169734286ac4120000a02
  JMSTimestamp:    1101826963911
  JMSCorrelationID:null
  JMSDestination:  queue:///SYSTEM.DEFAULT.LOCAL.QUEUE
  JMSReplyTo:      null
  JMSRedelivered:  false
  JMS_IBM_PutDate:20041130
  JMSXAppID:WebSphere MQ Client for Java
  JMS_IBM_Format:MQSTR
  JMS_IBM_PutApplType:28
  JMS_IBM_MsgType:8
  JMSXUserID:mwhite
  JMS_IBM_PutTime:15024393
  JMSXDeliveryCount:1
A simple text message from the MQJMSIVT program
Reply string equals original string
Closing QueueReceiver
Closing QueueSender
Closing Session
Closing Connection
IVT completed OK
IVT finished


uj10690_