You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Tyrone Yu (JIRA)" <de...@tuscany.apache.org> on 2010/08/02 11:17:25 UTC

[jira] Updated: (TUSCANY-3640) problem while using

     [ https://issues.apache.org/jira/browse/TUSCANY-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tyrone Yu updated TUSCANY-3640:
-------------------------------

    Description: 
The war file attached, I also export its source code
1. TextService.war : text web service, it combines the two input string and return the combined String.
2. MessageService.war : message web service, This service fetch messages on twitter. It has one method 
    "getMessages", input (UserData, int)\, UserData contains username and password, int means the message 
    amount we want to fetch.  It returns Message[], the self-defined POJO array.
3. CompositionService-jsp.war: contains the composition service that assembles the two services above. It also contains a <implementation.web> component that calls composition service and show result on jsp.

I have two questions:
1. while I deploy these above three war file, I got  "java.lang.IllegalArgumentException: Argument is not an array", 
    this message has also been attached as file "ErrorMessageWhileCallingCompositionService.txt"
2. if I change the library of CompositionService-jsp.war by the whole Tuscany 2.0.M5 jar files, I got 
    "java.lang.NullPointerException", this message has been attached as file 
    "ErrorMessageWhileUsingWholeTuscany2.0.M5 Library.txt"

P.S. 
* The file size of TextService.war and MessageService.war are large because their library contain almost all   
   Tuscany 2.0.M5 jar files.
** The lib of CompositionService-jsp.war attached was coped from samples\webapps\helloworld-jsp.

  was:
Three war file attached, I also export its source code
1. TextService.war : text web service, it combines the two input string and return the combined String.
2. MessageService.war : message web service, This service fetch messages on twitter. It has one method 
    "getMessages", input (UserData, int)\, UserData contains username and password, int means the message 
    amount we want to fetch.  It returns Message[], the self-defined POJO array.
3. CompositionService-jsp.war: contains the composition service that assembles the two services above. It also contains a <implementation.web> component that calls composition service and show result on jsp.

I have two questions:
1. while I deploy these above three war file, I got  "java.lang.IllegalArgumentException: Argument is not an array", 
    this message has also been attached as file "ErrorMessageWhileCallingCompositionService.txt"
2. if I change the library of CompositionService-jsp.war by the whole Tuscany 2.0.M5 jar files, I got 
    "java.lang.NullPointerException", this message has been attached as file 
    "ErrorMessageWhileUsingWholeTuscany2.0.M5 Library.txt"

P.S. 
* The file size of TextService.war and MessageService.war are large because their library contain almost all   
   Tuscany 2.0.M5 jar files. I may delete these two file after question solved.
** The lib of CompositionService-jsp.war attached was coped from samples\webapps\helloworld-jsp.


> problem while using <implementation.web>
> ----------------------------------------
>
>                 Key: TUSCANY-3640
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3640
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M5
>         Environment: 1. Windows XP sp3
> 2. Eclipse 3.5.1 with WTP 3.1.1
> 3. Tomcat 6.0.26
> 4. jre6
>            Reporter: Tyrone Yu
>
> The war file attached, I also export its source code
> 1. TextService.war : text web service, it combines the two input string and return the combined String.
> 2. MessageService.war : message web service, This service fetch messages on twitter. It has one method 
>     "getMessages", input (UserData, int)\, UserData contains username and password, int means the message 
>     amount we want to fetch.  It returns Message[], the self-defined POJO array.
> 3. CompositionService-jsp.war: contains the composition service that assembles the two services above. It also contains a <implementation.web> component that calls composition service and show result on jsp.
> I have two questions:
> 1. while I deploy these above three war file, I got  "java.lang.IllegalArgumentException: Argument is not an array", 
>     this message has also been attached as file "ErrorMessageWhileCallingCompositionService.txt"
> 2. if I change the library of CompositionService-jsp.war by the whole Tuscany 2.0.M5 jar files, I got 
>     "java.lang.NullPointerException", this message has been attached as file 
>     "ErrorMessageWhileUsingWholeTuscany2.0.M5 Library.txt"
> P.S. 
> * The file size of TextService.war and MessageService.war are large because their library contain almost all   
>    Tuscany 2.0.M5 jar files.
> ** The lib of CompositionService-jsp.war attached was coped from samples\webapps\helloworld-jsp.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.