You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Saminda Wijeratne <sa...@gmail.com> on 2012/08/21 04:09:04 UTC

Composing workflows in XBaya with no Internet

Hi Devs,

In this scenario application service validation fails ("The component is in
wrong format") when no Internet because it uses schema hosted online. This
results in error in composing workflows. Can we have a better solution for
the validation part?

Volunteers are welcome to help fix this issue.

Following is the exception thrown,
org.apache.airavata.workflow.model.component.ComponentException: The
component is in wrong format.
    at
org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:86)
    at
org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:64)
    at
org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:49)
    at
org.apache.airavata.workflow.model.component.registry.JCRComponentReference.getComponents(JCRComponentReference.java:61)
    at
org.apache.airavata.xbaya.ui.widgets.component.ComponentSelector$8.run(ComponentSelector.java:335)
Caused by: org.apache.airavata.workflow.model.component.ComponentException:
could not find definition for type {
http://schemas.airavata.apache.org/gfac/type}StringParameterType in {
http://schemas.airavata.apache.org/gfac/type}echo_app3
    at
org.apache.airavata.workflow.model.component.ws.WSComponent.parseType(WSComponent.java:468)
    at
org.apache.airavata.workflow.model.component.ws.WSComponent.parseMessage(WSComponent.java:398)
    at
org.apache.airavata.workflow.model.component.ws.WSComponent.parseOperation(WSComponent.java:362)
    at
org.apache.airavata.workflow.model.component.ws.WSComponent.parsePortType(WSComponent.java:353)
    at
org.apache.airavata.workflow.model.component.ws.WSComponent.parse(WSComponent.java:345)
    at
org.apache.airavata.workflow.model.component.ws.WSComponent.<init>(WSComponent.java:132)
    at
org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponent(WSComponentFactory.java:136)
    at
org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:82)
    ... 4 more

Saminda

Re: Composing workflows in XBaya with no Internet

Posted by Saminda Wijeratne <sa...@gmail.com>.
Thanks Raminder... I will update the jira with more details...

On Mon, Aug 20, 2012 at 10:50 PM, Raminderjeet Singh <
raminderjsingh@gmail.com> wrote:

> JIRA task for following issue.
>
> https://issues.apache.org/jira/browse/AIRAVATA-535
>
> Thanks
> Raminder
>
> On Aug 20, 2012, at 10:09 PM, Saminda Wijeratne wrote:
>
> > Hi Devs,
> >
> > In this scenario application service validation fails ("The component is
> in
> > wrong format") when no Internet because it uses schema hosted online.
> This
> > results in error in composing workflows. Can we have a better solution
> for
> > the validation part?
> >
> > Volunteers are welcome to help fix this issue.
> >
> > Following is the exception thrown,
> > org.apache.airavata.workflow.model.component.ComponentException: The
> > component is in wrong format.
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:86)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:64)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:49)
> >    at
> >
> org.apache.airavata.workflow.model.component.registry.JCRComponentReference.getComponents(JCRComponentReference.java:61)
> >    at
> >
> org.apache.airavata.xbaya.ui.widgets.component.ComponentSelector$8.run(ComponentSelector.java:335)
> > Caused by:
> org.apache.airavata.workflow.model.component.ComponentException:
> > could not find definition for type {
> > http://schemas.airavata.apache.org/gfac/type}StringParameterType in {
> > http://schemas.airavata.apache.org/gfac/type}echo_app3
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponent.parseType(WSComponent.java:468)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponent.parseMessage(WSComponent.java:398)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponent.parseOperation(WSComponent.java:362)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponent.parsePortType(WSComponent.java:353)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponent.parse(WSComponent.java:345)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponent.<init>(WSComponent.java:132)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponent(WSComponentFactory.java:136)
> >    at
> >
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:82)
> >    ... 4 more
> >
> > Saminda
>
>

Re: Composing workflows in XBaya with no Internet

Posted by Raminderjeet Singh <ra...@gmail.com>.
JIRA task for following issue.

https://issues.apache.org/jira/browse/AIRAVATA-535

Thanks
Raminder

On Aug 20, 2012, at 10:09 PM, Saminda Wijeratne wrote:

> Hi Devs,
> 
> In this scenario application service validation fails ("The component is in
> wrong format") when no Internet because it uses schema hosted online. This
> results in error in composing workflows. Can we have a better solution for
> the validation part?
> 
> Volunteers are welcome to help fix this issue.
> 
> Following is the exception thrown,
> org.apache.airavata.workflow.model.component.ComponentException: The
> component is in wrong format.
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:86)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:64)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:49)
>    at
> org.apache.airavata.workflow.model.component.registry.JCRComponentReference.getComponents(JCRComponentReference.java:61)
>    at
> org.apache.airavata.xbaya.ui.widgets.component.ComponentSelector$8.run(ComponentSelector.java:335)
> Caused by: org.apache.airavata.workflow.model.component.ComponentException:
> could not find definition for type {
> http://schemas.airavata.apache.org/gfac/type}StringParameterType in {
> http://schemas.airavata.apache.org/gfac/type}echo_app3
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponent.parseType(WSComponent.java:468)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponent.parseMessage(WSComponent.java:398)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponent.parseOperation(WSComponent.java:362)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponent.parsePortType(WSComponent.java:353)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponent.parse(WSComponent.java:345)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponent.<init>(WSComponent.java:132)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponent(WSComponentFactory.java:136)
>    at
> org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:82)
>    ... 4 more
> 
> Saminda