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

can't ssh into fuse with shell locale cs_CZ

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • jboss-fuse-6.2
    • jboss-fuse-6.1, jboss-fuse-6.2
    • None
    • None
    • % %

    Description

      Cant ssh into fuse when my locale is set to cs_CZ.

      • ssh into fuse from another pc with locale en_US works fine
      • ssh command executed in "cs" shell
        jludvice@thinkpad: ssh admin@localhost -p 8101                                                                            
        The authenticity of host '[localhost]:8101 ([127.0.0.1]:8101)' can't be established.
        DSA key fingerprint is ca:bf:80:e2:b4:12:83:3c:3f:4a:7a:ad:48:8b:a1:91.
        Are you sure you want to continue connecting (yes/no)? yes
        Warning: Permanently added '[localhost]:8101' (DSA) to the list of known hosts.
        Password authentication
        Password: 
        shell request failed on channel 0
        
      • fuse started in "cs" shell (log:tail)
        2014-09-22 10:34:59,204 | INFO  | pool-12-thread-1 | MessageDatabase                  | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | Recovery replayed 31 operations from the journal in 0.01 seconds.                                                                                                                                                                        
        2014-09-22 10:34:59,336 | INFO  | pool-12-thread-1 | BrokerService                    | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | Apache ActiveMQ 5.10.0.redhat-620025 (amq, ID:dhcp-30-132.brq.redhat.com-55600-1411374899219-0:1) is starting                                                                                                                            
        2014-09-22 10:34:59,347 | INFO  | pool-12-thread-1 | TransportServerThreadSupport     | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | Listening for connections at: tcp://localhost.localdomain:61616                                                                                                                                                                          
        2014-09-22 10:34:59,347 | INFO  | pool-12-thread-1 | TransportConnector               | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | Connector openwire started                                                                                                                                                                                                               
        2014-09-22 10:34:59,348 | INFO  | pool-12-thread-1 | BrokerService                    | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | Apache ActiveMQ 5.10.0.redhat-620025 (amq, ID:dhcp-30-132.brq.redhat.com-55600-1411374899219-0:1) started                                                                                                                                
        2014-09-22 10:34:59,348 | INFO  | pool-12-thread-1 | BrokerService                    | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | For help or more information please see: http://activemq.apache.org                                                                                                                                                                      
        2014-09-22 10:34:59,348 | WARN  | pool-12-thread-1 | BrokerService                    | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | Store limit is 102400 mb (current store usage is 0 mb). The data directory: /home/jludvice/apps/fuse/jboss-fuse-6.2.0.redhat-025/data/amq/kahadb only has 1489 mb of usable space - resetting to maximum available disk space: 1489 mb   
        2014-09-22 10:34:59,348 | ERROR | pool-12-thread-1 | BrokerService                    | ?                                   ? | 185 - org.apache.activemq.activemq-osgi - 5.10.0.redhat-620025 | Temporary Store limit is 51200 mb, whilst the temporary data directory: /home/jludvice/apps/fuse/jboss-fuse-6.2.0.redhat-025/data/amq/amq/tmp_storage only has 1489 mb of usable space - resetting to maximum available 1489 mb.         
        2014-09-22 10:34:59,364 | INFO  | pool-12-thread-1 | ActiveMQServiceFactory           | ?                                   ? | 200 - io.fabric8.mq.mq-fabric - 1.1.0.redhat-025 | Broker amq has started.
        2014-09-22 10:34:59,915 | INFO  | l Console Thread | SleepAction                      | ?                                   ? | 29 - org.apache.karaf.shell.console - 2.4.0.redhat-620025 | Awake now                
        2014-09-22 10:35:10,749 | INFO  | 4]-nio2-thread-1 | ServerSession                    | ?                                   ? | 58 - org.apache.sshd.core - 0.12.0 | Server session created from /127.0.0.1:38964    
        2014-09-22 10:35:10,754 | WARN  | 4]-nio2-thread-1 | SimpleGeneratorHostKeyProvider   | ?                                   ? | 58 - org.apache.sshd.core - 0.12.0 | Unable to read key /home/jludvice/apps/fuse/jboss-fuse-6.2.0.redhat-025/etc/host.key: java.lang.ClassNotFoundException: org.bouncycastle.jcajce.provider.asymmetric.dsa.BCDSAPrivateKey                                                                              
        2014-09-22 10:35:10,756 | INFO  | 4]-nio2-thread-1 | SimpleGeneratorHostKeyProvider   | ?                                   ? | 58 - org.apache.sshd.core - 0.12.0 | Generating host key...
        2014-09-22 10:35:11,590 | INFO  | 4]-nio2-thread-1 | ServerSession                    | ?                                   ? | 58 - org.apache.sshd.core - 0.12.0 | Kex: server->client aes128-ctr hmac-sha1 none   
        2014-09-22 10:35:11,591 | INFO  | 4]-nio2-thread-1 | ServerSession                    | ?                                   ? | 58 - org.apache.sshd.core - 0.12.0 | Kex: client->server aes128-ctr hmac-sha1 none   
        2014-09-22 10:35:14,536 | INFO  | 4]-nio2-thread-4 | ServerUserAuthService            | ?                                   ? | 58 - org.apache.sshd.core - 0.12.0 | Session admin@/127.0.0.1:38964 authenticated    
        2014-09-22 10:35:14,557 | WARN  | 4]-nio2-thread-5 | ChannelSession                   | ?                                   ? | 58 - org.apache.sshd.core - 0.12.0 | Error processing channel request shell
        java.io.IOException: Unable to start shell                                                                                                                                                                           
                at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl.start(ShellFactoryImpl.java:169)
                at org.apache.sshd.server.channel.ChannelSession.handleShell(ChannelSession.java:401)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.server.channel.ChannelSession.handleRequest(ChannelSession.java:296)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.server.channel.ChannelSession$ChannelSessionRequestHandler.process(ChannelSession.java:576)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.server.channel.ChannelSession$ChannelSessionRequestHandler.process(ChannelSession.java:574)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.channel.AbstractChannel.handleRequest(AbstractChannel.java:96)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.session.AbstractConnectionService.channelRequest(AbstractConnectionService.java:261)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.session.AbstractConnectionService.process(AbstractConnectionService.java:139)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:399)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:731)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:187)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:173)[58:org.apache.sshd.core:0.12.0]
                at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
                at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_65]
                at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)[58:org.apache.sshd.core:0.12.0]
                at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.7.0_65]
                at sun.nio.ch.Invoker$2.run(Invoker.java:218)[:1.7.0_65]
                at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.7.0_65]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_65]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_65]
                at java.lang.Thread.run(Thread.java:745)[:1.7.0_65]
        Caused by: java.io.UnsupportedEncodingException: cs_CZ
                at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:61)[:1.7.0_65]
                at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:100)[:1.7.0_65]
                at jline.console.ConsoleReader.<init>(ConsoleReader.java:231)
                at org.apache.karaf.shell.console.jline.Console.<init>(Console.java:110)
                at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl.start(ShellFactoryImpl.java:120)
                ... 23 more
        

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            jludvice Josef Ludvicek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: