uCosminexus Service Platform, Reception and Adapter Definition Guide

[Contents][Glossary][Index][Back][Next]

Appendix B.6 Troubleshooting

This section describes the problems that might occur during operation of a General custom adapter, what might cause these problems, and the action you can take to resolve them.

Organization of this subsection
(1) Troubleshooting deployment of General custom adapters
(2) Troubleshooting startup of General custom adapters
(3) Troubleshooting exceptions in operations performed from the converter

(1) Troubleshooting deployment of General custom adapters

The following describes what might cause deployment of a General custom adapter to fail, how to identify the cause of the failure, and what action you need to take.

(a) Causes

The following are the most likely causes of a General custom adapter failing to deploy:

  1. The format or content of the HITACHI Application Integrated Property File for the custom adapter is invalid.
  2. An invalid EAR file is registered because the correct procedure in 3.3.14 Defining custom adapters was not followed.
(b) Identifying the cause

Check the console log displayed during deployment:

(c) Action to take

Take the following action:

(2) Troubleshooting startup of General custom adapters

The following describes what might cause a General custom adapter to fail to start, how to identify the cause of the failure, and what action you can take to resolve it.

(a) Causes

The following are the most likely causes of a General custom adapter failing to start:

  1. The custom adapter development framework action definition file has not been placed in the root folder of all registered JAR files.
  2. The format of the custom adapter development framework action definition file is invalid.
  3. The format of the custom adapter property file is invalid.
  4. The protocol converter JAR file does not include the class file for the protocol converter.
  5. The protocol converter is specified incorrectly in the custom adapter development framework action definition file, or the specified protocol converter does not exist.
  6. The protocol converter does not have a public default constructor.
  7. An exception occurred in the start method of the protocol converter.
(b) Identifying the cause

Check the message log file.

(c) Action to be taken

If the cause is 1 or 2, take the following action:
  • Check whether the format and content of the custom adapter development framework action definition file are valid. If the format or content is invalid, create the file again. For details on the custom adapter development framework action definition file, see B.2(1) Custom adapter development framework action definition file.
  • Check whether the custom adapter development framework action definition file is in the location specified in the JAR file for the protocol converter. If the file is not in this location, place it in the correct location.

If the cause is 3, take the following action:
  • Check whether the format and content of the operation definition file for the custom adapter development framework are valid. If the format or content is invalid, create the file again. For details on the custom adapter property file, see B.2(2) Custom adapter property file.

If the cause is 4 or 5, take the following action:
  • Check whether the protocol converter JAR file includes the class file for the protocol converter. If it does not include the class file, use the jar command to archive the protocol converter class file, the class files used by the protocol converter class file, and the custom adapter development framework action definition file in the JAR file. For details on how to create the protocol converter JAR file, see 3.3.14(5)(a) Creating protocol converter JAR files.
  • Check that the package name is specified together with the protocol converter name in the custom adapter development framework action definition file. If the name is invalid, specify the protocol converter name and package name correctly.
  • Check whether classname is specified as the value of the key attribute of the entry element that specifies the protocol converter name in the custom adapter development framework action definition file. If this is not the case, enter the class name of the protocol converter in the entry tag whose key attribute is classname.

If the cause is 6, take the following action:
  • Check whether a public default constructor is defined for the protocol converter. If none is defined, define a public default constructor.

If the cause is 7, take the following action:
  • Check the processing of the start method of the protocol converter. If the processing is invalid, review its implementation. For details on the format of the start method, see B.1(2)(a) CSCMsgCustomAdapterContext interface.
  • Make sure that the environment and preferences you are using permit the protocol converter to start.

(3) Troubleshooting exceptions in operations performed from the converter

This section describes what might cause a java.security.AccessControlException exception to occur when you attempt to perform file operations from the protocol converter, how to identify the cause, and what action to take.

(a) Cause

A Java security feature might have prevented file access.

(b) Identifying the cause

Make sure that java.security.AccessControlException is thrown in the protocol converter during file access.

(c) Action to be taken

Take the following action: