

Cadet 2nd Class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-02-03
08:00
561 views
IT is taking too long to conect hpsm, save and retrieving incidents.
I am using HPSM rest api to post incident and retirieving incidents, but when i invoke post(save incident) service through java with HTTP URL Connection, Initially it is taking nearly 5 mins for creatign incident, and then it is taking 30 secs for saving incident, 10 secs form retrieving incidents.
My client(java application) is reciding in different machine and hpsm is installed in different machine.
I am using Normal java code to connect hpsm.
URL url = new URL("<HPSM URL Located in remote machine>"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET Or POST"); conn.setRequestProperty("Accept", "application/json");
It would be appreciable, if any one provide solution.
Thanks.
1 Reply
TomPowe

Fleet Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-02-03
12:00
You need to run a trace on the SM side. But the debug parameters of RTM:3 and debugdbquery:999 on the servlet and then look at the log to see why it's taking so long