Hi Sagar, Yeah, this seems to be the same library I saw last time. I think there's something with how this library set its options that is not done in a "one shot" kinda way. They set options one at a time, which makes you run out of your options quota faster than your creation one.
Last time I saw this, the solution was to drop the library and use something else :S. Cheers On Tuesday, November 10, 2015 at 6:53:44 PM UTC-5, Sagar Mutha wrote: > > Hello Patrice, > > Thank you for your response! I am using the Apache library which does the > setting of socket options I think. Here is what my code looks like. > > @Path("/") > public class SparkResource implements Serializable { > > /** > * > */ > private static final long serialVersionUID = -5278229852877855876L; > private final CloseableHttpClient httpClient = > HttpClients.createDefault(); > private final Logger log = Logger.getLogger(RailwayResource.class > .getName()); > > @GET > @Path("spark") > @Produces({MediaType.APPLICATION_JSON}) > public String readSparkStatus(@QueryParam("param1") String param1 > throws Exception { > > HttpPost httpPost = new HttpPost("http://www.spark.com"); > > > ... -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/edfb3869-ead8-48b5-94e6-2136a6787f86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.