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/