Supported Encodings Oracle MQ Series Adapter Concepts

10-52 Oracle Fusion Middleware Users Guide for Technology Adapters ■ ibm930 ■ SJIS ■ ibm933 ■ ibm935 ■ ibm937 ■ ibm939 ■ ibm942 ■ ibm948 ■ ibm949 ■ ibm950 ■ EUCJIS ■ ibm964 ■ ibm970 ■ ibm1006 ■ ibm1025 ■ ibm1026 ■ ibm1089 ■ ibm1097 ■ ibm1098 ■ ibm1112 ■ ibm1122 ■ ibm1123 ■ ibm1124 ■ Cp1250 ■ Cp1251 ■ Cp1252 ■ Cp1253 ■ Cp1254 ■ Cp1255 ■ Cp1256 ■ Cp1257 ■ Cp1258 ■ ibm1381 ■ ibm1383 ■ JIS ■ KSC5601 ■ ibm33722813 Oracle JCA Adapter for MQ Series 10-53 ■ GB18030 You can add support for the other standard Java encodings that are not provided in above list, as follows: 1. Extract the MQSeriesAdapter.jar file from the MQSeriesAdapter.rar file. 2. Extract the mq.properties file from the MQSeriesAdapter.jar file. 3. Add the entry in the mq.properties file. For each new encoding, you must add two lines properties to the mq.properties file. One line for the MQ Series encoding to the corresponding Java encoding and other line for the Java encoding to the corresponding MQ Series encoding. For example, to add support for the following ibm037 Java encoding:ibm037 Java encoding-37 MQ Series message encoding, you must add the following two lines to the mq.properties file: oracle.tip.adapter.mq.encoding.37=ibm037 oracle.tip.adapter.mq.encoding.ibm037=37

10.5 Configuring the Oracle MQ Series Adapter

The prerequisites for using the Oracle MQ Series Adapter are: ■ IBM WebSphere MQ server should be installed and running. ■ A queue manager and a server connection channel should be created. To configure the Oracle MQ Series Adapter, perform the following: ■ Adding jar Files to the Oracle MQ Series Adapter Classpath: MQ Series 6 and 7 ■ Adding JNDI Entry ■ Enabling Binding Mode for Connections

10.5.1 Adding jar Files to the Oracle MQ Series Adapter Classpath: MQ Series 6 and 7

The steps in this section should be performed only once, before using the Oracle MQ Series Adapter. To add correct jar properties to the classpath for the Oracle MQ Series 6 Adapter, copy the following jars to DOMAIN_HOMElib folder ■ com.ibm.mq.jar com.ibm.mqetclient.jar for use with XA To add correct jar properties to the classpath for the Oracle MQ Series 7 Adapter, copy the following jars to DOMAIN_HOMElib folder ■ com.ibm.mq.commonservices.jar ■ com.ibm.mq.jar ■ com.ibm.mq.pcf.jar ■ com.ibm.mq.headers.jar Note: You must create queues based on the requirement of the application. 10-54 Oracle Fusion Middleware Users Guide for Technology Adapters ■ com.ibm.mq.jmqi.jar ■ com.ibm.mqetclient.jar for use with XA In addition, if you are using the Oracle MQ Series 7 Adapter , the new SharingConversation property of the MQ Series 7 Server Connection Channel has to be to set to zero.

10.5.2 Adding JNDI Entry

You can add a new jndi entry in the Oracle WebLogic Server Administration Console by following these steps: 1. Log in to the following URL using the usernamepassword to open the Oracle WebLogic Server Administration Console: http:localhost:portconsole The Home page is displayed, as shown in Figure 10–31 . Figure 10–31 Oracle WebLogic Administration Console Home Page

2. Under Domain Structure, in the left pane, click Deployments. The Summary of

Deployments page is displayed.

3. Click MQSeriesAdapter. The Settings of MQSeriesAdapter page is displayed, as

shown in Figure 10–32 . Oracle JCA Adapter for MQ Series 10-55 Figure 10–32 Settings of MQSeriesAdapter Page

4. Click the Configuration tab. The Configuration sub-menu options are displayed,

as shown in Figure 10–33 . Figure 10–33 Settings of MQSeriesAdapter Page - Configuration Sub-Menu Options

5. Click Outbound Connection Pools. The Outbound Connection Pool

Configuration Table is displayed, as shown in Figure 10–34 . Figure 10–34 Outbound Connection Pool Configuration Table

6. Click New. The Create a New Outbound Connection page is displayed, as shown

in Figure 10–35 .