Click on Lock & Edit in the Change Center to modify the settings for the sun-jms-adapter.
Click Deployments from the Domain tree structure and navigate to the sun-jms-adapter.
The state of the deployed application changes from Active state to Prepared state.
Click on sun-jms-adapter.
On the Settings for sun-jms-adapter page, click the Configuration- Tab. This selection defaults to the Outbound Connection Pools tab.
Click New from the Outbound Connection Pool Configuration Table. You can create an instance for the resource adapter to display the Outbound Connection Groups.
Choose any one of the following Outbound Connection Groups to create an instance.
On the Create a New Outbound Connection page, enter the JNDI name that is needed to obtain the new connection instance.
For example, the JNDI Name can be either SunMQConnectionPool or SunSTCMSConnectionPool or SunJMSGridConnection Pool.
In the current example, enter the JNDI Name as SunMQConnectionPool. Click Finish.
This field is mandatory.
This displays the Save Deployment Plan page. You can save the new deployment plan on this page, if the configuration has changed. Select a directory to receive these files (for example, select jmsjca) and click Finish.
A confirmation message appears on the right panel of the screen.
A new deployment plan has been successfully created in root\JavaCAPs6\appserver\addons\ caps\common\jmsjca\Plan.xml |
Click on Activate Changes in the Change Center.
The following message appears on the right panel of the screen.
All changes have been activated. No restarts are necessary |
Click on Lock & Edit in the Change Center to modify the settings for the sun-jms-adapter.
Click Deployments from the Domain tree structure and navigate to the sun-jms-adapter.
Click on sun-jms-adapter.
On the Settings for sun-jms-adapter page, click on the Configuration- Tab. The selection defaults to the Outbound Connection Pools tab.
Expand the javax.jms.QueueConnectionFactory in the Outbound Connection Pool Configuration Table to see the newly created JNDI.
In the current example, it is SunMQConnectionPool
Click on SunMQConnectionPool.
On the Settings for SunMQConnectionPool page, set the following list of parameters with specified values in Outbound Connection Properties table (that is, fill values according to the message provider),
Set the Property Value for the JMQ ConnectionURL property as mq://host:port|7676/jms
Provide the Password and UserName to connect to JMQ.
The default Password is guest and the default UserName is guest.
Set the Property Value for the STCMS ConnectionURL property as stcms://host:port|18007
Provide the Password and UserName to connect to JMQ.
The default Password is adminadmin and the default UserName is admin.
Set the Property Value for the ConnectionURL property as tcp://host:port|50607
Provide the Password and UserName to connect to JMQ.
The default Password is admin and the default UserName is admin.
The following message appears on the right panel of the screen after completing the above steps.
Deployment plan has been successfully updated |
Provide the same UserName and Password as defined in the Optional Settings screen.
Click Save after every entry.
This completes setting the properties for the Connector Outbound Connection Configuration Properties table.
Follow the Deployments link and update the properties for the sun-jms-adapter. Activate the changes on the WebLogic Server Administration Console.
Place the following .jar files in the weblogic lib directory based on the selected message provider
imq.jar (for SunJMQ)
For example, place the .jar file from the following class path root:\JavaCAPS6\appserver\imq\lib\imq.jar to root:\bea\wlserver_10.0\server\lib which is now available for WebLogic. This establishes communication with the SunJMQ provider
wave.jar (for SunJMSGrid)
com.stc.jms.stcjms.jar (JMS IQ Manager)
Restart the Weblogic Appserver.
Execute the non-caps Application. Send a message to a particular configured message provider.
As Weblogic 9.2 doesn't support editing an URL (that is, In Outbound Connection Properties), the XML file has to be edited accordingly.