Tuesday, December 4, 2007

Enabling PeopleCode Debugger

For PeopleSoft - PeopleCode 3-tier debugging, use PSADMIN to make sure that the following items are set.

1) The appropriate PSDBGSRV Listener Port is specified in the PeopleCode Debugger section of PSADMIN.

For example: Values for config section - PeopleCode Debugger
PSDBGSRV Listener Port=9500

2) At least two PSAPPSRV processes configured to boot in the domain with the Service Timeout parameter set to 0 (zero).

The minimum requirements for PeopleCode debugging are:
- Two (2) PSAPPSRV server processes configured to boot in the domain.
- The Service Timeout value in the PSAPPSRV configuration section must be set to zero (0).

The following example shows a sample PSAPPSRV section properly configured for debugging PeopleCode:
Values for config section - PSAPPSRV
Min Instances=2
Max Instances=2
Service Timeout=0
Recycle Count=0
Allowed Consec Service Failures=0
Max Fetch Size=5000

3) Enter y for Yes at the "Enable PSDBGSRV Server Process" prompt at the end of the PSADMIN interface.

After you have specified your settings using PSADMIN the system prompts you with a series of options, such as setting up messaging server processes, enabling Jolt, and so on. When prompted to enable the PSDBGSRV, enter Y. The Developer template defaults to Y.

3 comments:

Anonymous said...

Can someone please help me .. I am coding a port in the .cfg file, but when I restart the services and do an lsof display .. the debugger process is NOT listening on the port given ? can anyone help ???

PSDBGSRV 2670 hfuldvla 3u IPv4 0x300e02ec360 0t0 TCP csslu280fe:63806 (LISTEN)

Rakesh Parwal said...

- Is your app server able to restart successfully (from PSADMIN utility) after configuring PSDBGSRV?
- Did you check if the port is not being used by any other application in the box?

Chanakya said...

Hi Rakesh,

I am unable to debug using 3-tier mode. It is saying the port number is incorrect. I have used the WSL port. tried using the PIA port. is there something that i am missing. I checked the PSDBGSRV listener ports in config mgr and appsrv.cfg both are same.

Thanks!

OCI - Attach Block Volume to Windows VM

Tip: Although creating and attaching Block Storage to a Windows VM is pretty straightforward (OCI documentation is pretty good for that), th...