For one of our requirements, we are using curl command from a Linux box to call the servlet using PEM certificates type. Once servlet is trigger, the data will be loaded through servlet. If the servlet thread is completed successfully, then the control should return to Unix and based on the process status, I need to do some operations.
The problem is if I can check the code as ${?}, then return code as 0 for successful servlet triggered without any waiting for the thread to complete. I need the flow to be synchronous.
Is there any way that I can check the status of thread or if the process is completed then only I will my next operations.
The command I am using is
I need the status if the servlet thread is completed without any exception.
The $? value only returns if any error during servlet call..
Please help.
Last edited by rbatte1; 09-12-2014 at 01:31 PM..
Reason: Added CODE tags, ICODE tags and capital letters
Hi
I need to get rates for different security form REST API . the API is oauth 2.0 secured.
i need to use curl command to get json response from api .
token URL - is HTTP
data URL is - HTTPS
when trigger my command from bash script it passing and failing intermittently with... (0 Replies)
Hello, Newbie here,
I have a perfectly well working web service call I can issue from chrome (PC Windows 10) and get the results I want (a dimmer being turned on in Fibaro Home Center 2 at level 40)
I am not allowed to post urls but the below works with http and :// and... (3 Replies)
Good morning! Need a little advice as to which direction I should choose when it comes to certifications. My current position now is a RH Linux Administrator, and have been in the position for about 4 months. We are currently running RHEL 6.8 VM's, with no plans to moving to RHEL 7 no time soon... (0 Replies)
Am trying to find a copy of xsql servlet for solaris 7 but it seams its no longer available to download so am wondering if anyone has a copy backed up there can share with me?
thanks :) (2 Replies)
I need to invoke a web service and extract what I need from the response using a combination of curl and xsltproc. However, any file-based parameters that must be supplied to both these programs must be from stdin and not actual files.
At least with curl, it seems to think that I am supplying a... (3 Replies)
Hi All,
I have deployed a servlet on my server and the u r l is
http://
localhost:9080/ ExampleApp / TestJackServlet
This works fine when i launch this URL from the browser
I am looking for shell script to hit the servlet or hit the URL without launching the browser session.
I... (3 Replies)
Hi All,
I'm trying to play around with Java Servlets. I have a apache web server running on Solaris. And I'm trying to understand which file I add the JAVA CLASSPATH too so that when apache starts up it will have access to mysql interface libraries etc.
Could some one please tell me?
... (0 Replies)