airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Jayasekara <thejaka.am...@gmail.com>
Subject Re: Exceptions while running integration tests - trunk
Date Thu, 21 Mar 2013 20:30:07 GMT
On Thu, Mar 21, 2013 at 4:20 PM, Lahiru Gunathilake <glahiru@gmail.com> wrote:
> airavata-registry web app is not properly started, seems like thats why we
> are getting this error.

If I start server manually airavata-registry webapp starts fine. So
how did you conclude airavata-registry web app is not properly
deployed ?

Thanks
Amila

>
> Lahiru
>
> On Thu, Mar 21, 2013 at 3:05 PM, Lahiru Gunathilake <glahiru@gmail.com>wrote:
>
>> Will look in to this issue soon.
>>
>> Regards
>> Lahiru
>>
>> On Wed, Mar 20, 2013 at 7:19 PM, Amila Jayasekara <thejaka.amila@gmail.com
>> > wrote:
>>
>>> Hi All,
>>>
>>> While running integration tests i get following exceptions. And program
>>> freezes.
>>> Any idea how to resolve them ?
>>>
>>> Thanks
>>> Amila
>>>
>>> [INFO] [talledLocalContainer] Mar 20, 2013 7:09:39 PM
>>> com.sun.jersey.spi.container.servlet.WebComponent filterFormParameters
>>> [WARNING] [talledLocalContainer] WARNING: A servlet request, to the
>>> URI
>>> http://localhost:8088/airavata-registry/api/userwfregistry/workflow/exist?workflowName=Echo
>>> ,
>>> contains form parameters in the request body but the request body has
>>> been consumed by the servlet or a servlet filter accessing the request
>>> parameters. Only resource methods using @FormParam will work as
>>> expected. Resource methods consuming the request body by other means
>>> will not work as expected.
>>> [INFO] Workflow setting up completed ...
>>> [INFO] [talledLocalContainer] [INFO] Experiment launched
>>> :Echo_6600f96d-888f-47fe-a282-9b5aa9290f90
>>> [INFO] Run workflow completed ....
>>> [INFO] Starting monitoring ....
>>> [INFO] [talledLocalContainer] [ERROR]
>>> [INFO] [talledLocalContainer] java.lang.NullPointerException
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:282)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:751)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:534)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.scheduleDynamically(WorkflowInterpreter.java:219)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:389)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.access$400(WorkflowInterpretorSkeleton.java:87)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton$2.run(WorkflowInterpretorSkeleton.java:382)
>>> [INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:680)
>>> [INFO] [talledLocalContainer] [ERROR]
>>> [INFO] [talledLocalContainer] java.lang.NullPointerException
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:282)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:751)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:534)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.scheduleDynamically(WorkflowInterpreter.java:219)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:389)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.access$400(WorkflowInterpretorSkeleton.java:87)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton$2.run(WorkflowInterpretorSkeleton.java:382)
>>> [INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:680)
>>> [INFO] [talledLocalContainer] Exception in thread "Thread-42"
>>> org.apache.airavata.workflow.model.exceptions.WorkflowRuntimeException:
>>> org.apache.airavata.workflow.model.exceptions.WorkflowException: Error
>>> in invoking a service: <wsdl:definitions name="Echo"
>>> targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12"
>>> xmlns:typens="http://airavata.apache.org/schemas/gfac/2012/12/Echo/xsd"
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>> xmlns:globalTypens="http://airavata.apache.org/schemas/gfac/2012/12/xsd"
>>> xmlns:wsdlns="http://airavata.apache.org/schemas/gfac/2012/12"
>>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>> xmlns:gfac="http://airavata.apache.org/schemas/gfac/2012/12"
>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">  <wsdl:types>
>>> <schema elementFormDefault="unqualified"
>>> targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12/Echo/xsd
>>> "
>>> xmlns="http://www.w3.org/2001/XMLSchema">      <import
>>> namespace="http://airavata.apache.org/schemas/gfac/2012/12"
>>> schemaLocation="
>>> http://airavata.apache.org/schemas/gfac/2012/12/GFacParameterTypes.xsd"
>>> />      <element name="invoke_InputParams"
>>> type="typens:invoke_InputParamsType" />      <complexType
>>> name="invoke_InputParamsType">        <sequence>          <element
>>> name="echo_input" type="gfac:StringParameterType">
>>> <annotation>              <documentation />            </annotation>
>>>        </element>        </sequence>      </complexType>  
   <element
>>> name="invoke_OutputParams" type="typens:invoke_OutputParamsType" />
>>>   <complexType name="invoke_OutputParamsType">        <sequence>
>>>    <element name="echo_output" type="gfac:StringParameterType">
>>>     <annotation>              <documentation />
>>> </annotation>          </element>        </sequence>
>>> </complexType>    </schema>  </wsdl:types>  <wsdl:message
>>> name="invoke_ResponseMessage_504bca7e-4bb2-4432-84bc-f5f21f77ac76">
>>> <wsdl:part name="parameters" element="typens:invoke_OutputParams">
>>> </wsdl:part>  </wsdl:message>  <wsdl:message
>>> name="invoke_RequestMessage_ebe74610-34d1-4a31-8e00-84c2b2219843">
>>> <wsdl:part name="parameters" element="typens:invoke_InputParams">
>>> </wsdl:part>  </wsdl:message>  <wsdl:portType name="Echo">
>>> [INFO] [talledLocalContainer]     <wsdl:documentation />
>>> <wsdl:operation name="invoke">
>>> [INFO] [talledLocalContainer]       <wsdl:documentation />
>>> <wsdl:input
>>> name="invoke_RequestMessage_ebe74610-34d1-4a31-8e00-84c2b2219843"
>>>
>>> message="wsdlns:invoke_RequestMessage_ebe74610-34d1-4a31-8e00-84c2b2219843">
>>>    </wsdl:input>      <wsdl:output
>>> name="invoke_ResponseMessage_504bca7e-4bb2-4432-84bc-f5f21f77ac76"
>>>
>>> message="wsdlns:invoke_ResponseMessage_504bca7e-4bb2-4432-84bc-f5f21f77ac76">
>>>    </wsdl:output>    </wsdl:operation>  </wsdl:portType>
>>> [INFO] [talledLocalContainer] </wsdl:definitions>
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:392)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.access$400(WorkflowInterpretorSkeleton.java:87)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton$2.run(WorkflowInterpretorSkeleton.java:382)
>>> [INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:680)
>>> [INFO] [talledLocalContainer] Caused by:
>>> org.apache.airavata.workflow.model.exceptions.WorkflowException: Error
>>> in invoking a service: <wsdl:definitions name="Echo"
>>> targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12"
>>> xmlns:typens="http://airavata.apache.org/schemas/gfac/2012/12/Echo/xsd"
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>> xmlns:globalTypens="http://airavata.apache.org/schemas/gfac/2012/12/xsd"
>>> xmlns:wsdlns="http://airavata.apache.org/schemas/gfac/2012/12"
>>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>> xmlns:gfac="http://airavata.apache.org/schemas/gfac/2012/12"
>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">  <wsdl:types>
>>> <schema elementFormDefault="unqualified"
>>> targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12/Echo/xsd
>>> "
>>> xmlns="http://www.w3.org/2001/XMLSchema">      <import
>>> namespace="http://airavata.apache.org/schemas/gfac/2012/12"
>>> schemaLocation="
>>> http://airavata.apache.org/schemas/gfac/2012/12/GFacParameterTypes.xsd"
>>> />      <element name="invoke_InputParams"
>>> type="typens:invoke_InputParamsType" />      <complexType
>>> name="invoke_InputParamsType">        <sequence>          <element
>>> name="echo_input" type="gfac:StringParameterType">
>>> <annotation>              <documentation />            </annotation>
>>>        </element>        </sequence>      </complexType>  
   <element
>>> name="invoke_OutputParams" type="typens:invoke_OutputParamsType" />
>>>   <complexType name="invoke_OutputParamsType">        <sequence>
>>>    <element name="echo_output" type="gfac:StringParameterType">
>>>     <annotation>              <documentation />
>>> </annotation>          </element>        </sequence>
>>> </complexType>    </schema>  </wsdl:types>  <wsdl:message
>>> name="invoke_ResponseMessage_504bca7e-4bb2-4432-84bc-f5f21f77ac76">
>>> <wsdl:part name="parameters" element="typens:invoke_OutputParams">
>>> </wsdl:part>  </wsdl:message>  <wsdl:message
>>> name="invoke_RequestMessage_ebe74610-34d1-4a31-8e00-84c2b2219843">
>>> <wsdl:part name="parameters" element="typens:invoke_InputParams">
>>> </wsdl:part>  </wsdl:message>  <wsdl:portType name="Echo">
>>> [INFO] [talledLocalContainer]     <wsdl:documentation />
>>> <wsdl:operation name="invoke">
>>> [INFO] [talledLocalContainer]       <wsdl:documentation />
>>> <wsdl:input
>>> name="invoke_RequestMessage_ebe74610-34d1-4a31-8e00-84c2b2219843"
>>>
>>> message="wsdlns:invoke_RequestMessage_ebe74610-34d1-4a31-8e00-84c2b2219843">
>>>    </wsdl:input>      <wsdl:output
>>> name="invoke_ResponseMessage_504bca7e-4bb2-4432-84bc-f5f21f77ac76"
>>>
>>> message="wsdlns:invoke_ResponseMessage_504bca7e-4bb2-4432-84bc-f5f21f77ac76">
>>>    </wsdl:output>    </wsdl:operation>  </wsdl:portType>
>>> [INFO] [talledLocalContainer] </wsdl:definitions>
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:359)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:751)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:534)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.scheduleDynamically(WorkflowInterpreter.java:219)
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:389)
>>> [INFO] [talledLocalContainer]   ... 3 more
>>> [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException
>>> [INFO] [talledLocalContainer]   at
>>>
>>> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:282)
>>> [INFO] [talledLocalContainer]   ... 7 more
>>>
>>
>>
>>
>> --
>> System Analyst Programmer
>> PTI Lab
>> Indiana University
>>
>
>
>
> --
> System Analyst Programmer
> PTI Lab
> Indiana University

Mime
View raw message