Hi Abhishek,

can you please share the stack trace of the error, please?

I think it would be useful to have a look at your entities, do you have a
github repository for them?

I've written a simple dropwizard entity in plain YAML which may help you [1]
Notice also that there are other YAML blueprints based on
NodeJsWebAppService entity already available at [2]

If you want to use the java-based blueprint approach, please have a look at
[3] in case you missed it.

HTH,
Andrea

[1]: https://gist.github.com/andreaturli/d28ae7130a0650ce8a65
[2]:
https://github.com/brooklyncentral/blueprint-library/search?utf8=%E2%9C%93&q=NodeJsWebAppService
[3]:
https://github.com/apache/incubator-brooklyn/blob/master/brooklyn-library/examples/simple-web-cluster/src/main/java/org/apache/brooklyn/demo/NodeJsTodoApplication.java



On 24 December 2015 at 10:03, Abhishek Sharma <abhisharm...@gmail.com>
wrote:

> I have. Doesn't work either.
>
> On Thu, Dec 24, 2015 at 12:18 AM, Duncan Johnston Watt <
> duncan.johnstonw...@cloudsoftcorp.com> wrote:
>
> > Hi. Have you tried -
> >
> > launch.latch:
> > $brooklyn:component("X").attributeWhenReady("service.isUp")
> >
> > Best
> > --
> > Duncan Johnston-Watt
> > CEO | Cloudsoft Corporation
> > +44 777 190 2653 | @duncanjw
> >
> > Sent from my iPhone
> >
> > Begin forwarded message:
> >
> > *From:* Abhishek Sharma <abhisharm...@gmail.com>
> > *Date:* 24 December 2015 at 01:40:16 GMT
> > *To:* dev@brooklyn.apache.org
> > *Subject:* *Issue Deployment Dependencies in Brooklyn*
> > *Reply-To:* dev@brooklyn.apache.org
> >
> > I have 2 applications that I start with I run brooklyn. The two apps are
> > specified as follows in a YAML file.
> >
> > services:
> >
> >
> >   - type: com.abhishek.dropwizzard
> >     id: X
> >
> >   - type: com.abhishek.nodejs
> >     id: Y
> >
> > I want my nodeJS app to come up after my drop wizard app has been started
> > successfully. In-order to setup that deployment dependency I add the
> > following to my YAML file.
> >   - type: com.abhishek.nodejs
> >     launch.latch:
> > $brooklyn:component("X").attributeWhenReady("service.process.isRunning")
> >
> > This doesn't work I get an error saying Ignoring PDP attributes ....
> >
> > Please advise on how can I fix this ?
> >
> > Thanks,
> > A
> >
>

Reply via email to