Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4458

bin\client.bat doesn't work on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Karaf
    • None
    • % %

    Description

      bin/client client doesn't work on windows server for JBoss Fuse 6.2.1 build 076

      Oracle JDK 1.8

      C:\Users\pepa\Downloads\jboss-fuse-6.2.1.redhat-076>java -version
      java version "1.8.0_60"
      Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
      Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
      

      Fuse started from cmd.exe: bin\fuse.bat

      bin/client started in another cmd.exe

      C:\Users\pepa\Downloads\jboss-fuse-6.2.1.redhat-076>bin\client -h 127.0.0.1
      Unable to register security provider: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
      Logging in as admin
      937 [sshd-SshClient[4df50bcc]-nio2-thread-3] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught
      java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)
              at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120)
              at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:674)
              at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:411)
              at org.apache.sshd.common.kex.DH.getE(DH.java:65)
              at org.apache.sshd.client.kex.DHGEX.next(DHGEX.java:118)
              at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:425)
              at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:326)
              at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:306)
              at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:780)
              at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:308)
              at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
              at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:184)
              at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)
              at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
              at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
              at sun.nio.ch.Invoker$2.run(Invoker.java:218)
              at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      Authentication failed
      

      SSH from from native linux ssh comand works fine
      ssh admin@win_host -p 8101

      SSH from fedora 22 bin/client also worked

       jludvice@dhcp-10-40-2-175  ~/apps/fuse/jboss-fuse-6.2.1.redhat-076  bin/client -h win_host -u admin
      client: JAVA_HOME not set; results may vary
      Logging in as admin
      1016 [sshd-SshClient[3ac3fd8b]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/10.40.3.77:8101, DSA, 2c:68:91:53:27:2e:48:a8:d3:c1:5a:d1:9e:51:39:b5] presented unverified {} key: {}
      Password:  
      

      Attachments

        Issue Links

          Activity

            People

              pantinor@redhat.com Paolo Antinori
              jludvice Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: