I am trying to send requests using JMeter to my application that is running on localhost but many of the requests get failed due to java.net.SocketException
SocketException means network problem. check you running server status.