• Post Reply Bookmark Topic Watch Topic
  • New Topic

(Why do I get this error somtimes) NoClassDefFoundError  RSS feed

Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a process that calls a servlet. This process can send multiple requests. Something in the neighboorhood of maybe 500 at a time to the Servlet. The Servlet can process the request in about 10 secs or less. The process that calls the Servlet is located on a different box. I am working in a Tomcat enviornment. I get te following stack trace maybe 10% of the time or less. I call the servlet about 250K times a day. But I only get this error 10% or less of the time. My guess is that somehow, I am overloading something to the point where it returns an error that no ClassDefFoundError The class does exists AND each call follows the same routine, so it is not the case where when I get these errors that they are different from what I have been doing with the other 90%.

Please Help.

2006-03-01 00:14:13 StandardWrapperValve[PreRateRatingServlet]: Servlet.service(
) for servlet PreRateRatingServlet threw exception
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
at java.lang.Thread.run(Thread.java:534)
----- Root Cause -----
java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:809)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272
at intltech.autopay.beans.ECQSClientBean.processResponse(Unknown Source)
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to the Tomcat forum.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!