org.glassfish.jersey.servlet.ServletContainer ClassNotFoundException

The problem: indicates that you try to use the Jersey 2.x servlet, but you are supplying the Jersey 1.x libs. For Jersey 1.x you have to do it like this: For more information check the Jersey 1.x documentation. If you instead want to use Jersey 2.x then you’ll have to supply the Jersey 2.x libs. In a maven based project you can use the following: For Jersey … Read more

How to resolve Error listenerStart when deploying web-app in Tomcat 5.5?

You should not have any server-specific libraries in the /WEB-INF/lib. Leave them in the appserver’s own library. It would only lead to collisions in the classpath. Get rid of all appserver-specific libraries in /WEB-INF/lib (and also in JRE/lib and JRE/lib/ext if you have placed any of them there). A common cause that the appserver-specific libraries are included in the webapp’s library is that starters … Read more

java.net.SocketTimeoutException: Read timed out under Tomcat

I have a Tomcat based web application. I am intermittently getting the following exception, Unfortunately I don’t have access to the client, so I am just trying to confirm on various reasons this can happen, Server is trying to read data from the request, but its taking longer than the timeout value for the data … Read more