Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31492

connection problem with PTC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: integrity-plugin
    • Labels:
      None
    • Environment:
      Jenkins Version - 1.637
      Installed plugins - PTC Integrity CM - Jenkins Plugin - 1.36
      OS - Windows
      Web Browser - IE
      Java - 1.8.0_65
    • Similar Issues:

      Description

      I recently upgraded my Jenkins and PTC Plugin and now my connection to PTC is giving this error. Need a resolution for this or maybe point me to solution.

      javax.servlet.ServletException: java.lang.AbstractMethodError: com.mks.connect.UserApplicationSessionImpl$SSLSocketFactory.createSocket(Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/commons/httpclient/params/HttpConnectionParams;)Ljava/net/Socket;
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:370)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.AbstractMethodError: com.mks.connect.UserApplicationSessionImpl$SSLSocketFactory.createSocket(Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/commons/httpclient/params/HttpConnectionParams;)Ljava/net/Socket;
      at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
      at com.mks.connect.UserApplicationSessionImpl.handleHTTPResponse(UserApplicationSessionImpl.java:309)
      at com.mks.connect.UserApplicationSessionImpl.getSession(UserApplicationSessionImpl.java:355)
      at com.mks.connect.UserApplicationSessionImpl.getSessionURI(UserApplicationSessionImpl.java:418)
      at com.mks.connect.HttpCmdRunnerImpl.getSessionURI(HttpCmdRunnerImpl.java:72)
      at com.mks.connect.HttpBlimpInputStream.getSessionURI(HttpBlimpInputStream.java:125)
      at com.mks.connect.HttpBlimpInputStream.blimpInitiate(HttpBlimpInputStream.java:152)
      at com.mks.connect.BlimpInputStream.getInputStream(BlimpInputStream.java:223)
      at com.mks.connect.BlimpInputStream.readNoEof(BlimpInputStream.java:704)
      at com.mks.connect.BlimpInputStream.handleNextBlimpCommand(BlimpInputStream.java:266)
      at com.mks.connect.BlimpInputStream.read(BlimpInputStream.java:190)
      at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
      at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
      at sun.nio.cs.StreamDecoder.read(Unknown Source)
      at java.io.InputStreamReader.read(Unknown Source)
      at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992)
      at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
      at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
      at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
      at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
      at com.mks.api.response.impl.XMLResponseHandler.getResponse(XMLResponseHandler.java:161)
      at com.mks.connect.AbstractCmdRunner.executeCommand(AbstractCmdRunner.java:288)
      at com.mks.connect.AbstractCmdRunner.executeCommand(AbstractCmdRunner.java:242)
      at com.mks.connect.AbstractCmdRunner.execute(AbstractCmdRunner.java:394)
      at hudson.scm.APISession.initAPI(APISession.java:118)
      at hudson.scm.APISession.<init>(APISession.java:90)
      at hudson.scm.APISession.create(APISession.java:54)
      at hudson.scm.IntegritySCM$DescriptorImpl.doTestConnection(IntegritySCM.java:1257)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      ... 63 more

      Delete

      Add

        Attachments

          Activity

          Hide
          hmagnanao Hector Magnanao added a comment - - edited

          Posting latest stack trace and file listing of $JENKINS\war\WEB-INF\lib folder

          javax.servlet.ServletException: java.lang.AbstractMethodError: com.mks.connect.UserApplicationSessionImpl$SSLSocketFactory.createSocket(Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/commons/httpclient/params/HttpConnectionParams;)Ljava/net/Socket;
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
          at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
          at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
          at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
          at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
          at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
          at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
          at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
          at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
          at org.eclipse.jetty.server.Server.handle(Server.java:370)
          at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
          at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
          at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
          at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
          at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:724)
          Caused by: java.lang.AbstractMethodError: com.mks.connect.UserApplicationSessionImpl$SSLSocketFactory.createSocket(Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/commons/httpclient/params/HttpConnectionParams;)Ljava/net/Socket;
          at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
          at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
          at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
          at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
          at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
          at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
          at com.mks.connect.UserApplicationSessionImpl.handleHTTPResponse(UserApplicationSessionImpl.java:309)
          at com.mks.connect.UserApplicationSessionImpl.getSession(UserApplicationSessionImpl.java:355)
          at com.mks.connect.UserApplicationSessionImpl.getSessionURI(UserApplicationSessionImpl.java:418)
          at com.mks.connect.HttpCmdRunnerImpl.getSessionURI(HttpCmdRunnerImpl.java:72)
          at com.mks.connect.HttpBlimpInputStream.getSessionURI(HttpBlimpInputStream.java:125)
          at com.mks.connect.HttpBlimpInputStream.blimpInitiate(HttpBlimpInputStream.java:152)
          at com.mks.connect.BlimpInputStream.getInputStream(BlimpInputStream.java:223)
          at com.mks.connect.BlimpInputStream.readNoEof(BlimpInputStream.java:704)
          at com.mks.connect.BlimpInputStream.handleNextBlimpCommand(BlimpInputStream.java:266)
          at com.mks.connect.BlimpInputStream.read(BlimpInputStream.java:190)
          at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
          at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
          at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
          at java.io.InputStreamReader.read(InputStreamReader.java:184)
          at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992)
          at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
          at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
          at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
          at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
          at com.mks.api.response.impl.XMLResponseHandler.getResponse(XMLResponseHandler.java:161)
          at com.mks.connect.AbstractCmdRunner.executeCommand(AbstractCmdRunner.java:288)
          at com.mks.connect.AbstractCmdRunner.executeCommand(AbstractCmdRunner.java:242)
          at com.mks.connect.AbstractCmdRunner.execute(AbstractCmdRunner.java:394)
          at hudson.scm.APISession.initAPI(APISession.java:118)
          at hudson.scm.APISession.<init>(APISession.java:90)
          at hudson.scm.APISession.create(APISession.java:54)
          at hudson.scm.IntegritySCM$DescriptorImpl.doTestConnection(IntegritySCM.java:1257)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
          at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
          at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
          at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
          ... 48 more

          File list

          access-modifier-annotation-1.4.jar
          acegi-security-1.0.7.jar
          activation-1.1.1-hudson-1.jar
          akuma-1.9.jar
          annotation-indexer-1.7.jar
          ant-1.8.4.jar
          ant-launcher-1.8.4.jar
          antlr-2.7.6.jar
          aopalliance-1.0.jar
          args4j-2.0.31.jar
          asm-4.0.jar
          asm-analysis-4.0.jar
          asm-commons-4.0.jar
          asm-tree-4.0.jar
          asm-util-4.0.jar
          asm5-5.0.1.jar
          bcpkix-jdk15on-1.47.jar
          bcprov-jdk15on-1.47.jar
          bridge-method-annotation-1.13.jar
          bytecode-compatibility-transformer-1.5.jar
          cli-1.609.1.jar
          commons-beanutils-1.8.3.jar
          commons-codec-1.8.jar
          commons-collections-3.2.1.jar
          commons-digester-2.1.jar
          commons-discovery-0.4.jar
          commons-fileupload-1.3.1-jenkins-1.jar
          commons-httpclient-3.1 - Copy.jar
          commons-httpclient-3.1.jar
          commons-io-2.4.jar
          commons-jelly-1.1-jenkins-20120928.jar
          commons-jelly-tags-define-1.0.1-hudson-20071021.jar
          commons-jelly-tags-fmt-1.0.jar
          commons-jelly-tags-xml-1.1.jar
          commons-jexl-1.1-jenkins-20111212.jar
          commons-lang-2.6.jar
          commons-logging-1.1.3.jar
          constant-pool-scanner-1.2.jar
          crypto-util-1.1.jar
          dom4j-1.6.1-jenkins-4.jar
          embedded_su4j-1.1.jar
          ezmorph-1.0.6.jar
          filelist.txt
          groovy-all-1.8.9.jar
          guava-11.0.1.jar
          guice-4.0-beta.jar
          hamcrest-core-1.3.jar
          icon-set-1.0.5.jar
          instance-identity-1.4.jar
          j-interop-2.0.6-kohsuke-1.jar
          j-interopdeps-2.0.6-kohsuke-1.jar
          jansi-1.9.jar
          javax.annotation-api-1.2.jar
          javax.inject-1.jar
          jaxen-1.1-beta-11.jar
          jbcrypt-0.3m.jar
          jcifs-1.3.17-kohsuke-1.jar
          jcommon-1.0.12.jar
          jenkins-core-1.609.1.jar
          jffi-1.2.7-native.jar
          jffi-1.2.7.jar
          jfreechart-1.0.9.jar
          jline-0.9.94.jar
          jmdns-3.4.0-jenkins-3.jar
          jna-4.1.0.jar
          jna-posix-1.0.3-jenkins-1.jar
          jnr-constants-0.8.5.jar
          jnr-ffi-1.0.7.jar
          jnr-posix-3.0.1.jar
          jnr-x86asm-1.0.2.jar
          json-lib-2.4-jenkins-2.jar
          jsr305-1.3.9.jar
          jstl-1.1.0.jar
          jtidy-4aug2000r7-dev-hudson-1.jar
          junit-4.11.jar
          jzlib-1.1.3-kohsuke-1.jar
          launchd-slave-installer-1.2.jar
          libpam4j-1.8.jar
          libzfs-0.5.jar
          localizer-1.23.jar
          log4j-1.2.9.jar
          mail-1.4.4.jar
          memory-monitor-1.9.jar
          mina-core-2.0.5.jar
          oro-2.0.8.jar
          relaxngDatatype-20020414.jar
          remoting-2.50.jar
          robust-http-client-1.2.jar
          sezpoz-1.9.jar
          slave-installer-1.5.jar
          slf4j-api-1.7.7.jar
          slf4j-jdk14-1.7.7.jar
          spring-aop-2.5.6.SEC03.jar
          spring-beans-2.5.6.SEC03.jar
          spring-context-2.5.6.SEC03.jar
          spring-context-support-2.5.6.SEC03.jar
          spring-core-2.5.6.SEC03.jar
          spring-dao-1.2.9.jar
          spring-jdbc-1.2.9.jar
          spring-web-2.5.6.SEC03.jar
          spring-webmvc-2.5.6.SEC03.jar
          ssh-cli-auth-1.2.jar
          sshd-1.6.jar
          sshd-core-0.8.0.jar
          stapler-1.237.jar
          stapler-adjunct-codemirror-1.3.jar
          stapler-adjunct-timeline-1.4.jar
          stapler-adjunct-zeroclipboard-1.3.5-1.jar
          stapler-groovy-1.237.jar
          stapler-jelly-1.237.jar
          stapler-jrebel-1.237.jar
          stax-api-1.0-2.jar
          stax-api-1.0.1.jar
          systemd-slave-installer-1.1.jar
          task-reactor-1.4.jar
          tiger-types-1.3.jar
          trilead-putty-extension-1.2.jar
          trilead-ssh2-build217-jenkins-8.jar
          txw2-20110809.jar
          upstart-slave-installer-1.1.jar
          version-number-1.1.jar
          windows-package-checker-1.0.jar
          windows-slave-installer-1.4.jar
          winp-1.22.jar
          winp.613C691C63742DB6E67819A9BB7421A8.dll
          wstx-asl-3.2.9.jar
          xpp3-1.1.4c.jar
          xstream-1.4.7-jenkins-1.jar

          Show
          hmagnanao Hector Magnanao added a comment - - edited Posting latest stack trace and file listing of $JENKINS\war\WEB-INF\lib folder javax.servlet.ServletException: java.lang.AbstractMethodError: com.mks.connect.UserApplicationSessionImpl$SSLSocketFactory.createSocket(Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/commons/httpclient/params/HttpConnectionParams;)Ljava/net/Socket; at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.AbstractMethodError: com.mks.connect.UserApplicationSessionImpl$SSLSocketFactory.createSocket(Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/commons/httpclient/params/HttpConnectionParams;)Ljava/net/Socket; at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.mks.connect.UserApplicationSessionImpl.handleHTTPResponse(UserApplicationSessionImpl.java:309) at com.mks.connect.UserApplicationSessionImpl.getSession(UserApplicationSessionImpl.java:355) at com.mks.connect.UserApplicationSessionImpl.getSessionURI(UserApplicationSessionImpl.java:418) at com.mks.connect.HttpCmdRunnerImpl.getSessionURI(HttpCmdRunnerImpl.java:72) at com.mks.connect.HttpBlimpInputStream.getSessionURI(HttpBlimpInputStream.java:125) at com.mks.connect.HttpBlimpInputStream.blimpInitiate(HttpBlimpInputStream.java:152) at com.mks.connect.BlimpInputStream.getInputStream(BlimpInputStream.java:223) at com.mks.connect.BlimpInputStream.readNoEof(BlimpInputStream.java:704) at com.mks.connect.BlimpInputStream.handleNextBlimpCommand(BlimpInputStream.java:266) at com.mks.connect.BlimpInputStream.read(BlimpInputStream.java:190) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) at java.io.InputStreamReader.read(InputStreamReader.java:184) at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.mks.api.response.impl.XMLResponseHandler.getResponse(XMLResponseHandler.java:161) at com.mks.connect.AbstractCmdRunner.executeCommand(AbstractCmdRunner.java:288) at com.mks.connect.AbstractCmdRunner.executeCommand(AbstractCmdRunner.java:242) at com.mks.connect.AbstractCmdRunner.execute(AbstractCmdRunner.java:394) at hudson.scm.APISession.initAPI(APISession.java:118) at hudson.scm.APISession.<init>(APISession.java:90) at hudson.scm.APISession.create(APISession.java:54) at hudson.scm.IntegritySCM$DescriptorImpl.doTestConnection(IntegritySCM.java:1257) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) ... 48 more File list access-modifier-annotation-1.4.jar acegi-security-1.0.7.jar activation-1.1.1-hudson-1.jar akuma-1.9.jar annotation-indexer-1.7.jar ant-1.8.4.jar ant-launcher-1.8.4.jar antlr-2.7.6.jar aopalliance-1.0.jar args4j-2.0.31.jar asm-4.0.jar asm-analysis-4.0.jar asm-commons-4.0.jar asm-tree-4.0.jar asm-util-4.0.jar asm5-5.0.1.jar bcpkix-jdk15on-1.47.jar bcprov-jdk15on-1.47.jar bridge-method-annotation-1.13.jar bytecode-compatibility-transformer-1.5.jar cli-1.609.1.jar commons-beanutils-1.8.3.jar commons-codec-1.8.jar commons-collections-3.2.1.jar commons-digester-2.1.jar commons-discovery-0.4.jar commons-fileupload-1.3.1-jenkins-1.jar commons-httpclient-3.1 - Copy.jar commons-httpclient-3.1.jar commons-io-2.4.jar commons-jelly-1.1-jenkins-20120928.jar commons-jelly-tags-define-1.0.1-hudson-20071021.jar commons-jelly-tags-fmt-1.0.jar commons-jelly-tags-xml-1.1.jar commons-jexl-1.1-jenkins-20111212.jar commons-lang-2.6.jar commons-logging-1.1.3.jar constant-pool-scanner-1.2.jar crypto-util-1.1.jar dom4j-1.6.1-jenkins-4.jar embedded_su4j-1.1.jar ezmorph-1.0.6.jar filelist.txt groovy-all-1.8.9.jar guava-11.0.1.jar guice-4.0-beta.jar hamcrest-core-1.3.jar icon-set-1.0.5.jar instance-identity-1.4.jar j-interop-2.0.6-kohsuke-1.jar j-interopdeps-2.0.6-kohsuke-1.jar jansi-1.9.jar javax.annotation-api-1.2.jar javax.inject-1.jar jaxen-1.1-beta-11.jar jbcrypt-0.3m.jar jcifs-1.3.17-kohsuke-1.jar jcommon-1.0.12.jar jenkins-core-1.609.1.jar jffi-1.2.7-native.jar jffi-1.2.7.jar jfreechart-1.0.9.jar jline-0.9.94.jar jmdns-3.4.0-jenkins-3.jar jna-4.1.0.jar jna-posix-1.0.3-jenkins-1.jar jnr-constants-0.8.5.jar jnr-ffi-1.0.7.jar jnr-posix-3.0.1.jar jnr-x86asm-1.0.2.jar json-lib-2.4-jenkins-2.jar jsr305-1.3.9.jar jstl-1.1.0.jar jtidy-4aug2000r7-dev-hudson-1.jar junit-4.11.jar jzlib-1.1.3-kohsuke-1.jar launchd-slave-installer-1.2.jar libpam4j-1.8.jar libzfs-0.5.jar localizer-1.23.jar log4j-1.2.9.jar mail-1.4.4.jar memory-monitor-1.9.jar mina-core-2.0.5.jar oro-2.0.8.jar relaxngDatatype-20020414.jar remoting-2.50.jar robust-http-client-1.2.jar sezpoz-1.9.jar slave-installer-1.5.jar slf4j-api-1.7.7.jar slf4j-jdk14-1.7.7.jar spring-aop-2.5.6.SEC03.jar spring-beans-2.5.6.SEC03.jar spring-context-2.5.6.SEC03.jar spring-context-support-2.5.6.SEC03.jar spring-core-2.5.6.SEC03.jar spring-dao-1.2.9.jar spring-jdbc-1.2.9.jar spring-web-2.5.6.SEC03.jar spring-webmvc-2.5.6.SEC03.jar ssh-cli-auth-1.2.jar sshd-1.6.jar sshd-core-0.8.0.jar stapler-1.237.jar stapler-adjunct-codemirror-1.3.jar stapler-adjunct-timeline-1.4.jar stapler-adjunct-zeroclipboard-1.3.5-1.jar stapler-groovy-1.237.jar stapler-jelly-1.237.jar stapler-jrebel-1.237.jar stax-api-1.0-2.jar stax-api-1.0.1.jar systemd-slave-installer-1.1.jar task-reactor-1.4.jar tiger-types-1.3.jar trilead-putty-extension-1.2.jar trilead-ssh2-build217-jenkins-8.jar txw2-20110809.jar upstart-slave-installer-1.1.jar version-number-1.1.jar windows-package-checker-1.0.jar windows-slave-installer-1.4.jar winp-1.22.jar winp.613C691C63742DB6E67819A9BB7421A8.dll wstx-asl-3.2.9.jar xpp3-1.1.4c.jar xstream-1.4.7-jenkins-1.jar
          Hide
          cdsouza Cletus D'Souza added a comment - - edited

          You seem to have both versions of the commons-httpclient in the lib folder.

          commons-httpclient-3.1 - Copy.jar
          commons-httpclient-3.1.jar
          

          You should only keep the version that you downloaded from the PTC support article. Remove the other jar from the lib folder altogether, then restart Jenkins.

          Show
          cdsouza Cletus D'Souza added a comment - - edited You seem to have both versions of the commons-httpclient in the lib folder. commons-httpclient-3.1 - Copy.jar commons-httpclient-3.1.jar You should only keep the version that you downloaded from the PTC support article. Remove the other jar from the lib folder altogether, then restart Jenkins.
          Hide
          hmagnanao Hector Magnanao added a comment -

          the actual jar I copied from PTC is the commons-httpclient-3.1.jar. The copied version is the one that came with Jenkins. I'm only keeping the original in case I need to go back to it.

          Show
          hmagnanao Hector Magnanao added a comment - the actual jar I copied from PTC is the commons-httpclient-3.1.jar. The copied version is the one that came with Jenkins. I'm only keeping the original in case I need to go back to it.
          Hide
          hmagnanao Hector Magnanao added a comment -

          I moved the copy of the jar to another location, bounced Jenkins and it worked !!!

          here is the versions that I'm working with:

          Jenkins - 1.609.1
          PTC Integrity Plugin - 1.36
          Java version 1.8

          Thanks for the tip.

          Show
          hmagnanao Hector Magnanao added a comment - I moved the copy of the jar to another location, bounced Jenkins and it worked !!! here is the versions that I'm working with: Jenkins - 1.609.1 PTC Integrity Plugin - 1.36 Java version 1.8 Thanks for the tip.
          Hide
          cdsouza Cletus D'Souza added a comment -

          Great! Now make sure you submit an RFC with PTC Support requesting the update of the commons-httpclient version that is pre-packaged with the mksapi.jar. In the meaintime, you will have to remember to do this step (i.e. swap out the commons-httpclient jar that Jenkins ships with) every time you upgrade Jenkins. If you just upgrade the integrity-plugin, you shouldn't have to worry about any jar swaps.

          I will change the disposition of this issue from 'Duplicate' to 'Not a Defect' as there is a good wealth of information for other users who might have this same problem.

          Show
          cdsouza Cletus D'Souza added a comment - Great! Now make sure you submit an RFC with PTC Support requesting the update of the commons-httpclient version that is pre-packaged with the mksapi.jar. In the meaintime, you will have to remember to do this step (i.e. swap out the commons-httpclient jar that Jenkins ships with) every time you upgrade Jenkins. If you just upgrade the integrity-plugin, you shouldn't have to worry about any jar swaps. I will change the disposition of this issue from 'Duplicate' to 'Not a Defect' as there is a good wealth of information for other users who might have this same problem.

            People

            Assignee:
            cdsouza Cletus D'Souza
            Reporter:
            hmagnanao Hector Magnanao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: