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

Can not execute commands as arguments for client script in Red Hat Fuse 7.6 on Karaf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • fuse-7.8-GA
    • fuse-7.6-GA
    • Karaf
    • None
    • False
    • False
    • % %
    • Undefined
    • Hide
      • Setup Windows 10(1909 X64) with Red Hat Fuse 7.6 on Karaf.
      • Edit FUSE_HOME/etc/users.properties and uncomment
        admin = admin,g:admingroup
        g\:admingroup = group,admin,manager,viewer,systembundles,ssh
      • Start Red Hat Fuse 7.6 with FUSE_HOME/bin/fuse.bat
      • Execute command using client script
        bin\client.bat -v -l 4 -h 127.0.0.1 -u admin -p admin version
      Show
      Setup Windows 10(1909 X64) with Red Hat Fuse 7.6 on Karaf. Edit FUSE_HOME/etc/users.properties and uncomment admin = admin, g :admingroup g \:admingroup = group,admin,manager,viewer,systembundles,ssh Start Red Hat Fuse 7.6 with FUSE_HOME/bin/fuse.bat Execute command using client script bin\client.bat -v -l 4 -h 127.0.0.1 -u admin -p admin version

    Description

      There was a similar ticket ENTESB-11322.
      However, the server side log is different. Please note that customer uses Windows 10(1909 x64).

      part of fuse.log

      2020-09-25 12:56:55,324 | DEBUG | 2ea7b]-nio2-thread-1 | o.a.s.c.i.n.Nio2Session          | 185 - org.apache.sshd.core - 1.7.0 | writePacket(Nio2Session[local=/127.0.0.1:8101, remote=/127.0.0.1:55618]) Writing 64 bytes
      2020-09-25 12:56:55,324 | INFO  | 2ea7b]-nio2-thread-1 | o.a.s.s.s.ServerUserAuthService  | 185 - org.apache.sshd.core - 1.7.0 | Session admin@/127.0.0.1:55618 authenticated
      2020-09-25 12:56:55,339 | DEBUG | 2ea7b]-nio2-thread-2 | o.a.s.c.i.n.Nio2Session          | 185 - org.apache.sshd.core - 1.7.0 | handleCompletedWriteCycle(Nio2Session[local=/127.0.0.1:8101, remote=/127.0.0.1:55618]) finished writing len=64
      2020-09-25 12:56:55,355 | DEBUG | 2ea7b]-nio2-thread-1 | o.a.s.c.i.n.Nio2Session          | 185 - org.apache.sshd.core - 1.7.0 | exceptionCaught(Nio2Session[local=/127.0.0.1:8101, remote=/127.0.0.1:55618]) caught IOException[The specified network name is no longer available.
      ] - calling handler
      2020-09-25 12:56:55,371 | WARN  | 2ea7b]-nio2-thread-1 | o.a.s.s.s.ServerSessionImpl      | 185 - org.apache.sshd.core - 1.7.0 | exceptionCaught(ServerSessionImpl[admin@/127.0.0.1:55618])[state=Opened] IOException: The specified network name is no longer available.
      
      2020-09-25 12:56:55,371 | DEBUG | 2ea7b]-nio2-thread-1 | o.a.s.s.s.ServerSessionImpl      | 185 - org.apache.sshd.core - 1.7.0 | exceptionCaught(ServerSessionImpl[admin@/127.0.0.1:55618])[state=Opened] details
      java.io.IOException: The specified network name is no longer available.
      
      	at sun.nio.ch.Iocp.translateErrorToIOException(Iocp.java:309) ~[?:1.8.0_265]
      	at sun.nio.ch.Iocp.access$700(Iocp.java:46) ~[?:1.8.0_265]
      	at sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:399) ~[?:1.8.0_265]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
      2020-09-25 12:56:55,371 | DEBUG | 2ea7b]-nio2-thread-1 | a.s.c.s.h.SessionTimeoutListener | 185 - org.apache.sshd.core - 1.7.0 | sessionException(ServerSessionImpl[admin@/127.0.0.1:55618]) IOException: The specified network name is no longer available.
      

      With a Linux environment, it works as expected.

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-hfuruich Hisao Furuichi
            Vratislav Hais Vratislav Hais (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: