score:1
Accepted answer
adding async-supported in web.xml does the trick for me. i no longer see the exception after that.
although i am still having issue on my client side where it is not receiving chunked output each time when a write occur. instead it is receiving all chunked output all at once at the end.
<servlet>
<servlet-name>jersey rest service</servlet-name>
<servlet-class>org.glassfish.jersey.servlet.servletcontainer</servlet-class>
<init-param>
<param-name>jersey.config.server.provider.packages</param-name>
<param-value>jaxrs.prototype;org.codehaus.jackson.jaxrs</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
<async-supported>true</async-supported>
</servlet>
Source: stackoverflow.com
Related Query
- Could not get ChunkedOutput working using JAX-RS Jersey 2.3.1 with Tomcat 7
- jersey rest service with tomcat not working with welcome file configuration in web.xml
- apache tomcat 9.x not working with eclipse & Java 10.0.1
- Apache Tomcat 7.0 not working properly with eclipse EE juno version
- Could not find method from the newer API with using TargetApi annotation
- Trying to get tomcat 7 working with eclipse 3.6.1
- Resource not available error using Eclipse Kepler with Struts 2 + Tomcat 7
- javax.ws.rs.NotFoundException: Could not find resource for full path: with RESTEasy, Eclipse Luna and Tomcat 7
- getting java.lang.UnsatisfiedLinkError: The specified module could not be found while working with tesseract in windows
- @webServlet not working with tomcat 7 eclipse
- Couldn't get JSON response from Java Jersey app using Tomcat or GlassFish server
- How do I get OpenGL/GLUT working with Eclipse IDE (cocoa 64 bit) using C++ and on Snow Leopard
- Tomcat Installation using binaries- endorsed is not supported & error: could not create the JVM
- using Jira REST Java Client API i get java.lang.NoSuchMethodError in eclipse, but not with ANT
- maven clean not working in sts with tomcat 1.8
- Tomcat 7.0.52 server not extracting war file(compressed file) in webapps to uncompressed format when using export with Eclipse
- Writing cmd output to a file is not working with Tomcat :(
- Web service using tomcat not working
- Dependencies could not be resolved with xtext 2.10.0 using maven
- Using GoogleAPI with LibGDX on eclipse: GameHelper could not be resolved to a type
- Getting "Original error: Could not find a connected Android device" error when using Appium with webdriver/sikuli
- EL tag not working with maven in tomcat 7
- Eclipse: Debugging with Jetty and Tomcat not working
- How to insert and retrieve data from database with Web Service in java using JAX - RS and tomcat in eclipse
- Multiple contexts with the same path error running web service in Eclipse using Tomcat
- “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G
- Project with path ':mypath' could not be found in root project 'myproject'
- Tomcat Server not starting with in 45 seconds
- Could not load the Tomcat server configuration
- difference between clean and clean working directory in Eclipse WTP with Tomcat
More Query from same tag
- eclipse and path
- Reusable Projects in Eclipse/Android
- Eclipse multiple tab rows
- How to setup a workspace wide configuration for Java Compiler Annotation Processing
- run pydev project from file-system (with imports from different packages)
- Google Cloud Messaging single request
- Is there a way to get the data being dropped in DropTargetListener.dragEnter()?
- Eclipse build path for Java, packages aren't correct
- Getting ‘undefined reference to’ when compiling simple HDF5 example in Eclipse
- Having an issue opening a project
- Oracle ADF with GlassFish 4 error while running the JSPX
- Can I set API level X attributes in my manifest when my minSdkVersion is less than X?
- Undefined reference to boost::python::detail::init_module and friends
- Hibernate JPA one to one mapping with share primary key is causing the Issue
- Error: unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader
- Edit the Info.plist after eclipse product build
- How to remove default action bar in Android project?
- What is the url for an Eclipse Dynamic Web project's jsp files?
- why autodetect option not available for me?
- Eclipse 2021-12 not connecting to MySQL
- How to connect JPL with SWI-Prolog in Mac OS X
- How to access the eclipse warnings and error messages via my plugin?
- Building a multi module C project (i.e. solution) with Eclipse CDT
- Show warning if method description is missing
- How to remove Unwanted lines from eclipse code file at one shot in mac
- Eclipse 3.x Automatic opening compare merge editor given two text files
- Open Eclipse both old and new(clean)
- Disappearance of R.java file
- camera source code for android eclipse
- Getting "java.sql.SQLException: Values not bound to statement" exception