From: Steve L. (JIRA) <ji...@sm...> - 2011-01-21 12:50:40
|
[ http://jira.smartfrog.org/jira/browse/SFOS-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12348#comment-12348 ] Steve Loughran commented on SFOS-1559: -------------------------------------- -------- Original Message -------- Subject: Re: [Smartfrog-users] Question about telnet component of SmartFrog Date: Thu, 20 Jan 2011 19:59:19 +0500 From: Александр Поляков Hi, Now, telnet component is working on windows when I write this code: #include "org/smartfrog/components.sf" #include "org/smartfrog/services/net/telnet.sf" sfConfig extends WindowsTelnetSessionInlinePassword { Telnet:host "192.168.56.101"; Telnet:username "qwerty"; password "1"; Telnet:commands ["mkdir c:\\1"]; } But, it fails when I write this : #include "org/smartfrog/components.sf" #include "org/smartfrog/services/net/telnet.sf" sfConfig extends TelnetSessionInlinePassword { Telnet:ostype "windows"; Telnet:host "192.168.56.101"; Telnet:username "qwerty"; password "1"; shellPrompt ">"; Telnet:commands ["mkdir c:\\1"]; } Out is: [ProcessName(127.0.0.1)] OUT > - FAILED when trying DEPLOY of 'ProcessName', [org/smartfrog/examples/MyProjects/test3.sf], host:127.0.0.1 [ProcessName(127.0.0.1)] OUT > Result: [ProcessName(127.0.0.1)] OUT > * Exception: 'SmartFrogLifecycleException:: Unable to login in remote machine 192.168.56.101:23 cause: Password was not accepted for user "qwerty" or shell prompt "$" was not found. Password details: password length 1 [ProcessName(127.0.0.1)] OUT > remote server log: [1;1H*================================================================ [2;1H‚ б ЇаЁўҐвбвўгҐв Telnet-бҐаўҐа Їа®Ё§ў®¤бвў Є®аЇ®а жЁЁ Њ ©Єа®б®дв [3;1H*================================================================ [4;1HC:\Documents and Settings\qwerty> [5;1H[K[6;1H[K[7;1H[K[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;1H[K[25;1H[K[4;34H [ProcessName(127.0.0.1)] OUT > SmartFrog 3.17.014 (2009-07-27 16:11:39 BST) [ProcessName(127.0.0.1)] OUT > data: Failed object class: org.smartfrog.services.net.TelnetImpl [ProcessName(127.0.0.1)] OUT > primSFCompleteName: HOST "192.168.56.1":rootProcess:ProcessName:Telnet [ProcessName(127.0.0.1)] OUT > primContext: included [ProcessName(127.0.0.1)] OUT > reference: HOST "192.168.56.1":rootProcess:ProcessName:Telnet [ProcessName(127.0.0.1)] OUT > primContext: included' Looks like shell prompt don't change when I write: shellPrompt ">"; Problem in this I Think. > telnet not logging in to windows > -------------------------------- > > Key: SFOS-1559 > URL: http://jira.smartfrog.org/jira/browse/SFOS-1559 > Project: SmartFrog > Issue Type: Bug > Components: _service_net > Affects Versions: 3.17.014 > Environment: Windows XP pro SP3 > Reporter: Steve Loughran > Assignee: Steve Loughran > > User can telnet in to linux, but not windows, even though they can do it by hand -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |