Chapter 3
Application Client Container
This chapter lists error messages that originate from the Application Client Container subsystem.
ACC
The Application Client Container (ACC) includes a set of Java classes, libraries, and other files that are distributed along with Java client programs that execute on their own Java Virtual machine. The ACC provides system services that enable a Java client program to execute. It communicates with the Application Server using RMI/IIOP and manages communication of RMI/IIOP using the client ORB bundled with it. The ACC is specific to the EJB container and is often provided by the same vendor.
This chapter contains error messages that occur in the ACC system.
ACC002
Severity
|
WARNING
|
Description
|
The client container XML was not found. The default sun-acc.xml will be used.
|
Action
|
Ensure that the client container XML file exists and has Read access permission.
By default, the application client container uses sun-acc.xml. Ensure that sun-acc.xml exists and has Read access permission. You can also add -xml option while running the application client script. Use the following command:
appclient -client client_jar [-xml] absolute_location/sun-acc.xml
|
ACC003
Severity
|
WARNING
|
Description
|
An exception occurred in the client application.
|
Action
|
Fix the client application.
|
ACC005
Severity
|
WARNING
|
Description
|
Failed to load the application client descriptors and hence the client application did not build correctly.
|
Action
|
Fix the client application, and make sure that the application-client.xml and sun-application-client.xml files exist. Ensure that the <display-name> in application-client.xml matches the option, -name. However, if -classname option is used, make sure that the name used matches the client application class that contains the main() method.
|
ACC006
Severity
|
WARNING
|
Description
|
The application client descriptor is not defined for the client application.
|
Action
|
Fix the client application, and make sure that the application-client.xml and sun-application-client.xml files exist and have Read access permission.
|
ACC010
Severity
|
WARNING
|
Description
|
The server port is not disabled and the server has an invalid name.
|
Action
|
Check the application server to make sure the server is running. Check the server name and port number in sun-acc.xml, or the XML file used.
|
ACC011
Severity
|
WARNING
|
Description
|
A duplicate display name appears in multiple applications.
|
Action
|
The client application JAR contains multiple applications with main() method. Change the client application name.
|
ACC012
Severity
|
WARNING
|
Description
|
The client application JAR contains multiple applications.
|
Action
|
For multiple applications, you must specify the main class name or display name using -mainclass <appClass-name> or -name <display name> option. Add -mainclass option and specify the application class with main() method that should be running.
|
ACC015
Severity
|
WARNING
|
Description
|
An error occurred in the XML file.
|
Action
|
Make sure that the DTD file specified in the XML file exists and the XML file matches the DTD file.
|
ACC016
Severity
|
WARNING
|
Description
|
Unable to find or read the client container XML file.
|
Action
|
Ensure that the client container XML file exists and has Read access permission. By default, the application client container uses sun-acc.xml. Make sure that sun-acc.xml file exists and has Read access permission. You can also add -xml option while running the application client script. Use the following command:
appclient -client client_jar -xml absolute_location/sun-acc.xml
|