From: Steve L. (JIRA) <ji...@sm...> - 2011-01-13 16:52:40
|
[ http://jira.smartfrog.org/jira/browse/SFOS-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12342#comment-12342 ] Steve Loughran commented on SFOS-1559: -------------------------------------- #include "org/smartfrog/components.sf" #include "org/smartfrog/services/net/telnet.sf" sfConfig extends TelnetSessionInlinePassword { Telnet:ostype "windows"; Telnet:host "localhost"; Telnet:username "Spec_1"; password "123"; Telnet:commands ["mkdir c:\\1"]; } SmartFrog's output: [Telnet1(localhost)] OUT > java.exe -Dorg.smartfrog.iniFile="C:\smartfrog\bin\default.ini" -Djava.security.policy=="C:\smartfrog\private\sf.no.security.policy" -Djava.security.manager -Dorg.smartfrog.iniFile="C:\smartfrog\bin\default.ini" -Djava.security.policy=="C:\smartfrog\private\sf.no.security.policy" -Djava.security.manager org.smartfrog.SFSystem -a \""Telnet1\"":DEPLOY:\""org/smartfrog/examples/MyProjects/test1.sf\""::localhost: -e [Telnet1(localhost)] OUT > [Telnet1(localhost)] OUT > SmartFrog 3.17.014 (2009-07-27 16:11:39 BST) [Telnet1(localhost)] OUT > (C) Copyright 1998-2009 Hewlett-Packard Development Company, LP [Telnet1(localhost)] OUT > [Telnet1(localhost)] OUT > 2011/01/13 01:33:09:592 YEKT [WARN ][main] SFCORE_LOG - SmartFrog security is NOT active [sfDaemon] OUT > 2011/01/13 01:33:13:297 YEKT [ERROR][RMI TCP Connection(5)-192.168.56.101] SFCORE_LOG - caught on start (HOST PSU-346E4E8A88D:rootProcess:Telnet1) <SmartFrogLifecycleException:: Unable to login in remote machine [sfDaemon] OUT > SmartFrog 3.17.014 (2009-07-27 16:11:39 BST) [sfDaemon] OUT > data: Failed object class: org.smartfrog.services.net.TelnetImpl [sfDaemon] OUT > primSFCompleteName: HOST PSU-346E4E8A88D:rootProcess:Telnet1 [sfDaemon] OUT > primContext: included [sfDaemon] OUT > reference: HOST PSU-346E4E8A88D:rootProcess:Telnet1 [sfDaemon] OUT > primContext: included> [sfDaemon] OUT > SmartFrogLifecycleException:: Unable to login in remote machine, SmartFrog 3.17.014 (2009-07-27 16:11:39 BST), data: Failed object class: org.smartfrog.services.net.TelnetImpl, primSFCompleteName: HOST PSU-346E4E8A88D:rootProcess:Telnet1, primContext: included, reference: HOST PSU-346E4E8A88D:rootProcess:Telnet1, primContext: included [sfDaemon] OUT > at org.smartfrog.services.net.TelnetImpl.sfStart(TelnetImpl.java:152) [sfDaemon] OUT > at org.smartfrog.sfcore.compound.CompoundImpl.sfStartChildren(CompoundImpl.java:661) [sfDaemon] OUT > at org.smartfrog.sfcore.compound.CompoundImpl.sfStart(CompoundImpl.java:634) [sfDaemon] OUT > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [sfDaemon] OUT > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [sfDaemon] OUT > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [sfDaemon] OUT > at java.lang.reflect.Method.invoke(Method.java:597) [sfDaemon] OUT > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) [sfDaemon] OUT > at sun.rmi.transport.Transport$1.run(Transport.java:159) [sfDaemon] OUT > at java.security.AccessController.doPrivileged(Native Method) [sfDaemon] OUT > at sun.rmi.transport.Transport.serviceCall(Transport.java:155) [sfDaemon] OUT > at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) [sfDaemon] OUT > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) [sfDaemon] OUT > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) [sfDaemon] OUT > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [sfDaemon] OUT > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [sfDaemon] OUT > at java.lang.Thread.run(Thread.java:619) [sfDaemon] OUT > [Telnet1(localhost)] OUT > - FAILED when trying DEPLOY of 'Telnet1', [org/smartfrog/examples/MyProjects/test1.sf], host:localhost [Telnet1(localhost)] OUT > Result: [Telnet1(localhost)] OUT > * Exception: 'SmartFrogLifecycleException:: Unable to login in remote machine [Telnet1(localhost)] OUT > SmartFrog 3.17.014 (2009-07-27 16:11:39 BST) [Telnet1(localhost)] OUT > data: Failed object class: org.smartfrog.services.net.TelnetImpl [Telnet1(localhost)] OUT > primSFCompleteName: HOST PSU-346E4E8A88D:rootProcess:Telnet1 [Telnet1(localhost)] OUT > primContext: included [Telnet1(localhost)] OUT > reference: HOST PSU-346E4E8A88D:rootProcess:Telnet1 [Telnet1(localhost)] OUT > primContext: included' [Telnet1(localhost)] OUT > > 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 |