Re: DEPLOYMENT
Ritu Sabharwal <[email protected]>
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Organization | HP |
| Message-ID | <[email protected]> |
Hello Rana, As I mentioned in my earlier mail, the parent parameter has to be some compound component (itself or some other compound) or some processcompound (local or remote rootProcess). In each case, call sfDeployComponentDescription() with the appropriate component as parent paremeter from sfStart(). Parent parameter points to the component/host where you want this component to get deployed so it cannot be null. Also, as Julio mentioned please check the similar thread in the lists archive: http://news.gmane.org/gmane.comp.java.smartfrog.user/cutoff=72 Title: "Component Deployment." Thanks, Ritu. rana dabbu wrote: >hello , > > As per instructions I have tried the following >- i have a class extending Compound and used both sfCreateNewApp and >sfDeployComponent description( by setting parent to NULL and context >obtained by the sfContext() on my description). >I am getting Nullpointer and Deployment exception. > >regards, >Rana > > >------------------------------------------------------- >SF.Net email is sponsored by: Tell us your software development plans! >Take this survey and enter to win a one-year sub to SourceForge.net >Plus IDC's 2005 look-ahead and a copy of this survey >Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix >_______________________________________________ >Smartfrog-developer mailing list >Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >https://lists.sourceforge.net/lists/listinfo/smartfrog-developer > > ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix