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.
--
*Поляков Александр Владимирович,**
*
*тел. 8-902-79-77-152*
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users