1 Reply Latest reply on Jul 30, 2015 9:46 PM by SANJAY GAUTAM

    Facing X509HostnameVerifer error while deploying via KieBench

    SANJAY GAUTAM Expert

      HI Community Members

       

      when trying to deploy from the kie work bench I get below error , please let me know what could be the solution .

       

      thanks

       

       

      16:00:36,100 INFO  [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[374ccbe8]-nio2-thread-3) Kex: client->server aes128-ctr hmac-md5 none

      16:00:41,351 INFO  [org.apache.sshd.server.session.ServerUserAuthService] (sshd-SshServer[374ccbe8]-nio2-thread-2) Session krisv@/127.0.0.1:63930 authenticated

      16:00:41,371 INFO  [org.apache.sshd.server.channel.ChannelSession] (sshd-SshServer[374ccbe8]-nio2-thread-3) Executing command: git-receive-pack '/mds-bpm-repo'

      16:00:45,858 WARN  [org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator] (http--127.0.0.1-8080-4) Process variable pvObjArray uses ObjectDataType for default type

      (java.lang) which could cause problems with setting variables, use dedicated type instead

      16:00:45,872 WARN  [org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator] (http--127.0.0.1-8080-4) Process variable pvException uses ObjectDataType for default type

      (java.lang) which could cause problems with setting variables, use dedicated type instead

      16:00:46,703 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (http--127.0.0.1-8080-4) KieModule was added: MemoryKieModule[releaseId=com.caiso.mdsbpm:mdsbp

      m:1.0]

      16:01:04,627 WARN  [org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator] (Thread-136) Process variable pvObjArray uses ObjectDataType for default type (java.lang)

      which could cause problems with setting variables, use dedicated type instead

      16:01:04,628 WARN  [org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator] (Thread-136) Process variable pvException uses ObjectDataType for default type (java.lang)

      which could cause problems with setting variables, use dedicated type instead

      16:01:04,848 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (Thread-136) KieModule was added: MemoryKieModule[releaseId=com.caiso.mdsbpm:mdsbpm:1.0]

      16:01:08,143 ERROR [stderr] (Thread-136) Exception in thread "Thread-136" java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLSocketFactory.<init>(Ljavax/net/ssl/SSL

      SocketFactory;Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V

      16:01:08,145 ERROR [stderr] (Thread-136)        at org.eclipse.aether.transport.http.SslSocketFactory.<init>(SslSocketFactory.java:57)

      16:01:08,145 ERROR [stderr] (Thread-136)        at org.eclipse.aether.transport.http.SslSocketFactory.<init>(SslSocketFactory.java:39)

      16:01:08,146 ERROR [stderr] (Thread-136)        at org.eclipse.aether.transport.http.GlobalState.newConnectionManager(GlobalState.java:166)

      16:01:08,147 ERROR [stderr] (Thread-136)        at org.eclipse.aether.transport.http.LocalState.<init>(LocalState.java:54)

      16:01:08,152 ERROR [stderr] (Thread-136)        at org.eclipse.aether.transport.http.HttpTransporter.<init>(HttpTransporter.java:127)

      16:01:08,153 ERROR [stderr] (Thread-136)        at org.eclipse.aether.transport.http.HttpTransporterFactory.newInstance(HttpTransporterFactory.java:93)

      16:01:08,154 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110)

      16:01:08,155 ERROR [stderr] (Thread-136)        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)

      16:01:08,156 ERROR [stderr] (Thread-136)        at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180

      )

      16:01:08,157 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorPr

      ovider.java:113)

      16:01:08,173 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516)

      16:01:08,174 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)

      16:01:08,175 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)

      16:01:08,175 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)

      16:01:08,177 ERROR [stderr] (Thread-136)        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:334)

      16:01:08,178 ERROR [stderr] (Thread-136)        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorRe

      ader.java:231)

      16:01:08,180 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.

      java:525)

      16:01:08,181 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java

      :509)

      16:01:08,181 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409)

      16:01:08,182 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)

      16:01:08,183 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)

      16:01:08,184 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:494)

      16:01:08,185 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:458)

      16:01:08,186 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)

      16:01:08,187 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)

      16:01:08,188 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)

      16:01:08,189 ERROR [stderr] (Thread-136)        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)

      16:01:08,190 ERROR [stderr] (Thread-136)        at org.kie.scanner.MavenRepository.getArtifactDependecies(MavenRepository.java:174)

        • 1. Re: Facing X509HostnameVerifer error while deploying via KieBench
          SANJAY GAUTAM Expert

          This above error comes when , I try to add an unit test case for my workflow in the eclipse IDE  in order to compile and run the test I have had to add dependencies in order to compile the project in eclipse.

          <dependencies>

          <dependency>

          <groupId>org.jbpm</groupId>

          <artifactId>jbpm-test</artifactId>

          <version>6.2.0.Final</version>

          </dependency>

          </dependencies>


          if pom.xml has this dependencies it pass my unit test cases in IDE and then I deploy it using git push to the kie workbench and then try to build and deploy via kie work bench I get above error.

          So for now I removed it and I am planning to move the unit test cases out of this project as it is a show stopper for me.


          my project structure was like below .

          test.png



          thanks

          Sanjay Gautam


          1 of 1 people found this helpful