Troubleshooting the Enterprise Server

This chapter provides an overview of enterprise server troubleshooting and discusses how to:

Click to jump to parent topicUnderstanding Enterprise Server Troubleshooting

Using these techniques, you can troubleshoot batch applications and business functions that process on the Oracle JD Edwards EnterpriseOne enterprise server. Platform-specific procedures are presented in other sections of this guide.

You might encounter these types of general problems on a JD Edwards EnterpriseOne enterprise server. The information presented applies to all operating systems:

You should be familiar with the various logs used to troubleshoot problems on the server. Using these logs, you can troubleshoot batch applications and business functions that are executing on the enterprise server.

Types of Enterprise Server Log Files

In general, logs on JD Edwards EnterpriseOne enterprise servers are classified as either logic processing logs or batch processing logs.

Logic Processing Logs

You can use these two major log file sources for troubleshooting processing faults on the enterprise server:

Batch Processing Logs

You can use the batch process log to identify faults in JD Edwards EnterpriseOne processing related to batch processes. This log can contain event rule (ER) references, batch application process flow, and SQL statements, as well as other messages.

The Enterprise Server jde.log File

You can use the enterprise server jde.log to track fatal error messages generated by batch applications and business functions that are executing on the enterprise server. The jde.log tracks any fault that might occur within JD Edwards EnterpriseOne. When you are looking for startup errors, you should read the jde.log from the top down. For other errors, you should read from the bottom up.

If jde.log is enabled, a uniquely identified log file is created each time you start a JD Edwards EnterpriseOne job (including JD Edwards EnterpriseOne startup) on the enterprise server. These logs are associated with an enterprise server process ID (Job Number for iSeries).

The process ID (Job Number for iSeries) is appended to the file name, before the .log extension, with an underscore character (for example, jde_442.log).

jde.log File Creation

The enterprise server jde.log file is created (if it does not exist) or overwritten (if it exists) at the start of every JD Edwards EnterpriseOne session. For a Microsoft Windows enterprise server jde.log file, JD Edwards EnterpriseOne appends new information to the end of the jde.log.

Troubleshooting: Enabling and Disabling jde.log

Normally, the enterprise server should be set to enable the jde.log and disable the jdedebug.log. This example has combinations for the jde.ini parameter setting for enabling or disabling server logs.

Enable jde.log

This is an example of the jde.log file with debug logging enabled:

[DEBUG] Output=NONE LogErrors=1 JobFile=valid location/name (1) DebugFile=valid location/name (2)

Enable jde.log and jdedebug.log

This is an example of the jde.log file with debug logging enabled and output to a file:

[DEBUG] Output=FILE LogErrors=1 JobFile=valid location/name (1) DebugFile=valid location/name (2)

Disable jde.log

This is an example of the jde.log file with debug logging disabled:

[DEBUG] Output=NONE JobFile=blank/invalid location/name (1) DebugFile= blank/invalid location/name (2)

Files and members generated by the jde.log will be located in JobFile. JD Edwards EnterpriseOne uses these naming conventions:

jde_process_ID.log

Where jde is the file or member name prefix, process_ID is a uniquely named process ID, and log is the file or member suffix or extension.

For non-iSeries enterprise servers, files generated by the jdedebug.log will be located in DebugFile. JD Edwards EnterpriseOne uses these naming conventions:

jdedebug_process_ID.log

Where jdedebug is the file name prefix, process_ID is a uniquely named process ID, and log is the file suffix or extension.

Note. Verify whether the paths for the JobFile and the DebugFile settings are valid. If the paths for these settings are invalid, JD Edwards EnterpriseOne does not create logs.

For iSeries enterprise servers, the members generated by jdedebug will be located in DebugFile. JD Edwards EnterpriseOne uses these naming conventions:

jdedebug_process_ID

Where jdedebug is the file name prefix and process_ID is a uniquely named process ID.

Troubleshooting: Recommendations for the Enterprise Server jde.log

You can create a normal (successful) jde.log by signing on to JD Edwards EnterpriseOne and then immediately signing off. Use this log of successful startup statements to compare against logs that have a problem.

You can also rename the log to indicate the nature of the problem. For example, you might delete the jde.log and then run a report that causes an error condition. Then you could rename the jde.log to report.log.

If you are the only user running an instance of JD Edwards EnterpriseOne, you can add comment lines to the jde.log indicating the sequence of events you are performing. For example, you might be running an application that you know causes an error. Before you run the application, you could edit the jde.log to add a comment line stating you are about to start the suspect application.

Troubleshooting: Recommendations for Setting Up Server Locations

JD Edwards EnterpriseOne recommends that you create a separate directory on the enterprise server for logs. You should set up the jde.ini file to explicitly direct log files to that directory. For jde.log, the location and name of the log file are controlled by this default setting:

[DEBUG] JobFile=jde.log

Files generated by the jde.log are located in JobFile. JD Edwards EnterpriseOne uses this syntax for naming files:

jde_process_ID.log (jde_jobnumber.log for iSeries)

If you do not specify a location, JD Edwards EnterpriseOne places the log files in the directory where you ran the JD Edwards EnterpriseOne startup executable (the default). On a UNIX machine, if you start JD Edwards EnterpriseOne with these commands and if logging is enabled, the system places the log files in the /u13/JDEdwards/E812/system/bin32 directory:

cd /u13/JDEdwards/E812/system/bine32 RunOneWorld.sh

If you start JD Edwards EnterpriseOne with these commands and if logging is enabled, the system places the log files in the /usr/JDEdwards directory because that is the working directory:

cd /usr/JDEdwards /u13/JDEdwards/E812/system/bin32/RunOneWorld.sh

If you set up the UNIX machine to automatically start JD Edwards EnterpriseOne when the machine is started, it is especially important that you specify the full path of the log file in the jde.ini file.

Naming Conventions for jde.log

JD Edwards EnterpriseOne processes create logs as jde_processID.log (jde_JobNumber.log for iSeries), where processID is the process ID of the process that creates the log.

Non-iSeries JD Edwards EnterpriseOne processes move logs for batch jobs to the PrintQueue directory and rename them as report_version_date_time.log, where report is the report name and version is the version name; for example, R014021_XJDE0001_D990312_T161854215.log.

Example: Enterprise Server jde.log

This example of the jde.log from the enterprise server displays errors caused by signon tables that were not properly closed after fetching data. Normally, the only way this can happen is if a business function program did not close the table. Therefore, generated code applications cannot have this problem.

Most entries in the jde.log file are significant, and you should examine them closely. This information is also used by developers to indicate problems with the application that need to be addressed.

Troubleshooting: Recommendations for the Enterprise Server jde.log when a fatal crash occurs

If a fatal crash occurs on a JD Edwards EnterpriseOne Windows Server the Call Stack will be automatically be dumped into the jde.log file. This information in the jde.log file will contain a fully qualified path to the system install location. Therefore, you should take the necessary steps to ensure that the install path information is secured.

The Enterprise Server jdedebug.log File

You can use the enterprise server jdedebug.log to determine the point in time when normal execution stopped. The system does not use jdedebug.log to track errors. Instead, it uses this log to track the timing of JD Edwards EnterpriseOne processes. The log contains API calls and SQL statements as well as other messages.

You can use jdedebug.log to find out where a process ended. For example, log data can include what ODBC was trying to connect to, the SQL statement that was being executed for a specific table, and whether memory has been freed.

If jdedebug is enabled, each jdenet_n job and batch process started on a server creates a uniquely identified jdedebug.log. These logs are associated with an enterprise server process ID. Each time JD Edwards EnterpriseOne is started on the enterprise server and each time a batch process job is executed on the enterprise server, a new jdedebug.log is created.

For enterprise servers, the process ID (Job Number for iSeries) is appended to the file name with an underscore character before the .log extension. For example, the file name might be jdedebug_442.log. The enterprise server jdedebug.log is created (if it doesn't exist) or overwritten (if it exists) at the start of every JD Edwards EnterpriseOne session. For a Microsoft Windows enterprise server jde.log file, JD Edwards EnterpriseOne appends new information to the end of jde.log.

Note. Server administrators are responsible for clearing and deleting jde.log and jdedebug_*.log files from the enterprise server.

Troubleshooting: Reading the jdedebug.log

If the process failed and you have logging turned on, look in the jdedebug.log for these messages:

Also, look at the end of the log to see what task was executed last. In general, important lines in the log are:

Troubleshooting: Enabling and Disabling jdedebug.log

Normally, the enterprise server should be set to enable the jde.log and disable the jdedebug.log. This example has valid setting combinations for enabling or disabling server jdedebug.log.

Troubleshooting: Enabling and Disabling jdedebug.log

These are the settings for enabling the jdedebug.log file:

[DEBUG] Output=FILE LogErrors=1 JobFile=valid location/name (1) DebugFile=valid location/name (2)

Enable jde.log and jdedebug.log

These are the settings for enabling the jde.log and jdedebug.log files:

[DEBUG] Output=BOTH LogErrors=1 JobFile=valid location/name (1) DebugFile=valid location/name (2)

Disable jdedebug.log

These are the settings for disabling the jdedebug.log file:

[DEBUG] Output=NONE LogErrors=0 JobFile=valid location/name (1) DebugFile=valid location/name (2)

The [DEBUG] section of the jde.ini file contains the files and members generated by the jde.log. JD Edwards EnterpriseOne uses these naming conventions:

jde_<pid>.log

Where jde is the file or member name prefix and <pid> is a uniquely named process ID.

For enterprise servers, the files generated by the jdedebug.log will be located in the jde.ini file. JD Edwards EnterpriseOne uses these naming conventions:

jdedebug_<pid>.log (jdedebug_<JobNumber>.log)

Troubleshooting: Recommendations for the Enterprise Server jdedebug.log

You can create a normal (successful) jdedebug.log (JDEDEBUG for iSeries) by logging on to JD Edwards EnterpriseOne and then immediately logging off. Use this log of successful start up statements to compare against logs that have a problem.

You can also rename the log to indicate the nature of the problem. For example, you might delete the jdedebug.log and then run a report that causes an error condition. Then you could rename the jdedebug.log to report.log.

Another alternative is to add comment lines to the jdedebug.log that indicate the sequence of events you are performing. For example, you might be running an application that you know causes an error. Before you run the application, you could edit the jde.log to add a comment line stating that you are about to start the suspected application.

Troubleshooting: Recommendations for Setting Up Server Locations

We recommend that you create a separate directory on the enterprise server for logs. You should set up the jde.ini file to explicitly direct log files to that directory. For jdedebug.log, these setting controls the location:

[DEBUG] DebugFile=jdedebug.log

For enterprise servers, the files generated by the jdedebug.log will be located in DebugFile. JD Edwards EnterpriseOne uses these naming conventions:

jdedebug_process_ID.log (jdedebug_JobNumber.log for iSeries)

Where jdedebug is the file name prefix and process_ID is a uniquely named process ID.

By default, JD Edwards EnterpriseOne places the log files in the directory where you ran the startup executable. For example, on a UNIX machine, if you start JD Edwards EnterpriseOne with this command:

cd /u13/JDEdwards/E812/system/bin32 RunOneWorld.sh

and assuming that logging is enabled, the system places the log files in the /u13/JDEdwards/E812/system/bin32 directory. Similarly, on a UNIX machine, if you start JD Edwards EnterpriseOne with this command:

cd /usr/JDEdwards /u13/JDEdwards/E812/system/bin32 RunOneWorld.sh

and assuming that logging is enabled, the system places the log files in the /usr/JDEdwards directory. This is the working directory. If you set up the UNIX machine to automatically start JD Edwards EnterpriseOne when the machine is booted, it is especially important that you specify the full path of the log file.

Naming Conventions for jdedebug.log on the Enterprise Server

JD Edwards EnterpriseOne processes create logs as jdedebug_process_ID.log, where process_ID (Job Number for iSeries) is the process ID of the process creating the log. For example, a batch report running on a UNIX server as process 123456 would produce a file named jdedebug_123456.log.

The Batch Process Log File

Whenever you run a batch process requested from a workstation, an individual log file is created in the JD Edwards EnterpriseOne print queue directory (E812\PrintQueue) on that workstation. For any batch process request issued from a workstation, this file is created even if you have specified that the batch process report is to run on the enterprise server. For batch processes requested from a server, the jdedebug.log file is created on the server in the print queue directory.

Based on the setting of the UBESaveLogFile parameter in the [UBE] section of the jde.ini file, this log file is deleted or saved on successful completion of batch processes. This log file displays different types of messages that can help track errors in the batch process. The messages are:

The batch process log can contain ER references, batch process flow, and SQL statements, among other messages. You can use the batch process log file to determine when normal execution stopped.

The batch process log file displays the process flow in batch processes. This example describes the event flow within the batch engine and provides sample messages that would be written to the log at each point in the event flow, assuming UBEDebugLevel is set to 6. Note that each message written to the log file displays the error level of that message in brackets. For example, -UBE--[2]-indicates a section-level message.

When a UBE processes a section, it begins by opening the business view for that section within the INIT section event. As a result, a SELECT statement follows directly after the INIT section for each section.

--UBE--[2]-- 355/392 Process Init Section --UBE--[2]-- 355/392 InitSection for Business Unit Report Driver --UBE--[2]-- 355/392 InitSection for Business Unit Report LBH --UBE--[4]-- 355/392 SELECT T0.MCMCU, T0.MCSTYL, T0.MCLDM, T0.MCCO, T0.MCAN8, T0.MCCNTY, T0.MCADDS, T0.MCFMOD, T0.MCDL01, T0.MCDL02, T0.MCDL03, T0.MCDL04, T0MCRP01, T0.MCRP02, T0.MCRP03, T0.MCRP04, T0.MCRP05, T0.MCRP06, T0.MCRP07, T0.MCRP08, T0.MCRP09, T0.MCRP10, T0.MCRP11, T0.MCRP12, T0.MCRP13, T0.MCRP14, T0.MCRP15, T0.MCRP16, T0.MCRP17, T0.MCRP18, T0.MCRP19, T0.MCRP20, T0.MCRP21, T0.MCRP22, T0.MCRP23, T0.MCRP24, T0.MCRP25, T0.MCRP26, T0.MCRP27, T0.MCRP28, T0.MCRP29, T0.MCRP30, T0.MCPECC, T0.MCALS, T0.MCALCL, T0.MCSBLI, T1.CCCO, T1.CCNAME, T1.CCRCD FROM F0006 T0,F0010 T1 WHERE ( T1.CCCO=T0.MCCO ) ORDER BY T0.MCCO ASC, T0.MCMCU ASC

After INIT Section, the engine calls Advance Section to retrieve a record from the SELECT statement:

--UBE--[2]-- 355/392 Process Adv Section --UBE--[2]-- 355/392 Processing Adv Section for Page Header

After the retrieve, the engine performs the DO Section processing. This includes any event rules attached to the DO Section event:

--UBE--[2]-- 355/392 Process DO Section --UBE--[2]-- 355/392 Processing DO Section for Page Header --UBE--[4]-- 355/392 --ER: Line(1): Loading Data Structure for BSFN --UBE--[4]-- 355/392 --ER: Line(1): Processing BSFN : GetCompanyAndReportDesc --UBE--[4]-- 355/392 --ER: Line(1): Done Processing BSFN : GetCompanyAndReportDesc --UBE--[4]-- 355/392 --ER: Line(1): Unloading Data Structure for BSFN --UBE--[4]-- 355/392 --ER: Line(1): Done Processing ER BSFN

Within DO Section, each object is processed and eventually printed in INIT, DO, and END object order:

--UBE--[3]-- 355/392 Process Init Object --UBE--[3]-- 355/392 Processing Init Item SystemTime in Section Page Header --UBE--[3]-- 355/392 Process DO Object --UBE--[3]-- 355/392 Processing Do Object SystemTime in Section Page Header --UBE--[6]-- 355/392 Printing Object Value = 14:35:46 --UBE--[3]-- 355/392 Process End Object --UBE--[3]-- 355/392 Process Init Object --UBE--[3]-- 355/392 Processing Init Item SystemDate in Section Page Header --UBE--[3]-- 355/392 Process Do Object --UBE--[3]-- 355/392 Processing Do Object SystemDate in Section Page Header --UBE--[6]-- 355/392 Printing Object Value = 3/6/00 --UBE--[3]-- 355/392 Process End Object

After all the objects for a section have been processed, the engine calls Process Last Object and then begins processing for the next section in the report:

--UBE--[3]-- 355/392 Processing Do Object ModelAccountsandConsolid in Section Page Header --UBE--[6]-- 355/392 Printing Object Value = MD --UBE--[3]-- 355/392 Process End Object --UBE--[3]-- 355/392 Process Last Object --UBE--[2]-- 355/392 Process End Page Header Section --UBE--[2]-- 355/392 Process Do Section --UBE--[2]-- 355/392 Process Do Section for Business Unit Report Driver

When all sections have been processed, if the report finishes without errors, these messages are displayed at the end of the log:

--UBE--[6]-- Successfully Finishing Engine ... UBE Job Finished Successfully.

The level of detail provided by the batch process log is controlled by the UBEDebugLevel parameter of the jde.ini file. These are values for UBEDebugLevel:

Value

Description

0

No error messages.

3

Object-level messages.

4

Event rule messages and SQL statements (plus levels 1-3).

See Also

Working with Servers

Understanding Executable Files on the Workstation

Understanding Server Administration for iSeries

Click to jump to parent topicViewing Enterprise Server Logs from the Workstation

You must log on to the server to view logs for the server. You can also view portions of log files from the workstation that initiated the calls to the server.

To view server logs from the workstation:

  1. In the [DEBUG] section of the enterprise server jde.ini file, set the ClientLog parameter to 1.

    This setting enables the server to send logs to workstations. For example:

    [DEBUG] ClientLog=1

  2. In the [DEBUG] section of the Workstation jde.ini file, set the ServerLog parameter to 1.

    This setting enables the workstation to receive log information from the enterprise server. For example:

    [DEBUG] ServerLog=1

Click to jump to parent topicSetting Up the Enterprise Server jde.log

To set up the enterprise server jde.log:

  1. Locate the enterprise server jde.log file (JDE member for iSeries) using Server Manager.

  2. In Server Manager, in the Management Console, select the Logging hyperlink from the Configuration pane.

  3. In the Error and Debug Logging pane, enable or disable the logging of errors to the jde.log file by modifying the Enable JDE.LOG field.

    Setting

    Purpose

    Enable JDE.LOG

    A parameter controls whether the logging function is enabled. Valid values are:

    • Disabled (Default)

    • Enabled

  4. Click the Apply button to save the changes.

See Also

8.97 Server Manager Guide on Customer Connection.

Click to jump to parent topicSetting Up the Enterprise Server jdedebug.log

To set up the enterprise server jdedebug.log:

  1. Locate the enterprise server jdedebug.log file (JDE member for iSeries) using Server Manager.

  2. In Server Manager, in the Management Console, select the Logging hyperlink from the Configuration pane.

  3. In the Error and Debug Logging pane, verify or change the name for the debug file using the JDEDEBUG.LOG Filename parameter field.

    The JDEDEBUG.LOG Filename specifies the name of the jdedebug.log file (JDEDEBUG member for iSeries). For non-iSeries enterprise servers, the default value is jdedebug.log. For iSeries enterprise servers, the default value is JDEDEBUG.

  4. In the Error and Debug Logging pane, enable or disable the logging of errors to the jde.log file by modifying the Enable JDE.LOG field.

    Setting

    Purpose

    Enable Debug Logging

    A parameter controls whether the logging function is enabled. Valid values are:

    • NONE — No Debug Logging

      • FILE — Enable Debug Logging

      •  

    •  

  5. Click the Apply button to save the changes.

See Also

8.97 Server Manager Guide on Customer Connection.

Click to jump to parent topicSetting Up the <batch process>.log File

To set up the <batch_process>.log file:

  1. Locate the workstation jde.ini file.

    The JD Edwards EnterpriseOne setup program places this file in the working Windows directory (for example, c:\WINNT40\jde.ini). If you are unsure of the workstation's working Microsoft Windows directory, use the Find command to locate the jde.ini file.

  2. Use an ASCII editor (such as Microsoft Notepad or Microsoft Wordpad) to open the file.

  3. Set the level of batch report debugging information that you want written to the batch process log file and whether you want the file to be saved.

    These settings are controlled by these parameters in the [UBE] section:

    Setting

    Purpose

    UBEDebugLevel=

    A parameter that specifies the level of UBE debug logging. Valid values are:

    • 0 (default): No error messages.

    • 1: Warnings and high-level information.

    • 2: Section-level messages (plus Level 1 messages)

    • 3: ER messages and database mapping messages (plus Level 1-2 messages)

    • 4: SQL statements (plus Level 1-3 messages)

    • 5: Database output (plus Level 1-4 messages)

    • 6: Batch process function calls and printed output values (plus Level 1-5 messages)

    UBESaveLogFile=

    A parameter that specifies whether the batch_report.log file will be saved. Valid values are:

    • 0: The batch_report.log file is not saved.

    • 1: The batch_report.log file is saved in the workstation's JD Edwards EnterpriseOne print queue directory (E812\PrintQueue).

  4. Save the changes and close the jde.ini file.

Click to jump to parent topicTroubleshooting the Enterprise Server

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicTroubleshooting General Problems

You can troubleshoot general enterprise server problems using the Server Manager which enables you to monitor server components, processes, and resources.

To troubleshoot general problems:

  1. Use Server Manager to verify that you are looking at the correct port and the server is operational on that port.

  2. Verify the netTrace setting in the enterprise server jde.ini file:

    [JDENET] netTrace=0/1 (disabled/enabled)

    When the variable netTrace=0, JD Edwards EnterpriseOne does not generate Net log information. When netTrace=1, JD Edwards EnterpriseOne generates Net log information.

    Note. Using Server Manager, you can turn logging on or off for a particular kernel process.

  3. Return to JD Edwards EnterpriseOne and duplicate the problem.

    The trace facilities write debugging information to the jde.log and jdedebug.log files.

  4. After running the business function again, look at the jde.log files on the server.

    Search for these message (you must search for lower case): “jdenet_n process.”

    If you cannot find this message, bring the server down and back up. If you do find this message, look at the jde.log file with the same process ID as the net process.

  5. Verify that the user is running in the correct environment or path code; for example PD812 or DV812.

    If this environment is not set up on the server, you receive errors on the workstation jde.log as well as the enterprise server jde.log.

  6. In the jde.logs on the enterprise server, look for a JDENET_SendMSg Failed Error=12 message.

    This message means that the JDENET server is down and you must restart it.

  7. In the jde.log file on non-iSeries enterprise servers, look for any "Unable to connect to Oracle" messages. Search on ORA-.

    If you find messages, they indicate problems connecting to Oracle. You get an indication of an Oracle connection problem if, in a business function, you select find/browse, data is not found, and no errors are received from the application. You need help from an Oracle database administrator at this point. To debug this problem, see the section in this document about sql.log.

  8. Look in the jdexxx.log file (where xxx is the ID of the process that created the log) on the server for these message: “Could not find symbol in the <BSFN dll name>.”

    If present, this message might mean that the business function did not build on the enterprise server.

  9. If you have not found a problem indicating why you are unable to run an application on the enterprise server, you will need to debug it on the server.

    Note. For Microsoft Windows enterprise servers, if you cannot identify a problem by reading the log, you need to put the business function through debug on the server. This action requires knowledge of C++ and how to debug. See Microsoft documentation for Debugging C++.

Click to jump to top of pageClick to jump to parent topicTroubleshoot Communication Problems

When you submit an application to an enterprise server through an override of the master business function set in Object Configuration Manager, you might experience communication problems with the enterprise server. The business function then runs locally on the client workstation. JD Edwards EnterpriseOne displays a window to inform you that the business function is running in a new location.

To troubleshoot communication problems:

Note. Use this procedure if JD Edwards EnterpriseOne displays a window to inform you that a business function is running in a new location.

  1. Check the jde.ini on the workstation to make sure the JDENET service name (port number) is correct and valid.

    This port number must match the settings in the server jde.ini file, and the JD Edwards EnterpriseOne server must be running to successfully submit reports or to run business logic on a server. Security services and transaction management services also require the JD Edwards EnterpriseOne server to be running:

    [JDENET] serviceNameListen=service name serviceNameConnect=service name

    If serviceNameListen=service name specifies the communications service port on the TCP/IP network, JD Edwards EnterpriseOne uses this port address to listen for requests on the network. Using a file called services, you can associate the port number with a unique name. The default value is jde_server (port number 6003).

    If serviceNameConnect=service name specifies the communications service port on the TCP/IP network, JD Edwards EnterpriseOne uses this port address to connect to the network. Using a file called services, you can associate the port number with a unique name. The default value is jde_server (port number 6003).

  2. On the workstation, exit JD Edwards EnterpriseOne and turn logging on in the jde.ini.

  3. Run the application on the server again, and then check the jde.log file to see if any of these errors are logged:

  4. From within Server Manager, change the port address to determine if both the workstation and server are using the same port.

  5. Check the services file on the workstation (located in the operating system directory\System32\drivers\etc for Windows).

    Ensure that a blank line exists at the end of the file and that you have the service name mentioned in Step 1 (for example, jde_server) going to the correct port address on the server. Verify the port address with the server administrator.

  6. If you receive a Communication Failure message, try resubmitting the application.

    A time-out may have occurred.

    [JDENET] netTrace=0/1 (disabled/enabled)

  7. Look in the log file for this message:

    Could not find symbol in the <BSFN dll name>

Click to jump to top of pageClick to jump to parent topicTroubleshooting Server Map Problems

If you change the Object Configuration Manager or the Data Source Master files in the Server Map data source, you can test the changes using the PORTTEST program. This test is designed to validate the environments.

See the section specific to the platform type for more information about the PORTTEST program.

Click to jump to parent topicTroubleshooting the iSeries Enterprise Server

This section provides an overview of iSeries enterprises server troubleshooting and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding iSeries Enterprise Server Troubleshooting

This subsection explains how to troubleshoot problems that can occur on an iSeries enterprise server. When troubleshooting, follow these guidelines:

You might want to temporarily modify the job description of the JD Edwards EnterpriseOne user profile to always write the joblog until you are satisfied that all setup is correct.

Note. To complete the resolutions provided for this issues, you must sign on to the enterprise server using an account that has administrative privileges.

Click to jump to top of pageClick to jump to parent topicTroubleshooting iSeries Enterprise Server Installation

This section explains topics that might create issues during the installation of an iSeries enterprise server.

Troubleshooting: Library Installation Verification

Issue

Resolution

You want to verify that the correct libraries and data dictionary items are installed on the iSeries.

See the list of libraries and data dictionary items and descriptions of their contents.

Troubleshooting: Database Table Configuration

Issue

Resolution

Strange database results or errors imply that Object Configuration Manger (OCM) is not set up correctly. For example, you see these message in the jde.log file:

Databases: iSeries:table configuration problems iSeries

JDB3300011 - Failed to get location of table F983051 for environment PD812

  • Verify that environments set up in the OCM are correct.

  • Review the description of how OCM is used by JD Edwards EnterpriseOne in JD Edwards EnterpriseOne Initialization.

  • Run the VerifyOCM program to ensure that the OCM tables are set up correctly. You must have one valid environment available to run VerifyOCM.

Troubleshooting: Setting up the iSeries .INI File

Issue

Resolution

You cannot find the .INI file

Find it in IFS. The file should be located in the /<release>/ ini directory. For example, /E812sys/ini/JDE.INI.

You need more information on using the iSeries .INI file

Review the notes and descriptions of .INI settings.

Troubleshooting: You Cannot Find the Log Files

The logging is performed to the iSeries Integrated File System (IFS). The naming convention is similar to that of the UNIX enterprise servers. That is, the default names of the files are JDE_AS400JobNumber.log, JDEDEBUG_AS400JobNumber.log, and JDETS.LOG, where AS400JobNumber is the iSeries Job Number of the job that generated the file. The system creates these files automatically, but the path to the files must exist before logging begins. The created log file directory should match the JOBLOG and JDELOG settings in the JDE.INI file.

The path to the log files stored in the IFS can be created by performing successive calls to the iSeries command MKDIR. For example, to create the path /PSFT812/LogFiles, enter this command:

MKDIR DIR('/PSFT812') DTAAUT(*RWX) OBJAUT(*ALL)

Followed by:

MKDIR DIR('/PSFT812/LogFiles') DTAAUT(*RWX) OBJAUT(*ALL)

Logging might be turned off in the .INI. Activate logging in the .INI using these settings in the [DEBUG] section:

[DEBUG]

LogErrors=1

Output=FILE

Where variable names and descriptions are as follows:

LogErrors values are:

0 = Do not generate logs.

1 = Create logs.

Output values (always in upper case) are:

NONE = Do not write debug messages to any output device.

FILE = Write messages to log files.

Troubleshooting: Not Enough Relevant Information Is Written to the Log Files

Additional logging information may need to be turned on in the .INI. Set these keys in the .INI for additional information to be output to the log files:

[JDENET]

netTrace=1

[JDEIPC]

ipcTrace=1

[DEBUG]

TAMTraceLevel=1

[UBE]

UBEDebugLevel=6

[TCEngine]

TraceLevel=10

Where variable names and descriptions are as follows:

netTrace values are:

0 = Do not generate JDENet error messages (that is, communication between platforms).

1 = Generate JDENet error messages.

ipcTrace values are:

0 = Do not generate Interprocess Communication (IPC) error messages (that is, communication between processes on a single platform).

1 = Generate IPC error messages.

TAMTraceLevel values are:

0 = Do not generate Table Access Management (TAM) error messages (that is, regarding specification files).

1 = Generate TAM error messages.

UBEDebugLevel values are:

0 = Do not generate batch application error messages.

1-6 = Generate increasingly detailed error messages (1 indicates the least specific message; 6 indicates the most detailed message).

TraceLevel values are:

0 = Do not generate Table Conversion (TC) error messages.

1-10 = Generate increasingly detailed error messages (1 indicates the least specific message; 10 indicates the most detailed message).

Note. Because NetTrace and ipcTrace messages are written to the debug log associated with that job, the [DEBUG] section of the jde.ini file requires the Output=FILE setting.

Troubleshooting: Testing with PORTTEST

In general, activate logging when running the PORTTEST program. Review the jde.log and jdedebug members generated by running the PORTTEST program. Also review the iSeries job log generated by running the PORTTEST program. These logs provide valuable information about the JD Edwards EnterpriseOne iSeries configuration and setup.

Issue

Resolution

An error with OCM occurred.

Verify that the OCM is correct for the environment. Disable the security server in the JDE.ini file and make sure that porttest runs successfully. For this work, you must log on with a User ID that has administrative privileges.

An error with the security server occurred.

The JD Edwards EnterpriseOne network might not be running. Clear the Interprocess Communication (IPC) structures using the JD Edwards EnterpriseOne iSeries CLRIPC command and restart JD Edwards EnterpriseOne. If you have different versions of JD Edwards EnterpriseOne running, make sure that they are on different ports and have different values for startIPCKeyValue. In the [JDEIPC] section of the JDE.INI file. Also, note that the different versions of JD Edwards EnterpriseOne should have different JD Edwards EnterpriseOne libraries, database files, and IFS directories

Successful running of CLRIPC should result in the appearance of no messages on the screen. If messages appear as a result of CLRIPC, one or more jobs (including an interactive job that ran the PORTTEST program) might have locked some of the IPC shared memory. Determine which job locked shared memory and end it. Try logging off of a session in which you ran the PORTTEST program and running CLRIPC. If all attempts fail, you may change the .INI setting [JDEIPC] startIPCKeyValue to at least 1000 more or less than the current setting. Log off and back on again to ensure the new value is read. Attempt CLRIPC again, and restart JD Edwards EnterpriseOne if CLRIPC is successful.

An error with the security server occurred.

The JD Edwards EnterpriseOne network might be running as a service under one library list and you are trying to run the PORTTEST program under another library list. Display all the libraries in the current library list and correct the list if the displayed library list is wrong. Then run the PORTTEST program.

If the library list is correct, the problem could be because the activation group under which the job is running on the iSeries may retain some of the information from previous attempts. Log off, log on, and run the PORTTEST program again.

An error with the security server occurred.

The supplied user name or password might not match any names or passwords in the JD Edwards EnterpriseOne security table. Try one of these:

  • Run the PORTTEST program with a valid user name and password.

  • Add the given user name and password to the JD Edwards EnterpriseOne security table.

You get these message on the screen:

Invalid parms PORTTEST <USER> <PWD> <ENV>

You might not have included the correct number of arguments in the PORTTEST program. Use these arguments:

User - A valid JD Edwards EnterpriseOne user ID.

Password - Password for the JD Edwards EnterpriseOne user ID.

Environment - A valid JD Edwards EnterpriseOne environment.

Fewer than 99 F0902 records are written to the screen by PORTTEST.

A possible PORTTEST program failure. Examine the log files.

  • Fewer than 99 records might exist in the F0902 table. This is not an error, but you should review the log files for any errors.

  • The F0902 database table might not be accessible. Verify that you can query the F0902 table using SQL. Use the STRSQL command on the iSeries.

An error initializing the environment occurs in the log file.

The environment might not be set up correctly. Any errors in the affected .INI keys or database tables could cause the JD Edwards EnterpriseOne initialization to fail. The environment that the PORTTEST program uses is passed as a command line argument.

Troubleshooting: Running JDENET

Issue

Resolution

NETWORK dies immediately.

IPCs might not have been cleared before starting JD Edwards EnterpriseOne (that is, starting JDENET using the JD Edwards EnterpriseOne iSeries command STRNET). End JD Edwards EnterpriseOne (ENDNET). Clear IPCs (using the CLRIPC command) and restart JD Edwards EnterpriseOne.

The startIPCKeyValue in the .INI file could be used by another version of JD Edwards EnterpriseOne. Try one of these:

  • Change the startIPCKeyValue and restart the software. This problem is not easily evident by examining the log files or reviewing error messages. Symptoms of the problem include:

  • You attempt to run more than one version of JD Edwards EnterpriseOne on the iSeries.

  • One environment can be successfully started by itself. A second environment cannot be successfully started (that is, the JDENET_N job ends almost immediately after starting) for the second version.

  • Look in the jde_xxx and jdedebug_xxx log files for specific error messages.

  • Determine if the PORTTEST program runs correctly.

    If not, correct those problems, and then try restarting JD Edwards EnterpriseOne using STRNET.

  • The configuration for the local host name, local domain name, and IP address might be incorrect. In the command line, enter CFGTCP to access the Configure TCP/IP form. Select option 12 (Change local domain and host names) and verify the settings for the local domain name and the local host name (for example, YOURCOMPANY.COM and SRVR1 respectively). Then select option 10 (Work with TCP/IP host table entries) and verify that two names exist in connection with the IP address for the iSeries. One name is a combination of the local host name and the local domain name (for example, SRVR1.YOURCOMPANY.COM). The other name is just the local host name (for example, SRVR1).

  • Verify that the Relational Database Directory name is set up correctly. Use the WRKRDBDIRE command to verify that the name of the *LOCAL database is the same as the server. If they are different, refer to the iSeries Configuration guide to determine how to set this up correctly.

An error initializing the environment occurs in the log file.

  • Examine the issues in this section about the PORTTEST program.

  • Determine if the PORTTEST program runs correctly. If not, correct those problems, and then try restarting JD Edwards EnterpriseOne using STRNET.

Troubleshooting: Testing JD Edwards EnterpriseOne by Submitting a Report

Issue

Resolution

You get these message:

Communication Failure with <server name>

You might see a message referencing an error of 11, indicating a time out occurred because the server was started after the client was run. Try resubmitting the report.

A time out might have occurred because of heavy network traffic or server load. Increase the time out value for the JDENETTimeout setting in the [NETWORK QUEUE SETTINGS] section of the jde.ini file on the workstation.

The wrong communications port might have been used. Verify that the serviceNameListen value in the [JDENET] section of the jde.ini file on the workstation matches the serviceNameConnect value in the [JDENET] section of the jde.ini on the server. In addition, the serviceNameConnect value in the client jde.ini must match the serviceNameListen in the jde.ini on the server.

Other communications problems might exist. Run SERVERADMINISTRATIONWORKBENCH.exe (found in the system\bin32 directory on the workstation). This program displays only the machines on the specified port (also known as service) that are running JD Edwards EnterpriseOne (either client or server). Use this information to track down the problem:

  • If the remote machine is visible, a time-out probably occurred.

    Rerun the report.

  • If the remote machine is not visible, try to ping the remote machine using the name of the machine.

  • If the ping fails, try to ping the remote machine using its IP address.

  • With this information, determine if the client and server agree on the IP address for the server.

  • If none of these steps identify the problem, a general network error probably occurred (for example, the network is down or a machine is disconnected). Track it down.

The report does not display any data.

No data might exist in the database for the report that you are running, or you do not have access to the data. Try these:

  • Select a different report to verify that some reports do produce data.

  • Verify the database contains data that should be included in the report. Add data if necessary.

  • Change the processing options for the report.

  • Change the OCM and data sources to reference the correct library.

  • If the report is launched on the server, make sure that the vertical tables in the server OCM match those of the OCM for the workstation.

If no data is found, it could be because:

  • No data exists.

  • The processing options are incorrect.

  • The OCM for either the client or server is pointing to the wrong data source.

  • The data sources for either the client or server are pointing to the wrong database.

  • The SQL statement is incorrect (possibly due to a program bug).

  • The database drivers are out of date.

The report does not display any data.

An error might have occurred with the report. Review the jdedebug.log and jde.log files for errors.

An error initializing the environment occurs in the log file.

The environment might not be set up correctly:

  • Look for errors in .INI keys or database tables that can cause an initialization failure.

  • Stop JD Edwards EnterpriseOne and determine if the PORTTEST program runs correctly. If not, correct the problems, and then rerun JD Edwards EnterpriseOne manually.

You get this message:

Communication Failure with <server name>

This error occurs sometimes on the workstation

Restarting JDENET_N sometimes gets rid of the error

You can ping the server from the workstation

The server might have two network cards, which can confuse JDENET when the net communications are initialized between the client and server. One machine tries to connect using one network card, and the other machine connects using the other network card.

The hosts file on the server should list two different IP addresses for the server: one for each network card. The solution for the error involves setting the NetHostName field in the [JDENET] section of the JDE.INI to one of the names for the server given in the hosts file. JDENET then uses the IP address associated with the given network card.

Troubleshooting: Shutting Down JDENET

Running the iSeries command CLRIPC immediately after shutdown (that is, after running the iSeries command ENDNET) each time you shut down will help you avoid most restart problems.

Troubleshooting: Email and PPAT

Issue

Resolution

The batch application, server package installation, or table conversion log file (in the PrintQueue directory) displays the message:

PPAT:troubleshooting iSeries

XE Email:troubleshooting: iSeries

DoSendMessage Error: User 5600427 does not exist in the address book file (F0101).

The particular user may not be found in the F0101 table. Add the user to the F0101 table.

See Also

Understanding the iSeries Library Structure for JD Edwards EnterpriseOne

Troubleshooting the JDE.INI File

Click to jump to top of pageClick to jump to parent topicTroubleshooting Multiple Release Setup

This table explains how to troubleshoot problems that can occur with multiple releases on the iSeries:

Issue

Resolution

When you try to run multiple releases of JD Edwards EnterpriseOne at the same time, conflicts seem to occur between each release.

Each installed release of JD Edwards EnterpriseOne may not have its own unique set of keys in the .INI. Change these keys in one or both .INI files:

[JDEIPC]

startIPCKeyValue

[JDENET]

serviceNameListen

serviceNameConnect

Variable names and descriptions:

startIPCKeyValue

An integer value that indicates an arbitrary starting memory offset for interprocess communications. For multiple instances of JD Edwards EnterpriseOne server, be sure that the differences between these values are 1000 or more. The default value is 5000.

Note. IBM Opti-Connect and Opti-Mover products use the IPC shared memory address 9999. Avoid setting the jde.ini file setting IPCStartKey to a starting value using the range of 9000 to 9999.

serviceNameListen

Port through which JDENet listens for communications attempts. The default is jde_server (translated using the services file). Each instance of the JD Edwards EnterpriseOne server needs to communicate with JD Edwards EnterpriseOne clients through different ports.

serviceNameConnect

Port through which JDENet tries to initialize connections with other platforms. The default is jde_server (which is translated using the services file). Each instance of JD Edwards EnterpriseOne server needs to communicate with JD Edwards EnterpriseOne clients through different ports.

Also, verify that each version of JD Edwards EnterpriseOne has a unique set of libraries and database files. This is done using the ApplicationPathAddendum setting in the JDE.INI file.

Click to jump to top of pageClick to jump to parent topicTroubleshooting JDBNET

This table explains how to troubleshoot problems that can occur with JDBNET:

Issue

Resolution

You do not know how JDBNET is used.

JDBNET processes database requests using a client and server. It can also be configured to process server-to-server requests. This is, one server functions as a JDBNET client and the other as a JDBNET server.

JDBNET eliminates the need for database-specific network software. All database requests are transported to the JDBNET server, processed in a local database, and the results are transported back to the JDBNET client.

You get an error that the data source on the JDBNET server is not found.

The correct data source on the JDBNET server may not exist. Create a data source on the server that will be used by JDBNET. This is a normal configuration for a server data source that can be accessed by JDENet running on that server. Note the data source name (OMDATP) that will be used for the JDBNET client configuration.

You get an error that the data source on the JDBNET client is not found.

The correct data source on the JDBNET client may not exist. Use the P98611 application to create a JDBNET data source in the F98611 table using this information:

  • Data source name (OMDATP field) is used to access tables as specified in the F986101 table.

  • Server name (OMSRVR field) identifies the JDBNET server.

  • Database name (OMDATB field) matches exactly the data source name (that is, the OMDATP field) to be used by the JDBNET server.

  • All other columns must match the values in the corresponding columns of the server data source. Set this data source as an active override in the F986101 table for all tables that will be accessed through JDBNET.

JDBNET does not transfer any data

The network may not be running. End JD Edwards EnterpriseOne, clear IPC (using the iSeries CLRIPC command), and restart JD Edwards EnterpriseOne.

JDBNET does not transfer any data

The JDBNET server and client may not be using the same server port number. Modify the serviceNameListen and serviceNameConnect fields in the [JDENET] section of both the JDBNET jde.ini files on the server and on the workstation. These values must match on both the JDBNET server and JDBNET client.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Interprocess Communications

This subsection explains how to troubleshoot problems that can occur with Interprocess Communication (IPC).

Issue

Resolution

JD Edwards EnterpriseOne jobs cannot communicate with one another with these symptoms:

  • The PORTTEST program fails.

  • The security server on the iSeries fails.

  • UBE submissions fail.

If you activated ipcTrace in the [JDEIPC] section of the server jde.ini file, an error similar to this should appear in the JDEDEBUG.log:

IPC2100017 createIPC Msgq (name Port6005) failed, errno=3484: A damaged object was encountered

This could be because the iSeries release is pre-V4R2. In these releases, damaged IPC message queues might result when you end JD Edwards EnterpriseOne jobs using the command ENDJOB* IMMED.

  • Use the *CNTRLD option to end an iSeries job.

    Note. You might still have damaged IPC message queues if the iSeries-controlled ending times out.

  • Run these program to verify whether a damaged message queue exists. You must have V4R1 PTF# SF45946.

CALL QPOZIPCS PARM('-aqE')

This program generates a spool file called IPCS that contains information about message queues on the system. Look for these output:

KEY MODE

0x00000000 --------

0x00000000 --RW-------

0x00000000 --RW-------

0x00000000 --RW--------

0x00001234 D-RW----RW-

In this example, the message queue 0x00001234 is damaged. To fix, stop, and restart JDENET using these commands:

ENDNET

CLRIPC

STRNET

Also, if the ipcTrace setting in the [JDEIPC] section of the jde.ini file on the server is not set, activate the setting and run the PORTTEST program to determine whether any message queues are damaged. Look for the word damage in the JDEDEBUG.log file.

Note. Some of the message queues might be damaged even if the JDEDEBUG.log file does not indicate that any damage exists.

Click to jump to top of pageClick to jump to parent topicTroubleshooting the JDE.INI File

This section explains how to troubleshoot problems that can occur with the JDE.INI file. These notes apply to the .INI file in the E812SYS library:

Likewise, these values may be used to turn a feature off. They are not necessarily interchangeable as values in the .INI.

If you are told by JD Edwards Worldwide Customer Support Services to modify a key that does not exist, you can add the key. Just be sure that it is in the correct section.

Click to jump to parent topicTroubleshooting the UNIX/Linux Enterprise Server

This section provides an overview for UNIX/Linux enterprise server troubleshooting and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding UNIX/Linux Enterprise Server Troubleshooting

This section discusses some typical problems that you might encounter and their solutions. When troubleshooting, follow these guidelines:

Click to jump to top of pageClick to jump to parent topicTroubleshooting the JDE.INI File

To locate the JDE.INI file, search in the system/bin32 subdirectory. For example, /u01/JDEdwards/E812/ini/JDE.INI. These notes apply to the JDE.INI:

These values turn a feature off. They are not necessarily interchangeable as values in the JDE.INI.

If you are told by JD Edwards Worldwide Customer Support Services to modify a key that does not exist, you can add the key. Ensure that the key is in the correct section and entered with the correct spelling and case.

Click to jump to top of pageClick to jump to parent topicTroubleshooting JD Edwards EnterpriseOne File Copying to a Server

If you cannot copy files from the deployment server to the temporary directory on the enterprise server, this could be because ftp cannot connect. See the system administrator.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Database Table Configurations

If results or errors occur that imply that OCM is not set up correctly, review the description in this guide of how OCM is used by JD Edwards EnterpriseOne.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Printer Setup

If reports do not print from a server, verify the name of the default printer. Send a simple text file to the default printer using the lp command. If you get an error similar to these, then the printer is not configured on the server or is not online:

"lp: destination aPrinter non-existent"

Contact the system administrator for assistance.

For Linux, do not set up a print queue that translates files to postscript. The Linux print queues that are used by JD Edwards EnterpriseOne should generally be "raw" print queues that simply redirect the output of the file to the printer.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Email

If the report, server package installation, or table conversion log file (in the PrintQueue directory) displays the message DoSendMessage Error: User 5600427 does not exist in the address book file (F0101), the particular user might not be found in the F0101 table. Add the user to the F0101 table.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Multiple Release Setup

Each installed release of JD Edwards EnterpriseOne has its own JDE.INI in its ini directory. Point the user entries in the JDE.INI files to the directories of the log and other files. If the log files do not go to separate directories, change the appropriate keys in one or both JDE.INI files to point to unique directories for each installed instance of JD Edwards EnterpriseOne.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Report File Output Location

If you cannot find the report output files, consider this information:

Click to jump to top of pageClick to jump to parent topicTroubleshooting JDBNET Server Not Found

If you get an error that the data source on the JDBNET server is not found, the correct data source on the JDBNET server might not exist. Create a data source on the server that will be used by JDBNET. This is a normal configuration for a server data source that can be accessed by JDENet running on that server. Note the data source name (OMDATP) that will be used for the JDBNET client configuration.

If you get an error that the data source on the JDBNET client is not found, the correct data source on the JDBNET client might not exist. Create a JDBNET data source in the F98611 table using this information:

Set this data source as an active override in the F986101 table for all tables that will be accessed through JDBNET.

Click to jump to top of pageClick to jump to parent topicTroubleshooting JD Edwards EnterpriseOne Testing

If the PORTTEST program does not run successfully after startup:

Click to jump to parent topicTroubleshooting the Microsoft Windows Enterprise Server

This section provides an overview of Microsoft Windows enterprise server troubleshooting and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Microsoft Windows Enterprise Server Troubleshooting

This section discusses some typical problems that you might encounter and their solutions. When troubleshooting, follow these guidelines:

Click to jump to top of pageClick to jump to parent topicTroubleshooting JD Edwards EnterpriseOne Account Setup

If you cannot set up any accounts in the User Manager program, the account you are logged into in Microsoft Windows may not have the privileges to modify or add accounts. Log out of Microsoft Windows and log back on under the Administrator account or an account in the Administrators group.

Click to jump to top of pageClick to jump to parent topicTroubleshooting JD Edwards EnterpriseOne File Copying to a Server

If you cannot copy files from the CD to the JD Edwards EnterpriseOne directory on the enterprise server, verify that the CD is in the CD-ROM drive. Another cause is that one or more of the files to be copied is currently open on the CD:

If one or more of the files that will be overwritten in the target directory is open:

If the target disk is full:

Click to jump to top of pageClick to jump to parent topicTroubleshooting Database Table Configuration

If the OCM is not set up correctly and errors occur, run the VerifyOCM program to ensure that the OCM tables are set up correctly.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Printer Setup

If you cannot set up a printer:

Click to jump to top of pageClick to jump to parent topicTroubleshooting jde.ini File Setup

If you cannot find the jde.ini file:

Click to jump to top of pageClick to jump to parent topicTroubleshooting Finding the Log Files

If you cannot find the log files:

If not enough relevant information is written to the log files, this could be because additional logging information needs to be turned on in the jde.ini. Set these keys in the jde.ini for additional output to the log files:

[JDENET] netTrace=1 [JDEIPC] ipcTrace=1 [DEBUG] TAMTraceLevel=1 [UBE] UBEDebugLevel=6 [TCEngine] TraceLevel=10

These are the variables that you use to set logging options::

Click to jump to top of pageClick to jump to parent topicTroubleshooting Testing with the PORTTEST Program

If an error with the security server occurred:

If you get the message Invalid parms PORTTEST: <USER> <PWD> <ENV>, the correct number of arguments to PORTTEST may not have been included. Use these arguments:

If PORTTEST failed, examine the log files.

If fewer than 99 records exist in the F0902 table, this is not an error. You should review the log files for errors.

If the F0902 table is not accessible, verify that you can query the F0902 table using SQL.

If an error initializing the environment occurs in the log file, the environment may not have been set up correctly. See the chapter Understanding the JD Edwards EnterpriseOne Initialization for Windows in this guide for more information about how JD Edwards EnterpriseOne programs use OCM. Any errors in the affected jde.ini keys or database tables could cause the JD Edwards EnterpriseOne initialization to fail. The environment that PORTTEST uses is passed as a command line argument.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Running JD Edwards EnterpriseOne Manually

If an error initializing the environment occurs in the log file, the setup for some part of JD Edwards EnterpriseOne, such as the jde.ini file or OCM, may be incorrect. Examine the applicable problems in the “Testing with the PORTTEST Program” section in this chapter. Determine if the PORTTEST programs runs correctly. If not, correct those problems, and then try running JD Edwards EnterpriseOne manually.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Finding the Report Files

If you cannot find the report output files:

Click to jump to top of pageClick to jump to parent topicTroubleshooting Testing JD Edwards EnterpriseOne by Submitting a Report

Click to jump to top of pageClick to jump to parent topicTaking Ownership of a Printer

To take ownership of a printer:

  1. From the Microsoft Windows Start menu, select Settings, Printers.

  2. Right-click the desired printer.

  3. Select Properties,, and then select the Privileges tab.

  4. Click Ownership and Take Ownership.

    If the printer drivers are not installed, see the section Database Driver Files in this guide for information about which drivers you need.

    If the report printouts are in portrait mode but should be in landscape mode (or vice versa), verify that the orientation specified in RDA for the report is correct.

    If the default printer is set to the wrong orientation, set the orientation using these task:

  5. From the Microsoft Windows Start menu, select Settings, Printers.

  6. Right-click the desired printer.

  7. Select Document Defaults.

  8. Select the desired default orientation.

  9. Click OK.

Click to jump to top of pageClick to jump to parent topicStopping All JD Edwards EnterpriseOne Processes

If you need to stop the JD Edwards EnterpriseOne processes that you started from the command prompt, for example, jdenet_n, stop any of these processes that are running:

These additional processes, such as jdenet_k and runbatch, are started by jdenet_n and queue kernel.

To stop all JD Edwards EnterpriseOne processes:

  1. Run the Microsoft Windows Task Manager.

  2. Select the Processes tab.

  3. Select one of the running processes.

  4. Click End Process.

  5. Repeat for each process to be stopped.

Click to jump to top of pageClick to jump to parent topicStopping JD Edwards EnterpriseOne Processes Without Rights

Use this task if you do not have the rights to stop the processes.

To stop JD Edwards EnterpriseOne processes without rights:

  1. Log on to Microsoft Windows in an account that has rights to stop processes.

  2. Stop processes using Visual C++.

  3. Run the Microsoft Windows Task Manager.

  4. Select the Processes tab.

  5. Select one of the running processes.

  6. Click Debug Process.

    Visual C++ starts.

  7. Click the X in the upper right-hand corner to close Visual C++.

    Do not save the project workspace. This ends the runaway process.

  8. Repeat these steps for each runaway process.

    If they still do not end, reboot the machine.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Email

If the report, server package installation, or table conversion log file in the PrintQueue directory displays the message DoSendMessage Error:

User 5600427 does not exist in the address book file (F0101).

This could be because the particular user is not found in the F0101 table. Add the user to the F0101 table.

Click to jump to parent topicTroubleshooting Web Servers

This section provides an overview of web server troubleshooting and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Web Server Troubleshooting

This section discusses some typical issues you might encounter when using WebSphere and Java Application Server (JAS). It also explains other issues you might encounter with web servers and how to track down problems by using the log files in Server Manager.

Click to jump to top of pageClick to jump to parent topicTroubleshooting IIS and IBM HTTP Web Servers

If you need to configure with IIS and an IBM HTTP Server, refer to the installation documentation.

If you receive the message Recursive error - page not found, you need to make sure IIS is running for a particular instance of JAS. IIS instances can be stopped easily, and the user may forget to restart them. To make sure IIS is running for the particular instance of JAS, verify IIS instance properties by selecting the appropriate instance, and then right-clicking and choosing Properties. Confirm that the correct paths are listed for the desired JAS code.

Click to jump to top of pageClick to jump to parent topicTroubleshooting JAS

If no logs appear, verify that the [LOGS] setting in the jas.ini has logging turned on and points the log files to reside in the desired location (for example, ;log=d:\E812\internet\jas.log or ;debuglog=d:\E812\internet\jasdebuglog). If the log file paths are not correctly stipulated, the logs may be writing to a file located elsewhere.

If JAS seems slow, check to see whether jdbcTrace is set to TRUE or FALSE. If tracing is turned on or set to TRUE, the additional logging will dramatically slow JAS performance.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Serialized Database and Generation Issues

If you receive the message “Form is out of date...most likely needs to be regenerated,” this error usually occurs because the specifications used to construct the serialized database do not match the JAS code. Ensure that the date the JAS code was written matches the date of the jdecom.dll that resides in the E812\system\bin32 directory of the generating machine.

Also be sure to register the jdecom.dll. After you run the regsvr32 jdecom.dll command, the eGenerator recognizes the jdecom.dll and uses it to fetch JD Edwards EnterpriseOne specs and convert them into Java serialized objects.

If the menu does not appear when the user signs on to JD Edwards EnterpriseOne, check for these conditions:

Click to jump to top of pageClick to jump to parent topicTroubleshooting SQL Server Issues

If SQL Server process or Oracle process consumes excess CPU in a web server environment, the serialized objects for the web server are stored in either SQL server or the Oracle database. The web server must access these tables frequently when running an application. Indexes may be missing, which can cause severe performance problems.

Ensure that all existing JD Edwards EnterpriseOne indexes are created for tables F989998 and F989999. You should have one index for F989998 for columns WBJOBID and WBOID. You should also have one index for F989999 for columns WBUID, WBOID, WBLNGPREF. If these indexes do not exist in the database, generate them using Object Librarian.

Add a new index to the F989999. This index should include columns WBOID, WBUID, and WBJVER. Generate this index over the F9899999 table.

Update statistics on both tables as follows:

Improvements vary depending on the number of users accessing the serialized database.

Click to jump to top of pageClick to jump to parent topicTroubleshooting Problems Using Log Files

If you need to view logging information for the Java client, open the Java Console by choosing Java Console from the View menu in Internet Explorer. The Java Console displays all problems that the Java Virtual Machine on the client is having. Errors appear as uncaught exceptions in the console.

Note. You must have the appropriate internet options turned on to view the Java Console.

To enable the Java Console in Internet Explorer, select Tools, and then select Internet Options. In Internet Options, click the Advanced tab, scroll down to the section titled Java VM, and select these options:

If you need to troubleshoot errors in web applications:

If you need more information, enable Debug.log and set Net Trace, which you can do in the [LOGS] section of jas.ini file. Re-create the problem, view the Debug.log, and look for more information.

You can also use the Server Manager to monitor web servers.

Try to find SQL statement information. SQL statements can give you an idea of what values are being passed. Some common failures include: