Appendix: Troubleshooting Change Assistant and EMF

This appendix covers topics related to troubleshooting the configuration and operation of Change Assistant and the Environment Management Framework.

Click to jump to parent topicPeer Cannot Connect to the Hub

When an Environment Management peer (typically an agent or the viewer) can't communicate with the hub, the following error messages appear in the logs and stdout:

Broken connection - attempting to reconnect RemoteException while connecting to server - retrying attempt 1 RemoteException while connecting to server - retrying attempt 2 RemoteException while connecting to server - retrying attempt 3

The peer periodically attempts to reconnect to the hub (by default every ten seconds) with the parameters that are specified in the configuration.properties file.

Determining the Error Condition

The peer may not be able to communicate with the hub for one of the following reasons:

When the peer has a pinginterval configuration parameter set to a high value (60 seconds or more), the following exception might appear in the log:

INFO Thread-48 org.apache.commons.httpclient.HttpMethodBase - Recoverable exception caught when processing request WARN Thread-48 org.apache.commons.httpclient.HttpMethodBase - Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception Broken connection - attempting to reconnect Sending pulse from 'com.peoplesoft.emf.peer:id=5'

This is due to an HTTP client connection timeout which does not affect functionality.

Ensuring the Correct Configuration

To ensure that you've configured the peer (agent or viewer) to properly connect with the hub, try each of the following actions in turn:

Agent-Specific Resolutions

If an agent is still experiencing connection difficulties, delete the following agent directories if they exist:

Note. You must also delete these directories after you install an additional hub on the same machine which doesn't replace the existing hub, then shut down the old hub and start the new hub using the same settings.

Viewer-Specific Resolutions

If the viewer Java application can't connect to the hub, first ensure that you specify the right port number when launching the viewer program.

If you set up PIA for a single server, 80 is the default port number, if you set up PIA for multiple servers, 8081 is the default listening port number for PSEMHUB.

If the viewer is still experiencing connection difficulties, delete the following viewer directories if they exist:

Note. You must also delete these directories after you install an additional hub on the same machine which doesn't replace the existing hub, then shut down the old hub and start the new hub using the same settings.

Click to jump to parent topicServlet Request Processor Exception

When running WebSphere on multiple servers the following error can occur in the stdout log of the server running PSEMHUB:

[10/21/03 20:32:44:826 PDT] 136aa03 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The host pt-lnx03.peoplesoft.com on port 6080 has not been defined

Use the following steps to correct the error: . (the host now can accept redirected queries from your reverse proxy. Normally this configuration is applied during PIA install).

  1. Open your WebSphere administration console.

  2. Select Environment, Virtual Hosts, default_host, Host Aliases.

  3. Add *.* so the host now can accept redirected queries from the reverse proxy.

    Normally this configuration is applied during PIA install.

Click to jump to parent topicError Initializing Agent

When starting agents, if you receive the following error message, determine whether an agent is already running:

Error initializing agent. Verify if another agent is not running on this machine or if you have the required permission to run the agent.

If the console for the agent is not visible, check the task manager for the list of Java processes that are currently running. Stop a running agent by invoking the scripts to stop the agents and then restart the desired agent.

Determine whether the agent port is available. If not, choose a different port to start the agent.

Click to jump to parent topicDistributed Object Manager Errors

When running process, such as Application Engine, through the Process Scheduler (by way of Change Assistant) the following error can occur if you do not have security set appropriately for the PROCESSREQUEST.

Connecting to App Server: 10.138.124.216:9000 Error, exception caught: Distributed Object Manager: Page=Create Language=%2 (1,4)

See Ensuring Process Scheduler Security Authentication.

Click to jump to parent topicCloned Databases Not Being Unique

When copying databases, it is extremely important to delete the GUID value in the new (copied) database. If not deleted, the hub will assume that the two environments are the same, leading to confusing environment records.

To resolve this, set the value of the GUID field in the PSOPTIONS table to <space> in the new database. You can insert the blank value in the PSOPTIONS table using the SQL tool at your site. The next time an application server connects to the database, the system generates a new, unique GUID.

Click to jump to parent topicLarge SQL Scripts Fail on Microsoft SQL Server

In some situations, depending on various factors, such as memory available on the Change Assistant workstation, large SQL scripts can fail when run against Microsoft SQL Server. For example, this can occur when running the Microsoft conversion script during an upgrade.

To resolve this issue:

Click to jump to parent topicProcess Scheduler Logs Retrieved Using FTP Losing Formatting

When reviewing Process Scheduler files retrieved by way of FTP, in some cases formatting is lost.

This is typically an issue with the ANSI setting on the FTP server. For example, on a vsftpd server, in the vsftpd.conf file, make sure ascii_download_enable is set to YES. If not, stop the FTP daemon, modify the setting, and restart the FTP daemon. (Adjust this information as needed for your FTP server).

Click to jump to parent topicErrors Found in Log Files

Change Assistant scans log files that are generated when various processes run, such as SQL, Data Mover, SQR, CopyDatabase and so on. The following table describes what logs are produced and what Change Assistant determines to be an error:

Processes

Log File

Error

Warning Status

Application Engine

<process name>_out.log

Restart Failed.

Invalid, Error.

Abended.

Abort.

Not Defined.

Warning.

Build Project

CompareAndReport

CopyDatabase

CopyFromFile

CopyToFile

CreateProject

<process name>.log

Error.

Invalid PeopleCode.

Copy process cancelled.

Project <xxx> does not exist.

Warning.

DataMoverBootstrap

DataMoverTools

DataMoverUser

LoadBaseData

<process name>_out.log

Note. Any logs generated by the Data Mover SET LOG statement will also be available.

Unsuccessful.

PSDMTX Error.

Warning.

DBTSFIX SQRReport

<process name>_0.out

<process name>_out.log

Note. Change Assistant retrieves the SQR log files using the SQR settings in the Configuration Manager.

TNS Error.

Program Aborting.

Not Defined Error.

NA

Deploy File

<process name>_out.log

Failure.

  • Unable to connect.

  • Environment Management Components are Unavailable.

Warning status.

NA

DSAutoGeneration

DSCompile

DSCustomReport

DSPatchCorrection

DSPatchImport

<process name>_out.log

<process name>.log

Failed.

Warning status.

NA

DSGetLogs

DSInitialImport

DSRunJob

<process name>_out.log

<process name>_detailed.log

<process name>.log

Failed.

Warning status.

NA

SQLCommand

SQLScript

UpdatePeopleTools

<process name>.log

DB2 z/OS and DB2 UDB:

  • SQLSTATE=value (value cannot be 02000).

  • SQLxxxxxN.

  • DB2xxxxxE.

Oracle: ORA.

Informix:

  • Error.

  • Transaction rolled back.

Sybase: Msg

Microsoft SQL Server:

  • Msg[Microsoft].

  • Cannot open database, access denied.

  • Specified SQL Server not found.

    Transaction rolled back.

  • ConnectionOpen (Connect()).

  • Login failed.

Warning.