E-PHC: CreateJSON.sh/bat Gets Stuck for Few Minutes and Fails With Error "Exception in thread "main" java.lang.Exception: Failed to get JSON Response. Server returned HTTP response code: 500"
(Doc ID 3019307.1)
Last updated on APRIL 30, 2024
Applies to:
PeopleSoft Enterprise PT PeopleTools - Version 8.59 and laterInformation in this document applies to any platform.
Symptoms
When attempting to Create JSON files for setting up the Health Center, the CreateJSON script seems to be processing for few minutes and then following error is shown in the LOGSTASH_HOME/pt/bin/CreateJSON.log file.
Error
--------
Info: Make sure your monitoring and monitored systems are on PT version 8.58 and above.
Error: Check if IB REST URL in LOGSTASH_HOME/pt/config/JsonLogstash.properties file is a valid one
Exception in thread "main" java.lang.Exception: Failed to get JSON Response. Server returned HTTP response code: 500 for URL: http://XXXX-XXXXXX.XXXXX.XXXXX.XX:8090/PSIGW/RESTListeningConnector/PT_LOCAL/PT_CREATEJSON_REST.v1/json=
at com.peoplesoft.pt.management.logstashjson.CreateJSON.main(CreateJSON.java:261)
At the same time, Integration Gateway <PS_CFG_HOME>/webserv/<domain>/applications/peoplesoft/PSIGW.war/WEB-INF/errorLog.html file shows the following error:
Error:
-------
"Application server id down"
This issue can be replicated following these steps:
-----------------------
1. Install Logstash for Health Center setup.
2. Run the CreateJSON script to replicate the issue.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |