problem with deployment

sai srinivas dharanikota <saisrinu31-/[email protected]>
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
Hello,

I am very new to SmartFrog. Currently I am trying to
understand the framework from the examples and docs.
I have a problem when I am trying to deploy the
components.This is the scenario: 

I have two machines : knscsl020, knscsl018
I am running "sfDaemon" on both the machines. I am
trying to deploy the components from knscsl020 to the
daemon running on knscsl018. During the deployment I
am getting the following error.

---------------------------------------------------
[root@knscsl020 opt]# sfStart knscsl018 ex1
org/smartfrog/examples/helloworld/example1dist.sf
2005/02/07 17:23:27:929 CET [WARN ][main] SFCORE_LOG -
SmartFrog security is NOT active
Warning: stack trace logging enabled
SmartFrog 3.04.014_beta
(C) Copyright 1998-2004 Hewlett-Packard Development
Company, LP
QUIET 
SmartFrogException:: java.rmi.ConnectException:
Connection refused to host: 127.0.0.1; nested
exception is: 
        java.net.ConnectException: Connection refused,
cause: java.rmi.ConnectException: Connection refused
to host: 127.0.0.1; nested exception is: 
        java.net.ConnectException: Connection refused
 
 
 --- StackTrace Throwable Begins --
SmartFrogException:: java.rmi.ConnectException:
Connection refused to host: 127.0.0.1; nested
exception is: 
        java.net.ConnectException: Connection refused,
cause: java.rmi.ConnectException: Connection refused
to host: 127.0.0.1; nested exception is: 
        java.net.ConnectException: Connection refused
 *Stack trace follows:
SmartFrogException:: java.rmi.ConnectException:
Connection refused to host: 127.0.0.1; nested
exception is: 
        java.net.ConnectException: Connection refused,
cause: java.rmi.ConnectException: Connection refused
to host: 127.0.0.1; nested exception is: 
        java.net.ConnectException: Connection refused
        at
org.smartfrog.sfcore.common.SmartFrogException.forward(SmartFrogException.java:88)
        at
org.smartfrog.sfcore.common.ActionDeploy.Deploy(ActionDeploy.java:161)
        at
org.smartfrog.sfcore.common.ActionDeploy.execute(ActionDeploy.java:213)
        at
org.smartfrog.sfcore.common.ConfigurationAction.execute(ConfigurationAction.java:75)
        at
org.smartfrog.sfcore.common.ConfigurationDescriptor.execute(ConfigurationDescriptor.java:740)
        at
org.smartfrog.SFSystem.runConfigurationDescriptor(SFSystem.java:304)
        at
org.smartfrog.SFSystem.runConfigurationDescriptor(SFSystem.java:285)
        at
org.smartfrog.SFSystem.runConfigurationDescriptors(SFSystem.java:274)
        at
org.smartfrog.SFSystem.runSmartFrog(SFSystem.java:442)
        at
org.smartfrog.SFSystem.execute(SFSystem.java:365)
        at
org.smartfrog.SFSystem.main(SFSystem.java:331)
Caused by: java.rmi.ConnectException: Connection
refused to host: 127.0.0.1; nested exception is: 
        java.net.ConnectException: Connection refused
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
        at
org.smartfrog.sfcore.processcompound.ProcessCompoundImpl_Stub.sfDeployComponentDescription(Unknown
Source)
        at
org.smartfrog.sfcore.common.ActionDeploy.Deploy(ActionDeploy.java:127)
        ... 9 more
Caused by: java.net.ConnectException: Connection
refused
        at
java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at java.net.Socket.<init>(Socket.java:365)
        at java.net.Socket.<init>(Socket.java:178)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
        ... 14 more
 --- StackTrace Throwable Ends --
 
 
 - FAILED when trying DEPLOY of 'ex1', 
[org/smartfrog/examples/helloworld/example1dist.sf], 
host:knscsl018
   Error:
    SmartFrogException:: java.rmi.ConnectException:
Connection refused to host: 127.0.0.1; nested
exception is: 
        java.net.ConnectException: Connection refused
    cause: java.rmi.ConnectException: Connection
refused to host: 127.0.0.1; nested exception is: 
        java.net.ConnectException: Connection refused
    Command line SFACT:
'ex1:DEPLOY:org/smartfrog/examples/helloworld/example1dist.sf::knscsl018:'
    To String: ' name:ex1,  type:DEPLOY, 
url:org/smartfrog/examples/helloworld/example1dist.sf,
 host:knscsl018,  resultType:FAILED, 
resultExceptionMessage:java.rmi.ConnectException:
Connection refused to host: 127.0.0.1; nested
exception is: 
        java.net.ConnectException: Connection refused'
 
QUIET 
SmartFrogException:: java.rmi.ConnectException:
Connection refused to host: 127.0.0.1; nested
exception is: 
        java.net.ConnectException: Connection refused,
cause: java.rmi.ConnectException: Connection refused
to host: 127.0.0.1; nested exception is: 
        java.net.ConnectException: Connection refused
 
-----------------------------------------------------

when I try to start example1.sf on the localhost
eveything seems to work fine. I am able to "ping" and
"ssh" between the machines.Can I have pointers to my
problem.

Thank you,
Sai

=====
Sai Srinivas Dharanikota
Master of Science INFOTECH
University of Stuttgart
Germany

Home:  +49 221 2935577
Mobile:+49 179 9090669


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.