Start the ReportCenter Java Task from the MVS console. Be aware that this started task runs in the USS environment and may generate several spawned tasks.
Consider the following:
Successful tests indicate the following:
The REPTEST error messages provide more help. Place your cursor on an error message and press F1 (Help).
Note: The tests may produce large numbers of Java Task error messages at this initial stage. Common implementation problems can cause many errors to result from a single simple cause.
Do not proceed with any additional tasks until all tests complete successfully.
For most ReportCenter Java Task problems, you need to look for further error details. Depending on the nature of the problem, error messages can appear in some or all the following locations:
Use the REPTEST JAVAFW OCS command or browse the following files:
?prefix2/nm/reporter/usr/adaptor/stderr.txt ?prefix2/nm/reporter/usr/adaptor/stdout.txt
Browse the ?prefix2/nm/reporter/usr/Adaptornnn.log file, but be aware that if the failure is early, this file may not be created or updated yet.
Note: The activity log of the region does not contain any information from the ReportCenter Java Task. The region and the task are in separate address spaces.
The most frequent causes of JCL errors are the following:
FSUMnnnn java not found
Review and correct the specification of the Java command directory path name. From this directory, enter java -version.
This happens very infrequently, usually caused by underlying error conditions in the MVS software components such as LE, JVM, USS, DBMS, or security system.
The most frequent causes of the ReportCenter Java Task failing include the following. These are usually indicated in the ReportCenter Java Task log.
Review the specification of the SMP/E target library directory, the database JDBC directory, and all class file names. ReportCenter specifies its Java class path explicitly at runtime with the -cp option. It does not set or use the CLASSPATH environment variable. To see the directories and files in the class path, browse the generated Adaptor.bat file.
System class not found may indicate an error with the JVM implementation. Verify the correct installation and implementation of your mainframe Java product.
ClassNotFoundException indicates that the class is not found at runtime.
NoClassDefFoundError indicates that the class is found at runtime; however, the class imports another class, which, while present at compile time, is not found at runtime.
If the associated user ID is not defined correctly to your security system, errors or other failures can result.
A Java getLocalHost function fails to return the IP address of the local host, as indicated by a message similar to the following in the ReportCenter Java Task log:
Adaptor initialisation failed with exception java.net.UnknownHostException ?hostname
This often indicates problems with the name server setup. Creating or updating the /etc/hosts file with the IP address and name of the local host usually corrects this problem.
Indicated by a message similar to the following in the ReportCenter Java Task log:
***************************************** Java framework terminating due to error: error details Please correct the condition and restart. *****************************************
The ReportCenter Java Task terminates when it detects a fatal condition that stops it doing any useful processing. Usually, these are database-related conditions. ReportCenter terminates to avoid wasting resources on repeated and unsuccessful database connection attempts. Following are some common terminal conditions. Rectify the condition, and start the task again.
A few of the most useful commands for ReportCenter problem diagnosis are described here.
Most UNIX shell commands are accepted. Useful commands include the following:
Note: You may need changes to your TSO user ID or profile to access these commands; if so, contact your systems programmer.
Use this command to browse an HFS file.
This command has the following format:
obrowse pathname/file
Example: obrowse Command
obrowse /?ics_prefix2/nm/reporter/wr76/usr/adaptor/Adaptor.ini
Use this command to display a selection list of the objects in a directory. You can enter Browse, Edit, List, and other commands next to an object.
This command has the following format:
ishell directory-pathname
Example: ishell Command
To see how many logs files there are and select one for browsing, enter the following command:
ishell /u/users/ca/nm/reporter/wr76/usr/logs
Example: ishell Command
To see the Java Task control and output files, enter this command:
ishell /u/users/ca/nm/reporter/wr76/usr/adaptor
Use this command to invoke the shell command line interface.
This command has the following format:
omvs
You can browse the log by using WebCenter or USS.
To browse the Log using WebCenter, select ReportCenter, Java Task Log from the WebCenter Menu. For space reasons, this shows only the most recent entries in the log.
To browse the log using USS, enter the following command from TSO or OMVS:
obrowse /?ics_prefix3/nm/reporter/wr76/usr/logs/Adaptor001.log
obrowse has the advantage of displaying the entire log file, and being more easily searchable.
Notes:
| Copyright © 2012 CA. All rights reserved. |
|