RE: problem with deployment
"Goldsack, Patrick" <[email protected]>
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <D46BE408DE18F841B90DEFA8CAA2CDB2417D47@sdcexcea01.emea.cpqcorp.net> |
The example works for us in our local environment - we have just tried
it - so is likely to be some environmental issue as I presume that you
have not changed the example1dist.sf file in any way.
So we will first test the comms between the nodes.
Could you please try to do the following:
1) start the daemon on both the nodes
2) on kncs1020:
go to the display and select "help->sf mng console"
when prompted for a hostname enter "kncs1018"
3) This should produce a display wondow that shows what is deployed on
that host.
Do the same from kncs1018, using default "localhost" as the hostname to
see if you get the same management window. For good measure you can try
localhost on 1020, and 1020 from 1018... (ie all four combinations).
If this works, then communication between the daemons seem to be OK.
Then retry your example and if it doesn't work, let us know and we will
have to do something else to test this.
Patrick.
-----Original Message-----
From: smartfrog-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
sai srinivas dharanikota
Sent: 07 February 2005 17:02
To: smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Smartfrog-developer] problem with deployment
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(SmartFrogExceptio
n.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(ConfigurationAct
ion.java:75)
at
org.smartfrog.sfcore.common.ConfigurationDescriptor.execute(Configuratio
nDescriptor.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.sfDeployCo
mponentDescription(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(RMIDirectSoc
ketFactory.java:22)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSoc
ketFactory.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
_______________________________________________
Smartfrog-developer mailing list
Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-developer
-------------------------------------------------------
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