Hi,

I'm now trying to invoke workflow using XBayaClient, and got this exception:

Launch is called for topi:
58221302 [HttpConnection-8080-5] INFO
org.apache.airavata.xbaya.graph.impl.GraphImpl - parsing a workflow created
by version 0.2-INCUBATING
58221303 [HttpConnection-8080-5] INFO org.apache.airavata.xbaya.wf.Workflow
- id: rangeService
58221303 [HttpConnection-8080-5] INFO org.apache.airavata.xbaya.wf.Workflow
- id: rangeService
Workflow Object created
Setting Input values
Input all set
[ERROR] 10
org.apache.axis2.AxisFault: 10
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at
org.apache.airavata.xbaya.interpretor.WorkflowInterpretorMessageReceiverInOut.invokeBusinessLogic(WorkflowInterpretorMessageReceiverInOut.java:89)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:266)
at
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281)
at
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
at
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
at
org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.setupAndLaunch(WorkflowInterpretorSkeleton.java:166)
at
org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.launchWorkflow(WorkflowInterpretorSkeleton.java:125)
at
org.apache.airavata.xbaya.interpretor.WorkflowInterpretorMessageReceiverInOut.invokeBusinessLogic(WorkflowInterpretorMessageReceiverInOut.java:58)
... 11 more

and the problem is in WorkflowInterpretorSkeleton.java:

if("true".equals(configurations[10].getValue())){
...
May I ask if this is related with xbaya.properties settings in the doc "How
to use XBayaClient"?

Thanks,

Xuan.

On Tue, Feb 21, 2012 at 12:24 AM, Lahiru Gunathilake <glah...@gmail.com>wrote:

> Cool !
>
> Lahiru
>
> On Tue, Feb 21, 2012 at 12:14 AM, Xuan Wu <xua...@umail.iu.edu> wrote:
>
> > Thanks! After I remove AXIS2_HOME env variable, now it shows
> > (http://localhost:8080/axis2/services/):
> >
> > Deployed services
> > ComplexMathService
> > Available operations
> > concatenate
> > adder
> > multiplier
> > echo
> > SimpleMathService
> > Available operations
> > stringArrayGenerate
> > intArrayGenerate
> > greet
> > multiply
> > add
> > subtract
> > GFacService
> > Available operations
> > getAbstractWSDL
> > invoke
> > getWSDL
> > EventingService
> > Available operations
> > subscriptionEnd
> > unsubscribe
> > renew
> > getStatus
> > subscribe
> > publish
> > LevenshteinDistanceService
> > Available operations
> > computeDistance
> > MsgBoxService
> > Available operations
> > takeMessages
> > createMsgBox
> > destroyMsgBox
> > storeMessages
> > NotificationService
> > Available operations
> > unsubscribe
> > notify
> > getCurrentMessage
> > resumeSubscription
> > subscribe
> > pauseSubscription
> > WorkflowInterpretor
> > Available operations
> > launchWorkflow
> > Version
> > Available operations
> > getVersion
> >
> > Best,
> >
> > Xuan.
> >
> > On Mon, Feb 20, 2012 at 11:14 PM, Lahiru Gunathilake <glah...@gmail.com>
> > wrote:
> > > OK I know the reason ... Did you set AXIS2_HOME environment variable
> > > somwhere when you configure previously ?
> > >
> > > Please unset that (dont set any value for AXIS2_HOME) and start
> > > airavata-server.sh !
> > >
> > > Lahiru
> > >
> > > On Mon, Feb 20, 2012 at 10:51 PM, Xuan Wu <xua...@umail.iu.edu> wrote:
> > >
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] Reactor Build Order:
> > >> [INFO]
> > >> [INFO] Airavata
> > >> [INFO] Airavata Commons
> > >> [INFO] Airavata GFac Schema Utilities
> > >> [INFO] Airavata Common Utilities
> > >> [INFO] Airavata Common Registry API
> > >> [INFO] Airavata Registry API
> > >> [INFO] Airavata Workflow Execution Context
> > >> [INFO] Airavata-WS-Messenger
> > >> [INFO] Messenger Commons
> > >> [INFO] Messenger Client
> > >> [INFO] Airavata Workflow Tracking
> > >> [INFO] GFac-Core
> > >> [INFO] GFac-Axis2-Interface
> > >> [INFO] MessageBox
> > >> [INFO] Message Broker
> > >> [INFO] distribution
> > >> [INFO] Airavata XBaya
> > >> [INFO] Simple Math Service
> > >> [INFO] Complex Math Service
> > >> [INFO] Levenshtein Distance Service
> > >> [INFO] distribution
> > >> [INFO] Test-Suite
> > >> [INFO]
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >>
> > >> $ ls standalone-server/repository/services
> > >> complex-math-service-0.3-incubating-SNAPSHOT.aar
> > >> messagebox-0.3-incubating-SNAPSHOT.jar
> > >> simple-math-service-0.3-incubating-SNAPSHOT.aar
> > >> gfac-axis2-interface-0.3-incubating-SNAPSHOT.jar
> > >> messagebroker-0.3-incubating-SNAPSHOT.jar  version-1.5.1.aar
> > >> levenshtein-distance-service-0.3-incubating-SNAPSHOT.aar
> > >> services.list
> > >> xbaya-gui-0.3-incubating-SNAPSHOT.jar
> > >>
> > >> Best,
> > >>
> > >> Xuan.
> > >>
> > >> On Mon, Feb 20, 2012 at 10:48 PM, Lahiru Gunathilake <
> glah...@gmail.com
> > >
> > >> wrote:
> > >> > Can you please send the very first log when you try to build ...
> > Actually
> > >> > please send the reactor Build order you see when you run mvn clean
> > >> install
> > >> > -Dmaven.test.skip=true.
> > >> >
> > >> > And can you please send the files you see in
> > >> > AIRAVATA_HOME/standalone-server/repository/services directory ?
> > >> >
> > >> > Regards
> > >> > Lahiru
> > >> >
> > >> > On Mon, Feb 20, 2012 at 10:32 PM, Xuan Wu <xua...@umail.iu.edu>
> > wrote:
> > >> >
> > >> >> First thanks for the patience. I did it all over again, and here
> are
> > my
> > >> >> steps:
> > >> >>
> > >> >> $ svn co
> > >> https://svn.apache.org/repos/asf/incubator/airavata/trunkairavata
> > >> >>
> > >> >> $ cd airavata
> > >> >>
> > >> >> $ mvn clean install -Dmaven.test.skip=true
> > >> >>
> > >> >> $ cd modules/distribution/target/
> > >> >>
> > >> >> $ unzip apache-airavata-0.3-incubating-SNAPSHOT-bin.zip
> > >> >>
> > >> >> $ cd apache-airavata-0.3-incubating-SNAPSHOT/
> > >> >>
> > >> >> $ bin/jackrabbit-server.sh
> > >> >> Welcome to Apache Jackrabbit!
> > >> >> -------------------------------
> > >> >> Using repository directory jackrabbit
> > >> >> Writing log messages to jackrabbit/log
> > >> >> Starting the server...
> > >> >> Apache Jackrabbit is now running at http://localhost:8081/
> > >> >>
> > >> >> $ bin/airavata-server.sh
> > >> >> Using AXIS2_HOME: /home/xuanwu/Downloads/axis2-1.6.1
> > >> >> Using JAVA_HOME: /usr/lib/jvm/java-6-sun
> > >> >> [INFO] [SimpleAxisServer] Starting
> > >> >> [INFO] [SimpleAxisServer] Using the Axis2
> > >> >> Repository/home/xuanwu/Downloads/axis2-1.6.1/repository
> > >> >> [SimpleAxisServer] Using the Axis2
> > >> >> Repository/home/xuanwu/Downloads/axis2-1.6.1/repository
> > >> >> [SimpleAxisServer] Using the Axis2 Configuration
> > >> >> File/home/xuanwu/Downloads/axis2-1.6.1/conf/axis2.xml
> > >> >> [INFO] Clustering has been disabled
> > >> >> [INFO] Deploying module: metadataExchange-1.6.1 -
> > >> >>
> > file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/mex-1.6.1.mar
> > >> >> [INFO] Deploying module: script-1.6.1 -
> > >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/scripting-1.6.1.mar
> > >> >> [INFO] Deploying module: soapmonitor-1.6.1 -
> > >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/soapmonitor-1.6.1.mar
> > >> >> [INFO] Deploying module: addressing-1.6.1 -
> > >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/addressing-1.6.1.mar
> > >> >> [INFO] Deploying module: mtompolicy-1.6.1 -
> > >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/mtompolicy-1.6.1.mar
> > >> >> [INFO] Deploying module: ping-1.6.1 -
> > >> >>
> > >>
> > file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/ping-1.6.1.mar
> > >> >> [INFO] Deploying Web service: version.aar -
> > >> >>
> > file:/home/xuanwu/Downloads/axis2-1.6.1/repository/services/version.aar
> > >> >> [INFO] Deploying Web service: workflow-interpreter-0.2.aar -
> > >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/services/workflow-interpreter-0.2.aar
> > >> >> [INFO] [SimpleAxisServer] Started
> > >> >> [SimpleAxisServer] Started
> > >> >> [INFO] Listening on port 8080
> > >> >>
> > >> >>
> > >> >> Then I visit http://localhost:8080/axis2/services/
> > >> >>
> > >> >> Deployed services
> > >> >> Version
> > >> >> Available operations
> > >> >> getVersion
> > >> >> WorkflowInterpretor
> > >> >> Available operations
> > >> >> launchWorkflow
> > >> >>
> > >> >> There's no SimpleMathService so I suppose Axis2 service is
> > problematic?
> > >> >>
> > >> >> Thanks again.
> > >> >>
> > >> >> Xuan.
> > >> >>
> > >> >> On Mon, Feb 20, 2012 at 9:49 PM, Lahiru Gunathilake <
> > glah...@gmail.com>
> > >> >> wrote:
> > >> >> > Did you build Airavata trunk and took the pack from
> > >> >> > modules/distributions/target ?  I think you have messed up
> without
> > >> >> building
> > >> >> > airavata properly.
> > >> >> >
> > >> >> > Please checkout airavata trunk[1] and run mvn clean install
> > >> >> > -Dmaven.test.skip=true at the top level. After you build
> > successfully
> > >> go
> > >> >> to
> > >> >> > modules/distributions/target and you will see a zip file with the
> > name
> > >> >> > of apache-airavata-0.3-incubating-SNAPSHOT-bin.zip and extract it
> >  and
> > >> >> > consider that as your AIRAVATA_HOME and follow the  tutorials.
> > >> >> >
> > >> >> > [1]https://svn.apache.org/repos/asf/incubator/airavata/trunk
> > >> >> >
> > >> >> > Lahiru
> > >> >> >
> > >> >> > On Mon, Feb 20, 2012 at 8:35 PM, Xuan Wu <xua...@umail.iu.edu>
> > wrote:
> > >> >> >
> > >> >> >> Here's the output when I start airavata server:
> > >> >> >>
> > >> >> >> $ bin/airavata-server.sh
> > >> >> >>  Using AXIS2_HOME: /home/xuanwu/Downloads/axis2-1.6.1
> > >> >> >>  Using JAVA_HOME:  /usr/lib/jvm/java-6-sun
> > >> >> >> [INFO] [SimpleAxisServer] Starting
> > >> >> >> [INFO] [SimpleAxisServer] Using the Axis2
> > >> >> >> Repository/home/xuanwu/Downloads/axis2-1.6.1/repository
> > >> >> >> [SimpleAxisServer] Using the Axis2
> > >> >> >> Repository/home/xuanwu/Downloads/axis2-1.6.1/repository
> > >> >> >> [SimpleAxisServer] Using the Axis2 Configuration
> > >> >> >> File/home/xuanwu/Downloads/axis2-1.6.1/conf/axis2.xml
> > >> >> >> [INFO] Clustering has been disabled
> > >> >> >> [INFO] Deploying module: metadataExchange-1.6.1 -
> > >> >> >>
> > >>
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/mex-1.6.1.mar
> > >> >> >> [INFO] Deploying module: script-1.6.1 -
> > >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/scripting-1.6.1.mar
> > >> >> >> [INFO] Deploying module: soapmonitor-1.6.1 -
> > >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/soapmonitor-1.6.1.mar
> > >> >> >> [INFO] Deploying module: addressing-1.6.1 -
> > >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/addressing-1.6.1.mar
> > >> >> >> [INFO] Deploying module: mtompolicy-1.6.1 -
> > >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/mtompolicy-1.6.1.mar
> > >> >> >> [INFO] Deploying module: ping-1.6.1 -
> > >> >> >>
> > >> >>
> > >>
> > file:/home/xuanwu/Downloads/axis2-1.6.1/repository/modules/ping-1.6.1.mar
> > >> >> >> [INFO] Deploying Web service: version.aar -
> > >> >> >>
> > >>
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/services/version.aar
> > >> >> >> [INFO] Deploying Web service: workflow-interpreter-0.2.aar -
> > >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> file:/home/xuanwu/Downloads/axis2-1.6.1/repository/services/workflow-interpreter-0.2.aar
> > >> >> >> [INFO] Listening on port 8080
> > >> >> >> [INFO] [SimpleAxisServer] Started
> > >> >> >> [SimpleAxisServer] Started
> > >> >> >>
> > >> >> >>
> > >> >> >> Here's the result of http://localhost:8080/axis2/services/:
> > >> >> >>
> > >> >> >> Deployed services
> > >> >> >> Version
> > >> >> >> Available operations
> > >> >> >> getVersion
> > >> >> >> WorkflowInterpretor
> > >> >> >> Available operations
> > >> >> >> launchWorkflow
> > >> >> >>
> > >> >> >> Thanks,
> > >> >> >>
> > >> >> >> Xuan.
> > >> >> >>
> > >> >> >> On Mon, Feb 20, 2012 at 8:20 PM, Suresh Marru <
> sma...@apache.org>
> > >> >> wrote:
> > >> >> >> > On Feb 20, 2012, at 7:32 PM, Xuan Wu wrote:
> > >> >> >> >
> > >> >> >> >> It seems my axis2 service hasn't setup correctly, as I got
> this
> > >> error
> > >> >> >> >> when I follow the 5 minutes tutorial step by step till
> > importing
> > >> >> >> >> simple-math-service:
> > >> >> >> >>
> > >> >> >> >> Caused by: java.io.IOException: Server returned HTTP response
> > >> code:
> > >> >> >> >> 500 for URL:
> > >> >> >> http://localhost:8080/axis2/services/SimpleMathService?wsdl
> > >> >> >> >>       at
> > >> >> >>
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpUR
> > >> >> >> >
> > >> >> >> > Hi Xuan,
> > >> >> >> >
> > >> >> >> > Were you able to see the wsdl for the above URL in your
> browser?
> > >> Can
> > >> >> you
> > >> >> >> verify is the airavata server is started properly? can you see
> if
> > >> other
> > >> >> >> services are there - http://localhost:8080/axis2/services/ ?
> > >> >> >> >
> > >> >> >> > Suresh
> > >> >> >> >
> > >> >> >> >> LConnection.java:1436)
> > >> >> >> >>       at
> xsul.wsdl.WsdlResolver.loadWsdl(WsdlResolver.java:154)
> > >> >> >> >>       ... 6 more
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >> >> May I ask if there's a way to diagnose the axis2 service?
> > >> >> >> >>
> > >> >> >> >> Thanks,
> > >> >> >> >>
> > >> >> >> >> Xuan.
> > >> >> >> >>
> > >> >> >> >> On Sat, Feb 18, 2012 at 12:49 AM, Lahiru Gunathilake <
> > >> >> glah...@gmail.com>
> > >> >> >> wrote:
> > >> >> >> >>> Can you please refer airavata 5 minutes tutorial[1] to
> > understand
> > >> >> the
> > >> >> >> >>> standalone set up of airavata.
> > >> >> >> >>>
> > >> >> >> >>> [1]http://airavata.org/
> > >> >> >> >>>
> > >> >> >> >>> I think you have deploy workflow interpreter on axis2
> > container
> > >> ...
> > >> >> you
> > >> >> >> >>> really don't have to do this initially we bundle axis2 with
> > >> airavata
> > >> >> >> .. it
> > >> >> >> >>> just a matter of changing the properties file and use it.
> > >> >> >> >>>
> > >> >> >> >>> Lahiru
> > >> >> >> >>>
> > >> >> >> >>> On Thu, Feb 16, 2012 at 4:39 PM, Heshan Suriyaarachchi <
> > >> >> >> >>> heshan.suriyaarach...@gmail.com> wrote:
> > >> >> >> >>>
> > >> >> >> >>>> Hi Xuan,
> > >> >> >> >>>>
> > >> >> >> >>>> Thanks for your interest in Airavata. We have a jira task
> for
> > >> this
> > >> >> >> issue
> > >> >> >> >>>> and you can refer the Google doc given in [1]. If you find
> > any
> > >> >> >> information
> > >> >> >> >>>> missing in the article please let us know. BTW this article
> > is
> > >> >> >> specific to
> > >> >> >> >>>> Airavata trunk. So, you have to build the trunk first.
> > >> >> >> >>>>
> > >> >> >> >>>> [1] - https://issues.apache.org/jira/browse/AIRAVATA-301
> > >> >> >> >>>>
> > >> >> >> >>>> Thanks,
> > >> >> >> >>>> Heshan.
> > >> >> >> >>>>
> > >> >> >> >>>> On Thu, Feb 16, 2012 at 4:03 PM, Xuan Wu <
> > xua...@umail.iu.edu>
> > >> >> wrote:
> > >> >> >> >>>>
> > >> >> >> >>>>> Hi all,
> > >> >> >> >>>>>
> > >> >> >> >>>>> I need to set up all the depended services so that I can
> use
> > >> the
> > >> >> >> XBaya
> > >> >> >> >>>>> client for OLAM web portal. May I ask if there are some
> > >> >> instructions
> > >> >> >> >>>>> for that?
> > >> >> >> >>>>>
> > >> >> >> >>>>> Thanks,
> > >> >> >> >>>>>
> > >> >> >> >>>>> Xuan.
> > >> >> >> >>>>>
> > >> >> >> >>>>
> > >> >> >> >>>>
> > >> >> >> >>>>
> > >> >> >> >>>> --
> > >> >> >> >>>> Regards,
> > >> >> >> >>>> Heshan Suriyaarachchi
> > >> >> >> >>>>
> > >> >> >> >>>> http://heshans.blogspot.com/
> > >> >> >> >>>>
> > >> >> >> >>>
> > >> >> >> >>>
> > >> >> >> >>>
> > >> >> >> >>> --
> > >> >> >> >>> System Analyst Programmer
> > >> >> >> >>> PTI Lab
> > >> >> >> >>> Indiana University
> > >> >> >> >
> > >> >> >> >
> > >> >> >> > -----BEGIN PGP SIGNATURE-----
> > >> >> >> >
> > >> >> >> >
> iQIcBAEBAgAGBQJPQvFtAAoJEHmz9P1hfdut3awP/A0K6h+xH/5cJDR/ZrN+o4sk
> > >> >> >> >
> 4UN43xnx5TdBKPPza0EGIed2VkmU7/eUtI8ltrdcip3EWZkxoCg6VwIBzZLPHh0M
> > >> >> >> >
> qJi0PCsMx1cKQlE1mde5Jgzxn94pmbON7LRUl/7IcivJsDX9yCWrrsLE32EyewVr
> > >> >> >> >
> UXuB3jtL78nz7H2dYoM9u6HNEAzMTGYgfDnbrZMRIA0Asy0OZjv3LYxwMy4ZR2OE
> > >> >> >> >
> QiAPCJLPibFtHuqf29n9XnQs93j6af4D9pr43/lS9oF1cagjBS33+48tTT3h8Nfh
> > >> >> >> >
> 45+W3hYOoFlrDSrlQxkhi77sTy/4A14uW4L4XWEFnRyNpBQCly8/7DYj/r9YIXjx
> > >> >> >> >
> NgQ6fQ23A9QptX+sh+/E2FHaU9xWKvib0KGvXb4yDBu9HRRKKoYcMnq6i2fUISTq
> > >> >> >> >
> +UwGWtrg5IliXCtUDO13mMsQqVro5w4OweQCGPIyHpQvLmhjFM3UAzq6LrNUnkEj
> > >> >> >> >
> //ox9RvuGhUZ3xJic/dqGSzk036YeHblgZCmplp5bGA4SK9aOvTfTXeHoz+7tBa/
> > >> >> >> >
> m62T7YQv7RW1VpXcCeanvwp/q4Y9kqAYQSB1lrUPRvQGNOwhp02cuQ9sOGsEetcA
> > >> >> >> >
> hpsxQ+sh+DyYicY4UZkpM08kKjNMXvZG5X/GC/qqRnsTNTF+GZXITmfGOzDv96AX
> > >> >> >> > RskKOXp8tV+KFvc592js
> > >> >> >> > =jpZ0
> > >> >> >> > -----END PGP SIGNATURE-----
> > >> >> >> >
> > >> >> >>
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> > --
> > >> >> > System Analyst Programmer
> > >> >> > PTI Lab
> > >> >> > Indiana University
> > >> >>
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > System Analyst Programmer
> > >> > PTI Lab
> > >> > Indiana University
> > >>
> > >
> > >
> > >
> > > --
> > > System Analyst Programmer
> > > PTI Lab
> > > Indiana University
> >
>
>
>
> --
> System Analyst Programmer
> PTI Lab
> Indiana University
>

Reply via email to