Running karaf on z/os

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Running karaf on z/os

Brad Taylor
I am attempting to run karaf on z/os.  I have successfully gotten it started, however I can not "talk" to it.  I utilize Putty as the telnet console.  After karaf starts up must characters I type come back with:
Error executing command: Invalid UTF-8 first byte: -109
I have karaf up on my windows box and when I issue:

karaf@root> ssh -l karaf -P karaf -p 8101 ca31
Connecting to host ca31 on port 8101
Error executing command: Session is closed

The corresponding log entries from karaf log are:
java.lang.IllegalStateException: Incorrect identification: line too long                                                    
 at org.apache.sshd.common.session.AbstractSession.doReadIdentification(                          
 at org.apache.sshd.server.session.ServerSession.readIdentification(                                
 at org.apache.sshd.common.session.AbstractSession.messageReceived(                                
 at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(                      
 at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(        
 at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(            
 at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(                        
 at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(        
 at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(                              
 at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(            
 at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(                
 at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(                    
 at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(                    
 at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(                  
 at org.apache.mina.core.polling.AbstractPollingIoProcessor$            
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(                                    
 at java.util.concurrent.ThreadPoolExecutor$                                        
19:52:50,352 | INFO  | NioProcessor-3   | ServerSession                    | d.common.session.AbstractSession  287 | 16 - sshd-core - 0.5.0 | Closing session

I get similar results when I run the karaf client from my windows box.

Any hints appreciated.

Thank you
Brad Taylor