Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3640

problem while using <implementation.web>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Java-SCA-2.0-M5
    • None
    • None

    • 1. Windows XP sp3
      2. Eclipse 3.5.1 with WTP 3.1.1
      3. Tomcat 6.0.26
      4. jre6

    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.

        • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tyrone Tyrone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: