Thanks. I can run the SimpleMath workflow, with no exceptions and results
looks good as below, but still it doesn't seem to stop, as "Stop workflow"
button is enabled. Just want to confirm if this is normal.

17:21:20.995 02/29/12 workflowInvoked param1=15, param2=16, param1=18,
param2=21, param1=25, param2=30, param1=36, param2=43
17:21:22.737 02/29/12 MathServicePortType_adder invokingService param1=15,
param2=16
17:21:22.996 02/29/12 MathServicePortType_adder receivedResult return=31
17:21:23.249 02/29/12 MathServicePortType_adder_2 invokingService
param1=18, param2=21
17:21:23.375 02/29/12 MathServicePortType_adder_2 receivedResult return=39
17:21:23.673 02/29/12 MathServicePortType_adder_3 invokingService
param1=25, param2=30
17:21:23.801 02/29/12 MathServicePortType_adder_3 receivedResult return=55
17:21:23.998 02/29/12 MathServicePortType_adder_4 invokingService
param1=36, param2=43
17:21:24.85 02/29/12 MathServicePortType_adder_4 receivedResult return=79
17:21:26.264 02/29/12 MathServicePortType_adder_5 invokingService
param1=31, param2=39
17:21:26.379 02/29/12 MathServicePortType_adder_5 receivedResult return=70
17:21:26.526 02/29/12 MathServicePortType_adder_6 invokingService
param1=55, param2=79
17:21:26.632 02/29/12 MathServicePortType_adder_6 receivedResult return=134
17:21:28.373 02/29/12 MathServicePortType_adder_7 invokingService
param1=70, param2=134
17:21:28.521 02/29/12 MathServicePortType_adder_7 receivedResult return=204
17:21:30.594 02/29/12 sendingResult



On Wed, Feb 29, 2012 at 4:30 PM, Heshan Suriyaarachchi <
[email protected]> wrote:

> Hi Xuan,
>
> Instructions on "how to running an existing Airavata workflow" can be found
> in the Advanced workflow samples[1] tutorial.
>
> Please keep in mind that XBayaClient was renamed to AiravataClient and
> moved to a separate module in Airavata. So, you might want to update your
> project. Following is the dependency that you can use.
>
>    <groupId>org.apache.airavata</groupId>
>    <artifactId>airavata-client</artifactId>
>
> [1] -
>
> http://incubator.apache.org/airavata/documentation/system/advanced-workflow-samples.html
>
> On Wed, Feb 29, 2012 at 3:40 PM, Xuan Wu <[email protected]> wrote:
>
> > I'm testing running existing workflow, as that's required in my project.
> In
> > the 5-min and 10-min tutorials there're steps to create new workflows to
> > run but I don't see instructions to run existing workflows. I'll be using
> > xbaya client to invoke the workflow, so I suppose I'd test it in XBaya
> GUI
> > first. I submit AIRAVATA-324<
> > https://issues.apache.org/jira/browse/AIRAVATA-324>
> > .
> >
> > Thanks,
> >
> > Xuan.
> >
> > On Wed, Feb 29, 2012 at 10:29 AM, Heshan Suriyaarachchi <
> > [email protected]> wrote:
> >
> > > Hi Xuan,
> > >
> > > Are you running the tutorials or doing something different? Can you
> > > explain. If you come across any issues while running the tutorials,
> > please
> > > report it under jira.
> > >
> > > BTW you can report the issues here [1].
> > >
> > > [1] - https://issues.apache.org/jira/browse/AIRAVATA
> > >
> > > On Tue, Feb 28, 2012 at 5:34 PM, Xuan Wu <[email protected]> wrote:
> > >
> > > > I fixed this by adding a new "Application Description", and use the
> > same
> > > > name "localecho" and executable/service("localecho")/host. It runs
> > > without
> > > > exception now, but doesn't return for minutes, as "Stop workflow" is
> > > > enabled. May I ask if it's normal even if the services are all local?
> > > >
> > > > Thanks,
> > > >
> > > > Xuan.
> > > >
> > > > On Tue, Feb 28, 2012 at 5:17 PM, Xuan Wu <[email protected]>
> wrote:
> > > >
> > > > > hi all,
> > > > >
> > > > > http://issues.apache.org/ seems to be down at the moment. So I may
> > be
> > > > > asking something that's solved already.
> > > > >
> > > > > Still I'm starting airavata locally. I'm trying to use the echo
> > > service I
> > > > > created before, and I start XBaya, "Registry->Setup JCR Registry",
> > and
> > > > > "Application Services" show up in "Component" list, and there's
> > > > "localecho"
> > > > > under it.
> > > > >
> > > > > Then I open a workflow that's using the service I created before,
> and
> > > run
> > > > > as before. It doesn't stop running, and airavata server gives this
> > > > > exception:
> > > > >
> > > > > 305858 [Thread-18] INFO
> > > > >
> org.apache.airavata.core.gfac.notification.impl.LoggingNotification -
> > > > > -----DATA-----
> > > > > 305858 [Thread-18] INFO
> > > > >
> org.apache.airavata.core.gfac.notification.impl.LoggingNotification -
> > > > Start
> > > > > scheduling
> > > > > 305858 [Thread-18] INFO
> > > > >
> org.apache.airavata.core.gfac.notification.impl.LoggingNotification -
> > > > > -----END DATA-----
> > > > > 305868 [Thread-18] INFO
> > > > > org.apache.airavata.core.gfac.scheduler.impl.SchedulerImpl -
> > Searching
> > > > > registry for some deployed application hosts
> > > > > 305899 [Thread-18] WARN
> > > > > org.apache.airavata.core.gfac.scheduler.impl.SchedulerImpl -
> > Applcation
> > > > > localecho not found in registry
> > > > > 305900 [Thread-18] ERROR
> > > > >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever
> > -
> > > > > Error in invoking service
> > > > > org.apache.airavata.core.gfac.exception.SchedulerException: Host
> > > > > Desciption for localecho does not found on resource Catalog
> > > > > org.apache.airavata.registry.api.impl.AiravataJCRRegistry@b524aa
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.core.gfac.scheduler.impl.SchedulerImpl.schedule(SchedulerImpl.java:83)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.core.gfac.services.impl.AbstractSimpleService.execute(AbstractSimpleService.java:88)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever.invokeApplication(GFacMessageReciever.java:298)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever.access$000(GFacMessageReciever.java:90)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever$1.run(GFacMessageReciever.java:158)
> > > > > 305900 [Thread-18] ERROR
> > > > >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever
> > -
> > > > > Error invoking GFac Service
> > > > > org.apache.airavata.core.gfac.exception.SchedulerException: Host
> > > > > Desciption for localecho does not found on resource Catalog
> > > > > org.apache.airavata.registry.api.impl.AiravataJCRRegistry@b524aa
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.core.gfac.scheduler.impl.SchedulerImpl.schedule(SchedulerImpl.java:83)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.core.gfac.services.impl.AbstractSimpleService.execute(AbstractSimpleService.java:88)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever.invokeApplication(GFacMessageReciever.java:298)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever.access$000(GFacMessageReciever.java:90)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.airavata.services.gfac.axis2.reciever.GFacMessageReciever$1.run(GFacMessageReciever.java:158)
> > > > >
> > > > > In XBaya monitor, it shows:
> > > > > 17:09:12.168 02/28/12 workflowInvoked einput=succes
> > > > > 17:09:13.592 02/28/12 localecho_invoke invokingService
> einput=succes
> > > > > 17:09:13.927 02/28/12 workflowInvoked [Workflow is invoked]
> > > > >
> > > > > Does this mean the service description is incomplete somehow? Or is
> > > this
> > > > > the correct way to run an existing workflow?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Xuan.
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Regards,
> > > Heshan Suriyaarachchi
> > >
> > > http://heshans.blogspot.com/
> > >
> >
>
>
>
> --
> Regards,
> Heshan Suriyaarachchi
>
> http://heshans.blogspot.com/
>

Reply via email to