Tuesday, 24 January 2017

Error "java.lang.NegativeArraySizeException" while starting HTTPS 12c server

Error "java.lang.NegativeArraySizeException" while starting HTTPS 12c server


I got below error 
./startComponent.sh ohs1
Starting system Component ohs1 ...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Reading domain from /oracle/webserver/user_projects/domains/base_domain


Error: java.lang.NegativeArraySizeException

Exiting WebLogic Scripting Tool.

To fix it we need to go to 
cd $HOME
 there will be a hidden folder .wlst
Inside it file  nm-key-base_domain.props got corrupted, so delete it and re-run

Worked after that.

Tuesday, 10 January 2017

Peoplesoft Health Center

Peoplesoft Health Center

Understanding PeopleSoft Health Center

The PeopleSoft Health Center enables you to monitor the health of your PeopleSoft application by providing real-time analysis of performance and load. The PeopleSoft Health Center can be used for self-monitoring of an application or for multiple systems in a single monitoring system. Additionally, PeopleSoft Health Center provides alerts that enable you to attend to immediate performance issues.
In PeopleTools 8.55, both the PPM (PeopleSoft Performance Monitor) agent and the JMX (Java Management Extensions) agents are enabled by default. While the PPM agent is required for component registration, the JMX agent is required for real-time monitoring in PeopleSoft Health Center.
On initial access of PeopleSoft Health Center, Health Center completes the following tasks:
1.       Registers a component or domain with the PPM agent.
2.       Authenticates the registered component or domain using JMX agents.
PeopleSoft Health Center presents monitoring data in the form of a dashboard (Application dashboard), which includes the following information:
  General self-monitoring health information.
  Alerts of potential performance issues.
  Health status of participating components or domains.



  Log files.
The health status, performance and load details of each component or domain are presented in separate dashboards that can be accessed from the Application dashboard.
Note: You cannot configure the content and layout of dashboards.
PeopleSoft Health Center allows you to choose which component or domain you want to be monitored. You make this selection on the initial access of Health Center.
All log files created and updated by Tuxedo domains and web server are available on PeopleSoft Health Center. Each domain or server level dashboard lists log files associated with the domain or server.
Each log file is represented as a tile with the following information:
File name.
File size.
Last modified date
------------------------------------------------------------------------------------------------------------------------------------------

Configuration of Peoplesoft Health Center 

-          Configure Integration Broker.
-          Set the Performance Collator property.
-          Enable the PPM agents.
-          Enable and configure the JMX agents.
-          (Optional) Set the Mobile Application Platform session time-out.

Configure Integration Broker.

1 . Make sure IB is working fine, Local node is pinging and in service configuration REST service is having correct URL.

Set the Performance Collator property.

To set the Performance Collator property:
1.       Run PSADMIN and choose the domain that you want to configure.
2.       Select 4) Configure this domain.
3.       To configure the domain, the domain needs to be shut down.
4.       Enter y to the question: Do you want to continue (y/n).
5.       Toggle 10) Perf Collator to set it to Yes.
6.       Select 14) Load config as shown.
7.       Restart the domain.

Enable the PPM agents

To enable the PPM agents:
1.       Run PSADMIN and choose the domain that you want to configure.
2.       Select 6) Edit configuration/log files menu.
3.       Select 1) Edit domain configuration file.
4.       In the configuration file, in the PSTOOLS section, locate the EnablePPM Agent parameter and set the value to 1.
5.       If you set the value to 0, the PPM agents are disabled.
6.       Save the changes you made in the configuration file.
7.       Restart the domain.

Enable and configure the JMX agents

To enable JMX agents:
1.       Run PSADMIN and choose the domain that you want to configure.
2.       Select 6) Edit configuration/log files menu.
3.       Select 1) Edit domain configuration file.
4.       In the configuration file, in the PSTOOLS section, locate the following parameters and set the values:
5.       Enable Remote Administration - Set the value to 1.
6.       Remote Administration Port - Set the value to 10100.
7.       Remote Administration Userid - Enter a user ID, for example, admin.
8.       Remote Administration Password - Enter an encrypted password. To encrypt the password, use the PSCipher utility.
9.       For more information on encrypting passwords, see Encrypting Passwords Using the PSCipher Java Utility.
10.   Save the changes you made in the configuration file.
11.   Restart the domain.

(Optional) Set the Mobile Application Platform session time-out.

To modify the session time-out on the MAP Security page:
1.       Navigate to select PeopleTools, then select Mobile Application Platform, then select MAP Administration, then select MAP Security.
2.       In the Session Timeout field, replace the default 5 minutes with an appropriate number, such as 60 minutes.
3.       Click Save.

Issues


Issue I was facing that whenever I was navigating to Health center and clicking the link it was giving broken signon page and issue as below :-
Your PeopleSoft connection has expired. For increased security on this site, connections are expired after 0 minutes of inactivity. Your PeopleSoft session has expired. Close all browser windows before logging in again. If this is your only active PeopleSoft session, click the Sign In link to sign in again.
Sign in to PeopleSoft

Later When I was navigating to Mobile application platform there was Layout designer click that
You will find PT_MAPFLUID click that and click later on View Initialization URL and I was not getting URL with domain name. I changed domain name in Gateway URL,Service configuration URL.
Later go to map security increase time to 30 min
Then Map File synchronization and do cleanup and synchronization. Later URL will start working.
Weserver password will be same as weblogic console.
System – Passw0rd
Appserver and psunx password we need to change in Main menu>Peopletools>Performance Monitor>administration>JMX users
Make changes in cfg files too using psadmin utility.
User id and password kept is admin – Passw0rd
----------------------------------The END---------------------------------------------
Userid and password is not correct and one java related issue while clicking webserver domain in health center side.

Solution wa sto update the encrypted password in backed for system and admin.

select * from PS_PTPMJMXUSER;

Update PS_PTPMJMXUSER set PTPMJMXPSWD='{V1.1}7m4OtVxxxxxxx' where PM_AGENTID=19;



Thursday, 29 December 2016

Elastic search Installastion and configuration with Peoplesoft

Go through below link.
http://psadmin.io/2016/11/08/deploy-and-configure-elasticsearch/

Monday, 26 December 2016

               Enable Debug log level on the SES

Navigate to ses_home/bin/clexecutor.sh and inside it edit the log level as per need.
So for debug its 2. change it with 2 and you can enable the debug log level. Bounce the ses server afterward.

Thursday, 22 December 2016

PIA domain installed with old method now nee dto make use of psadmin utility to start and stop webserver :-


Make change in .bash_profile 

it should be like below :-

if [ -f /oracle/psoft_scripts/eigenpshrenv ]
 then
        . /oracle/psoft_scripts/eigenpshrenv
fi

export ORACLE_HOME=/oracle/middleware/Oracle_WT1

export ORACLE_INSTANCE=/oracle/middleware/Oracle_WT1/instances/instance1

export COMPONENT_TYPE=OHS

export COMPONENT_NAME=ohs1

export PATH=$ORACLE_INSTANCE/bin:$PATH

and add eigenpshrenv file and you can create folder like I did to separate it, its your wish you create or not. My file is as it is :- 
#
#
# Environment variables specific for PeopleSoft HR
#
#
if [ -f /oracle/tuxedo/tuxedo12.1.3.0.0/tux.env ]
then
  . /oracle/tuxedo/tuxedo12.1.3.0.0/tux.env
fi


if [ -f /oracle/peopletools/8.55/psconfig.sh ]
then
  . /oracle/peopletools/8.55/psconfig.sh
else
   echo "/oracle/peopletools/8.55/psconfig.sh DOES NOT EXIST"
fi
#
export PS_HOME=/oracle/peopletools/8.55
PATH=$PATH:$PS_HOME/bin:$PS_HOME/cblbin:/oracle/psoft_scripts:.;export PATH
#
# NLS_LANG op UTF8
#
export NLS_LANG=AMERICAN_AMERICA.UTF8
#
# Toegevoegde variabelen voor AE
export PS_PRCS_BASE=$PS_HOME/psft/pt/8.55/appserv/prcs
export PS_BIN=$PS_HOME/bin
export PS_AE_BINARY=$PS_BIN/psae
#
# Working directory in het path zetten
#
export PATH=$PATH:.
#
# Aanpassing Oracle 9i $ORACLE_HOME/lib32 vooraan in SHLIB_PATH
#
SHLIB_PATH=$ORACLE_HOME/lib32:$SHLIB_PATH;export SHLIB_PATH
#
# Adds for integration PeopleSoft MQ
#
LD_LIBRARY_PATH=/opt/mqm/java/lib64:$PS_HOME/colrlib:$LD_LIBRARY_PATH:$PS_HOME/bin;export LD_LIBRARY_PATH
MQ_JAVA_PATH=/opt/mqm/java/lib64
CLASSPATH=/opt/mqm/lib64:/opt/mqm/java/lib64:$PS_HOME/colrlib:$CLASSPATH;export CLASSPATH
PS_CLASSPATH=/opt/mqm/lib64:/opt/mqm/java/lib64:$PS_HOME/colrlib:$CLASSPATH;export PS_CLASSPATH
#
#export PS_APP_HOME=/oracle/application/hcm92
#export PS_CUST_HOME=/oracle/pscustom
export PS_CFG_HOME=/oracle/pia_855

close the session and reopen new session and you can make use of psadmin utility to start and stop webserver.

Webserver taking long time to shutdown & PSAdminException: Domain shutdown timeout exceeded


Edit stopPIA.sh script and add  below line

"-Djava.security.egd=file:/dev/./urandom"

after change it should be like below

${JAVA_HOME}/bin/java -Djava.security.egd=file:/dev/./urandom -Dweblogic.system.BootIdentityFile=${DOMAIN_HOME}/piaconfig/properties/wlop.properties weblogic.Admin -url ${URL} FORCESHUTDOWN ${SERVER} 1>${DOMAIN_HOME}/servers/${SERVER}/logs/${SERVER}_shutdown.log 2>${DOMAIN_HOME}/servers/${SERVER}/logs/${SERVER}_shutdownerr.log


Thursday, 15 December 2016

Issue in IE accessing signin hyperlink in cadidate gateway but same is working fine in Chrome

We were facing this issue in our external URL, it was giving problem when we were clicking the signin hyperlink. when we checked the web.xml file our http/https ports were mismatching that is it was same was for PIA domain one that is local URL. so changing the ports in all web.xml and weblogic files fixed the issue. Sometimes back I fixed similar issue related to hyperlink which was fixed after enabling webLogic plug-in enabled in weblogic console, make it yes.

Below locations of web.xml files and check weblogic files too.
 /HttpClusterServlet/WEB-INF/web.xml 
/HttpProxyServlet/WEB-INF/web.xml 
/PORTAL.war/WEB-INF/web.xml 

The purge process did not run because the Oprid configured to start the Process Scheduler did not have the required permissions to run the purge process.

  Purge process - Required permissions The PeopleSoft Oprid used to start the Process Scheduler, as defined in the Scheduler's psprcs.cf...