[
https://issues.apache.org/jira/browse/TUSCANY-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tyrone Yu updated TUSCANY-3640:
-------------------------------
Attachment: CompositionService-jsp.war
ErrorMessageWhileCallingCompositionService.txt
ErrorMessageWhileUsingWholeTuscany2.0.M5 Library.txt
> 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
> Attachments: CompositionService-jsp.war,
> ErrorMessageWhileCallingCompositionService.txt,
> ErrorMessageWhileUsingWholeTuscany2.0.M5 Library.txt
>
>
> 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.
> ** war file link: http://www.megaupload.com/?d=9I8W3GFG
> 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.
> ** war file link: http://www.megaupload.com/?d=7QK62D8U
> 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.