Install WebSphere MQ for iSeries
The embedded JMS support for WAS uses the WebSphere MQ product. The WebSphere MQ product and WebSphere MQ classes for Java and JMS product are included with the WAS product. The default installation options install both WAS and WebSphere MQ.
If you did not install WebSphere MQ and WebSphere MQ classes for Java and JMS when you installed WAS, install them before you can use the embedded JMS support. When you install WebSphere MQ and WebSphere MQ classes for Java and JMS, install only the WebSphere MQ and WebSphere MQ classes for Java and JMS products.
To install only WebSphere MQ and WebSphere MQ classes for Java and JMS from the CD-ROM drive of your iSeries server, perform these steps:
- Place the WAS 5.0 for iSeries CD-ROM in the CD-ROM drive of your iSeries server.
- Use either of these options to install the products:
- From Qshell, run this command:
SETUP -was -skip true- From the OS/400 command line, run this command:
RUNJVA CLASS(SETUP) PARM('-was' '-skip' 'true') CLASSPATH('/QIBM/ProdData/OS400/jt400/lib/jt400Native.jar: /QOPT/WEBSPHERE/OS400:/tmp/WebSphere/WS5INSTALL.JAR') PROP((os400.runtime.exec QSHELL) (java.version 1.3))Note: This command has been wrapped for display purposes. Enter it as one command.
To install only WebSphere MQ and WebSphere MQ classes for Java and JMS from the CD-ROM drive of a workstation, perform these steps:
- Place the WAS 5.0 for iSeries CD-ROM in the CD-ROM drive on the workstation.
- Use either of these options to install the products:
- Use the graphical user interface:
Select the options to install WebSphere MQ and WebSphere MQ classes for Java and JMS. Do not install WAS.- Install from the silent response file:
- Copy the RESPONSEFILE file from the CD-ROM directory to a directory on your workstation. For example, to copy the file to the c:\temp directory, run this command from a command prompt:
copy RESPONSEFILE c:\temp\RESPONSEFILE- Edit the response file to specify this parameter:
-W WASSelectBean.skip = "true"- To start the installation, run this command from a command prompt:
SETUP -options responsefilewhere responsefile is the fully qualified path of the modified RESPONSEFILE file.
For complete installation instructions, follow the process details in Installation of WAS for iSeries.
After you install WebSphere MQ and the WebSphere MQ classes for Java and JMS, enable the embedded JMS provider for WAS instances. To enable the embedded JMS provider, run this command from a Qshell command line:
/QIBM/ProdData/WebAS5/Base/bin/chgwassvr -instance instance -server server -embeddedjms yeswhere instance is the name of your instance and server is the name of the application server in the specified instance. For example, to enable the embedded JMS provider for the default application server in the default instance, run this command:
/QIBM/ProdData/WebAS5/Base/bin/chgwassvr -instance default -server server1 -embeddedjms yesFor more information, see The chgwassvr script in the Administration topic.