Skip Headers
Oracle® Application Server Integration InterConnect Adapter for WebSphere MQ Installation and User's Guide
10g Release 2 (10.1.2)
B14072-02
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

A Frequently Asked Questions

This appendix provides answers to following frequently asked questions about the WebSphere MQ adapter.

How do I know the WebSphere MQ adapter has started properly?

View the log.xml file located in the time-stamped subdirectory of the WebSphere MQ adapter log directory:

Platform Directory
UNIX ORACLE_HOME/integration/interconnect/adapters/Application/log/timestamp_in_milliseconds
Windows ORACLE_HOME\integration\interconnect\adapters\Application\log\timestamp_in_milliseconds

If there are no exceptions, then the WebSphere MQ adapter has started properly.

The WebSphere MQ adapter did not start properly. What went wrong?

View the exceptions in the WebSphere MQ adapter log file (log.xml). The exceptions should provide information about what went wrong. It is possible that the WebSphere MQ adapter is unable to connect to the repository. Ensure the repository is started properly. The WebSphere MQ adapter will connect to the repository once it is started properly. You do not need to restart the Adapter.


See Also:

Oracle Application Server Integration InterConnect User's Guide for instructions on starting the repository on UNIX and Windows

My WebSphere MQ adapter is not starting. What could be the reason?

One reason can be that Oracle Wallet does not contain the password information corresponding to your application name. For example, during installation you defined the application name as myMQApp. Later, you changed the application name in iStudio to MQApp. In such case, you need to specify the password corresponding to the new application name MQApp in the Oracle Wallet. You can create password by using the oraclewallet command.

Is it possible to edit the WebSphere MQ adapter configuration settings created during installation?

Yes, edit the parameters in the adapter.ini file in the following directory:

Platform Directory
UNIX ORACLE_HOME/integration/interconnect/adapters/Application/
Windows ORACLE_HOME\integration\interconnect\adapters\Application\

When I change an element in iStudio, such as mappings, it seems like the WebSphere MQ adapter is using old information. What is happening?

The WebSphere MQ adapter caches information from iStudio. The information is stored in the repository locally. If you change something in iStudio and want to view the change in the run time, then you need to stop the WebSphere MQ adapter, delete the WebSphere MQ adapter cache files, and restart the WebSphere MQ adapter.

The WebSphere MQ adapter has a persistence directory which is located in the WebSphere MQ adapter directory. Deleting this directory when the WebSphere MQ adapter has been stopped should make it obtain the new metadata from the repository when started.

How do I secure my passwords?

OracleAS Integration InterConnect uses Oracle Wallet Manager to maintain system passwords. When you install OracleAS Integration InterConnect, Oracle Wallet Manager is also installed and a password store is created. All passwords used by OracleAS Integration InterConnect components are stored in the password store. The password is stored in the Oracle Wallet in the following format:

ApplicationName/password

The ApplicationName is the name of the application, which is extracted from the adapter.ini file of the corresponding adapter. In the adapter.ini file, the application parameter specifies the ApplicationName to which this adapter connects. The password for the application is also retrieved from the adapter.ini file.

The number of entries is dependent on the type of adapter. For example, DB Adapter needs two entries whereas AQ Adapter needs only one entry. The following table lists the entries that will be created for each adapter:

Adapter Entry In Oracle Wallet
AQ ApplicationName/aq_bridge_password
HTTP ApplicationName/http.sender.password
HTTP ApplicationName/sender.wallet_password
SMTP ApplicationName/smtp.receiver.password
MQ ApplicationName/mq.default.password
FTP ApplicationName/file.sender.password
FTP ApplicationName/file.receiver.password
DB ApplicationName/db_bridge_schema1_password
DB ApplicationName/db_bridge_schema1_writer_password

You can create, update, and delete passwords using the oraclewallet command. When you run the command, it prompts you for the admin password.

You can use the following commands to manage your passwords:

I am getting a JMS-nnnn error when the WebSphere MQ adapter is starting up. What is wrong?

Look up the error code in the IBM WebSphere MQ for Java guide Messages Appendix and correct any mistakes for the WebSphere MQ connection information in adapter.ini. The following lists some common error codes:

More error codes can be found at the following url: http://www-4.ibm.com/software/ts/mqseries/library/manuals/csqfao/CSQFAO1P.HTM.

I am sending files with names such as MQ.FailedMsg.<message-id> in the directory where the adapter.ini file is located. What does this mean?

The means that some outbound messages received from WebSphere MQ did not parse successfully with any of the registered D3L files. Either one or more D3L files should be corrected or the WebSphere MQ sending agent, which enqueued the message on the outbound queue, should correct the messages so they conform to one of the D3L files. If you configure the mq.default.receiver.exception.uri parameter in the adapter.ini file, then the 'failed' messages will be enqueued on the configured exception queue.

Why am I getting a "oracle.oai.agent.adapter.sdk.Agent.createMessageObject(xml)" error in the log file?

The complete text of the error message is "MQMessageSender_run: The following exception occurred while invoking oracle.oai.agent.adapter.sdk.Agent.createMessageObject(xml). If the Published Message Type in iStudio was XML, then try instead to use the Message Type Generic, setting the Object name to be the root element of the XML document."

The error message essentially also provides the solution to this problem.

Why do I get the "Unable to load message catalog: mqji" error message when starting the WebSphere MQ adapter?

This is a benign warning message from the WebSphere MQ Java layer which can be avoided by adding the /opt/mqm/java/lib directory to the Java CLASSPATH before starting the WebSphere MQ adapter (modifying the start script).