Tuesday, December 20, 2011
Xml Publisher setting
The problem seemed to be related to one of the solutions you sent me last week. Essentially all of the fields in the report need to be edited via the word properties - Add help text option so that the default fields in the form field help text window beginning with 'ref' are replaced with the actual field names. So for example:
Replaced with
Importantly the F and E fields which are at the start and end of all fields listed in a template that has repeating values need to be replaced as follows:
F field at the beginning:
replaced with
And
E field at the end:
Replaced with
This allows all of the values to be listed in a report table.
Friday, December 16, 2011
Turn on logging for xmlp Reports
Steps to Turn ON Logging for XMLP Reports for Debugging
Create a file named xdodebug.cfg and place it under [PS_HOME]\JRE\Lib] folder.The file should include the following line:
Under Windows
LogLevel=STATEMENT
LogDir=c:\temp
Under Unix
The file Should look like this (point to an appropriate temporary directory under the Unix box)
LogLevel=STATEMENT
LogDir=/pshome/appserv/
Remove xdodebug.cfg when finished replicating the issue.
The logging is specifically useful for troubleshooting the Template(RTF/PDF) or Data File(XML file) specific issues. The generated XML file is the actual data file which is run from the MS Word Design Helper Preview mode to narrow down the issue.
Monday, December 12, 2011
Peoplesoft on YouTube
Tuesday, October 18, 2011
psmail to send mails
Tuesday, October 11, 2011
Script to extract last 'n' number of lines from a text file
Wednesday, October 5, 2011
Find status of Services From command line
Process Scheduler delays in kicking the process
Friday, July 29, 2011
Applying PeopleTools 8.51.11 patch
A. Stop all the application servers, web servers and process schedulers.
B. Follow the below steps
FILE SERVER CHANGES
On windows 2008
1. rename d:\apps\pshome\ d:\apps\pshome_8.51.09
2. copy d:\apps\pshome_8.51.09 d:\apps\pshome_8.51.11
3. Apply 8.51.11 to d:\apps\pshome_8.51.11 directory
4. junction link name directory i.e. junction.exe pshome d:\apps\pshome_8.51.09
(for deleting links use the junction –d link unlike removing link in linux (rm link name))
5. copying jrockit
a. copy Q:\apps\technical\PEOPLETOOLS\pt851\jrockit-jdk1.6.0_26 d:\apps\
b. change the jrmc junction
c. d:\apps\junction –d jrmc
d. d:\apps\junction jrmc d:\apps\jrockit-jdk1.6.0_26
e. (documentation asks use to change D:\oracle\weblogic\common\bin\commEnv.cmd , change java home .. start using junction you created above)
On Linux
6. mv /apps/pshome /apps/pshome_8.51.09
7. cp /apps/pshome_8.51.09 /apps/pshome_8.51.11
8. Apply 8.51.11. to /apps/pshome_8.51.11
9. ln –s directory linkname i.e. ln –s /apps/pshome_8.51.11 pshome
10. copying jrockit (steps for people using links .. way to go)
a. unzip Q:\apps\technical\PEOPLETOOLS\pt851\ p12706519_2814_Linux-x86-64.zip and ftp it linux box (we can choose any method)
b. jrockit-jdk1.6.0_26 (linux) should be placed under /apps
c. change the jrmc link
d. rm jrmc
e. ln –s /apps/ jrockit-jdk1.6.0_26 jrmc
DATABASE CHANGES
On Windows
11. Login to Application Designer
12. Go - Data Mover
13. Run d:\apps\pshome_8.51.11\scripts\ptpatch.dms and exit Data Mover
14. From Application Designer
15. Copy Project from file - d:\apps\pshome_8.51.11\projects\PATCH851
16. IMPORTANT
a. After importing the patch851 project, instructions say to build the project if there are any database changes.
b. I am surprised with this instruction. (so I decided take a call at the end)
c . So in Demo, after looking at the DDD Audit, it is pretty clear that there are no changes to the database as DDD Audit is very clean.
d. Only 1 table and 2 views are there, that are in the database but not defined in the Application Designer.
e. Need to decide what to do with it.
17.
18. Exit from Application Designer
19. Login to Data Mover in boot strap mode
20. Run d:\apps\pshome_8.51.11\scripts\msgtlsupg.dms
21. Clear all the cache directories from Web , Application and process schedulers
a. /apps/user/DEMO/appserv/CACHE
b. /apps/user/DEMO/appserv/prcs/CACHE
c. D:\apps\user\DEMO\appserv\prcs\CACHE
d. D:\apps\user\DEMO\webserv\peoplesoft\applications\peoplesoft\PORTAL.war\ps\cache
22. Redeploy PIA
23. Start all the application servers, process schedulers, webservers.
24. Run all the process of each type.
25. Run DDDAudit, SysAudit and review.
Thursday, April 14, 2011
New Features - 8.51
11. Remove links like Signout.
_____________________________________________________________
1) Log in to application designer and open the html object PT_IFRAME_HDR
.
In PT_IFRAME_HDR, comment out the following line-
- %bind(:18)
2) Log in to application designer and open the html object PT_IFRAME_HDR_SWAN
In PT_IFRAME_HDR_SWAN, comment out the following line-
- %bind(:17)
This will not generate any header links.
3) There is another way you can disable only the "Sign out" link although It has not been tested thoroughly and not sure about its implications.
a) Open the peoplecode at PT_BRANDING.BrandingBase.OnExecute (note that PT_BRANDING is an application package).
Here comment out the following lines-
&signOutLink = &hdrLink.GetLogoutURL();
&hdrLinkHTML = %This.setIframeHdrLinkHTML(&hdrLinkHTML, &signOutLink, "");
This will not generate the "Sign out" link.
__________________________________________
12. report not posting link : http://peoplesoft.wikidot.com/reports-not-posting
1. Run firewall.cpl and press enter.
2. Enable “file and printer sharing (ICMP requestv4)” and save it.
Wednesday, March 30, 2011
Integration Broker Queues
Integration Broker Queues
- Publication Contracts
select queuename,statusstring,count(*) from psapmsgpubcon where trunc(createdttm) = trunc(sysdate) group by queuename,statusstring
- Subsription Contracts
select queuename,statusstring,count(*) from psapmsgsubcon where trunc(createdttm) = trunc(sysdate) group by queuename,statusstring order by 1
For a date range.
- Publication Contracts
select queuename,statusstring,count(*) from psapmsgpubcon where trunc(createdttm) between trunc(sysdate-
- Subsription Contracts
select queuename,statusstring,count(*) from psapmsgsubcon where trunc(createdttm) between trunc(sysdate-
______________________________________________________________________________________________________________________
Domain Status
SELECT DOMAIN_STATUS INTO DSTAT FROM PSAPMSGDOMSTAT
______________________________________________________________________________________________________________________
Domain is active, but messages not being processed
For publication messages
SELECT IBTRANSACTIONID,QUEUENAME,CREATEDTTM,PUBLISHTIMESTAMP,STATUSSTRING ,
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)
|| ' HOURS ' ||
floor((((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60) -
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)*3600)/60)
|| ' MINUTES ' ||
round((((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60) -
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)*3600 -
(floor((((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60) -
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)*3600)/60)*60) ))
|| ' SECS ' time_difference
FROM PSAPMSGPUBCON
WHERE STATUSSTRING IN ('NEW','ERROR') AND trunc(createdttm) = trunc(sysdate) ORDER BY 4
For subscription messages
Looking at the above query and this query we can find out if the domain is active but still messages are not being proecessed.
SELECT IBTRANSACTIONID,QUEUENAME,CREATEDTTM,PUBLISHTIMESTAMP,STATUSSTRING ,
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)
|| ' HOURS ' ||
floor((((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60) -
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)*3600)/60)
|| ' MINUTES ' ||
round((((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60) -
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)*3600 -
(floor((((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60) -
floor(((CREATEDTTM-PUBLISHTIMESTAMP)*24*60*60)/3600)*3600)/60)*60) ))
|| ' SECS ' time_difference
FROM PSAPMSGSUBCON
WHERE STATUSSTRING IN ('NEW','ERROR') AND trunc(createdttm) = trunc(sysdate) ORDER BY 4