glassfish
  1. glassfish
  2. GLASSFISH-1190

WSGen fed incorrect classpath info by deployer

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Duplicate
    • Affects Version/s: 9.1pe
    • Fix Version/s: 9.1pe
    • Component/s: web_services
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,190

      Description

      When wsgen is called by the Glassfish deployer, it is apparently not being fed
      the complete classpath of all component JARs in an EAR. Further, the deployer
      that calls wsgen does not seem to respect the component JAR's manifest classpath.

      Take an EAR with the following structure:

      test.ear
      core.jar
      soap.jar

      Because soap.jar and core.jar are components of an EAR, they should be able to
      see each others' classes, being in the same application classpath. But when
      wsgen is called on soap.jar, and soap.jar somehow depends on core.jar classes
      (in my case, the SEI-implementing class has an @Interceptors entry that
      references an interceptor class in core.jar), wsgen fails with a
      TypeNotPresentExceptionProxy exception. This also occurs even if core.jar is
      explicitly listed in soap.jar's manifest classpath.

      This must be an issue, as far as I can tell, with how the Glassfish deployer
      feeds wsgen classpath information. Running the standalone wsgen utility in
      Glassfish's bin directory correctly processes the JARs, both in the case where
      the two JARs are manually listed in wsgen's classpath, and when only soap.jar is
      listed in wsgen's classpath, and soap.jar references core.jar in the manifest
      classpath.

        Activity

        Hide
        goeh added a comment -
            • Issue 1190 has been confirmed by votes. ***
        Show
        goeh added a comment - Issue 1190 has been confirmed by votes. ***
        Hide
        gfbugbridge added a comment -

        <BT6488330>

        Show
        gfbugbridge added a comment - <BT6488330>
        Hide
        vijaysr added a comment -

        This is a duplicate of issue #469

            • This issue has been marked as a duplicate of 469 ***
        Show
        vijaysr added a comment - This is a duplicate of issue #469 This issue has been marked as a duplicate of 469 ***
        Hide
        gfbugbridge added a comment -

        <BT6489385>

        Show
        gfbugbridge added a comment - <BT6489385>
        Hide
        gfbugbridge added a comment -

        <BT6489852>

        Show
        gfbugbridge added a comment - <BT6489852>

          People

          • Assignee:
            vijaysr
            Reporter:
            sbalmos
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: