Eh… after hours of debugging and thinking – the answer turned out to be the most obvious one – both clients I have been using were closing the connection (probably timeout). It worked in wget and postman while using swagger and advanced rest client caused the exception to be thrown.
Related Posts:
- The import javax.servlet can’t be resolved
- getting error HTTP Status 405 – HTTP method GET is not supported by this URL but not used `get` ever?
- What is Java Servlet?
- When is the @JsonProperty property used and what is it used for?
- How to request.getParameterNames into List of strings?
- When is the @JsonProperty property used and what is it used for?
- Server Tomcat v9.0 Server at localhost failed to start
- Session TimeOut in web.xml
- Server Tomcat v9.0 Server at localhost failed to start
- java.net.SocketTimeoutException: Read timed out under Tomcat
- How to resolve Error listenerStart when deploying web-app in Tomcat 5.5?
- org.glassfish.jersey.servlet.ServletContainer ClassNotFoundException
- How to solve javax.net.ssl.SSLHandshakeException Error?
- Uri not Absolute exception getting while calling Restful Webservice
- Only using @JsonIgnore during serialization, but not deserialization
- java.lang.NumberFormatException: null i
- org.apache.jasper.JasperException: Unable to compile class for JSP:
- WebServlet cannot be resolved to a type
- keytool error bash: keytool: command not found
- HTTP Status 500 Error instantiating servlet class
- hibernate properties not found
- How to convert the following json string to java object?
- MultipartException: Current request is not a multipart request
- how to fix Cannot call sendRedirect() after the response has been committed?
- What is the difference between JSF, Servlet and JSP?
- JaxbRepresentation gives error “doesnt contain ObjectFactory.class or jaxb.index”
- Jackson with JSON: Unrecognized field, not marked as ignorable
- JsonMappingException: No suitable constructor found for type [simple type, class ]: can not instantiate from JSON object
- Invalid initial heap size. Could not create the Java virtual machine
- Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/JDBC_DBO]]
- what is the difference between doGet() and doPost() in term of the flow?
- build-impl.xml:1031: The module has not been deployed
- How do you create a REST client for Java?
- Unknown version of Tomcat was specified in Eclipse
- Official reasons for “Software caused connection abort: socket write error”
- getOutputStream() has already been called for this response
- MessageBodyWriter not found for media type=application/json
- How to specify the default error page in web.xml?
- Spring boot: Unable to start embedded Tomcat servlet container
- Http status 401 This request requires HTTP authentication (). in tomcat 6
- No content to map due to end-of-input jackson parser
- What does Java option -Xmx stand for? [duplicate]
- How do I convert a String to an int in Java?
- What does Java option -Xmx stand for? [duplicate]
- Is there an invisible character that is not regarded as whitespace?
- Problem with gif with transparent background
- Finding white rectangle in an image
- 1000 * 60 * 60 * 24 * 30 results in a negative number [duplicate]
- How to convert nanoseconds to seconds using the TimeUnit enum?
- Search for words with telephone numbers from 2-3-4 tree
- Using or ‘|’ in regex [duplicate]
- How to format strings in Java
- What is the difference between x86 and x64
- && (AND) and || (OR) in IF statements
- How to use the toString method in Java?
- What is a NullPointerException, and how do I fix it?
- What exactly is Apache Camel?
- Unable to find valid certification path to requested target – error even after cert imported
- Unable to find valid certification path to requested target – error even after cert imported
- What is the equivalent of the C++ Pair
in Java? - Java – Convert integer to string [duplicate]
- Getting random numbers in Java [duplicate]
- What is an instance variable in Java?
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- Java: “error: cannot find symbol”
- How does the Java ‘for each’ loop work?
- What is a StackOverflowError?
- How to uninstall Eclipse?
- Is GNU’s Java Compiler (GCJ) dead? [closed]
- How does System.out.print() work?
- How do I “decompile” Java class files? [closed]
- How do I determine whether an array contains a particular value in Java?
- How to initialize an array in Java?
- How does the Java ‘for each’ loop work?
- Java 8 Iterable.forEach() vs foreach loop
- Initialize part of an array in java
- How can I solve Exception in thread “main” java.lang.NullPointerException error [duplicate]
- How to split a string in Java
- What does “Could not find or load main class” mean?
- What does “Could not find or load main class” mean?
- Why am I getting a NoClassDefFoundError in Java?
- How to avoid “ConcurrentModificationException” while removing elements from `ArrayList` while iterating it? [duplicate]
- Eclipse/Maven error: “No compiler is provided in this environment”
- How do I compare strings in Java?
- What is reflection and why is it useful?
- Implementing UML diagram to Java [closed]
- How to round a number to n decimal places in Java
- Using Pairs or 2-tuples in Java [duplicate]
- How do I create a file and write to it?
- Could not reserve enough space for object heap
- When to use LinkedList over ArrayList in Java?
- How to convert a char to a String?
- Difference between Arrays.asList(array) and new ArrayList
(Arrays.asList(array)) - What is the proper way to handle a NumberFormatException when it is expected?
- What causes “Unable to access jarfile” error?
- What does “Could not find or load main class” mean?
- How do you create a dictionary in Java? [closed]
- Reading a plain text file in Java
- Error unable to access jarfile C:\Jar