java.lang.NoClassDefFoundError: sun/net/ConnectionResetException

jtds | stasiek21 | 4 years ago
  1. 0

    Problems with connect jtds 1.2.5 to sql 2008 r2

    jtds | 4 years ago | stasiek21
    java.lang.NoClassDefFoundError: sun/net/ConnectionResetException
  2. 0

    Whiteboard Application error

    Oracle Community | 1 decade ago | 807597
    java.lang.NoClassDefFoundError: sun/net/M ulticastSocket
  3. 0

    Problem while running \tutorial\examples\jaxrpc\hello

    Oracle Community | 1 decade ago | 843834
    java.lang.NoClassDefFoundError: com/sun/net/ssl/HostnameVerifier
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am running a Debian Server with an installed Jboss 7.0.2 runnning on Java 1.7 After deploying the jenkins.war the Server is able to deploy and start the application. When I open the applications-url the jenins is displayed but there are no images shown. The following exception can be found in the log after I opened the URL the first time: {quote} 18:05:59,463 INFO [hudson.WebAppMain] (Jenkins initialization thread) Jenkins is fully up and running 18:06:09,282 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jenkins]] (Handling GET /jenkins/adjuncts/5340685a/org/kohsuke/stapler/bind.js : http--0%3A0%3A0%3A0%3A0%3A0%3A0%3A0-8080-5) Error while serving http://192.168.1.100:8080/jenkins/adjuncts/5340685a/org/kohsuke/stapler/bind.js: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_09] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_09] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_09] at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_09] at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:370) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) [stapler-1.221.jar:] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) [stapler-1.221.jar:] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:630) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.service(Stapler.java:224) [stapler-1.221.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) [jenkins-core-1.536.jar:] at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) [jenkins-core-1.536.jar:] at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) [stapler-1.221.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) [stapler-1.221.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at java.lang.Thread.run(Thread.java:722) [:1.7.0_09] Caused by: java.lang.NoClassDefFoundError: sun/net/www/protocol/jar/JarURLConnection at org.kohsuke.stapler.Stapler$OpenConnection.getLastModified(Stapler.java:273) [stapler-1.221.jar:] ... {quote} It seems that the server is not able to find the deployed ressources. When I start it directly from the console (java -jar ..) the application starts. Can you tell me where i have to search for the solution?

    Jenkins JIRA | 3 years ago | Thomas Schiffler
    bind.js: java.lang.reflect.InvocationTargetException
  6. 0

    servlet problem IWS6.0

    Oracle Community | 1 decade ago | 807567
    java.lang.NoClassDefFoundError: com/ sun/net/ssl/internal/ssl/Provider

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      sun/net/ConnectionResetException

      at java.net.SocketInputStream.read()
    2. Java RT
      DataInputStream.readFully
      1. java.net.SocketInputStream.read(Unknown Source)
      2. java.io.DataInputStream.readFully(Unknown Source)
      3. java.io.DataInputStream.readFully(Unknown Source)
      3 frames
    3. jTDS
      JtdsStatement.executeQuery
      1. net.sourceforge.jtds.jdbc.SharedSocket.readPacket(SharedSocket.java:846)
      2. net.sourceforge.jtds.jdbc.SharedSocket.sendNetPacket(SharedSocket.java:662)
      3. net.sourceforge.jtds.jdbc.RequestStream.putPacket(RequestStream.java:560)
      4. net.sourceforge.jtds.jdbc.RequestStream.write(RequestStream.java:306)
      5. net.sourceforge.jtds.jdbc.TdsCore.executeSQL70(TdsCore.java:3862)
      6. net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1033)
      7. net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:465)
      8. net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1304)
      8 frames