RE: problem with deployment
"Guijarro, Julio" <[email protected]>
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <8D5B24B83C6A2E4B9E7EE5FA82627DC97509BA@sdcexcea01.emea.cpqcorp.net> |
Hi Sai, This is a very strange error. We have never experienced a similar problem. We think it must be a networking setup issue. Could you complete the following questions? - Are the two machines connected to the same switch or hub or are they in different subnets? - Could you try if "NSLookup" works for both machines? - What OS do you run in these machines? - The SF daemon uses port 3800 for its RMI registry. Could you try to telnet into that port to see if is reachable before you try to deploy anything. - Just for completeness of info, could you send us the various settings that the sf display gives you on the help menu (help->info and help->info prop). You can save or copy the results in a file. Please, do this for both hosts. I none of it tells us where the problem is we will think up some diagnostic tests...! Julio Guijarro ________________________________ From: smartfrog-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:smartfrog-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Dharanikota, Sai Sent: 11 February 2005 09:11 To: Goldsack, Patrick; smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: RE: [Smartfrog-developer] problem with deployment Hi Patrick, I am able to connect to the localhost using sfManagementConsole in both cases and I am able to deploy the components properly on the localhost. Sai ________________________________ From: Goldsack, Patrick [mailto:[email protected]] Sent: Thursday, February 10, 2005 6:21 PM To: Dharanikota, Sai; Guijarro, Julio; smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: RE: [Smartfrog-developer] problem with deployment Just out of interest, did you manage to connect to the localhost in both cases using ths sfManagementConsiole command? Patrick ________________________________ From: smartfrog-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:smartfrog-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Dharanikota, Sai Sent: 10 February 2005 16:00 To: Guijarro, Julio; smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: RE: [Smartfrog-developer] problem with deployment Hi Julio, I have tried all the steps told by Patrick. I am able to ping the machines. Its not the problem with the DNS. There is no firewall that interferes the communiation between the machines. These are my results after doing lot of testing 1) I started sfDaemon on both the machines "knscsl020" and "knscsl018". 2) When I try to open the sfmngconsole for knscsl020 from knscsl018. 3) When I try to open the sfmngconsole for knscsl018 from knscsl020. Observation: When I follow the steps 1, 2 I get the exception "java.net.ConnectException" after step 2. When I follow the steps 1, 3 I could able to access the sfmngconsole for knscsl018 from knscsl020 and I could able to see the deployed components. When I follow the steps 1, 3, 2 the daemons are communicating properly and I could able to access sfmngconsole for knscsl020 from knscsl018 and sfmngconsole for knscsl018 from knscsl020. I am also able to see the deployed components on both the machines. My observation is: every time I have to do 1, 3, 2 for the daemon communication to be proper which should not be the case. If I follow 1, 2, 3 the communication is not proper. Once both the daemons are able to communicate then I am able to deploy the components from one machine to other machine. I am not clear with this way of communication. Regards Sai --- "Guijarro, Julio" <[email protected]> wrote: > Hi Sai, > > What you are describing sounds like a configuration > problem in the > machines and we need more information to pin the > problem down. > > It cannot be a classloading problem because the > examples are in the > classpath of the daemons by default. > > Have you tried all the steps that Patrick described? > What did it > happened? > > Can you "ping" both machines? Some times there are > problems with DNS > resolution due to miss-configurations that could > affect the deployment. > > You could try the deployment using the IP address of > the machines > instead of their host names. > > Another thing that you could try is to start both > daemons and then try > to connect the management console (needs a graphical > display): > > sfManagementConsole - h knscsl018 > > and > > sfManagementConsole - h knscsl020 > > from each of them to see if the management console > can access to the > daemons. > > Do you have any kind of firewall that could > interfere with RMI > communications between the two machines? > > Please, let us know your results. > > Julio > > > -----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: 09 February 2005 17:48 > > To: Goldsack, Patrick; > smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > Subject: RE: [Smartfrog-developer] problem with > deployment > > > > Thanks for the reply. > > I depoyed the component > > > "org/smartfrog/examples/helloworld/example1dist.sf:p" > > onto the daemon running on machine knscsl018 and I > > tried to run example1dist.sf on knscsl020, every > thing > > works fine. > > When I am trying to deploy the component > > > "org/smartfrog/examples/helloworld/example1dist.sf:p" > > onto the daemon running on knscsl018 from > knscsl020 > > the deployment is not positive. I am not sure > whether > > it has to do some thing with the remote class > loading. > > > > Regards > > Sai > > --- "Goldsack, Patrick" <[email protected]> > > wrote: > > > > > > > > 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 > === message truncated ===