glassfish
  1. glassfish
  2. GLASSFISH-20452

[Regression] Client test was not able to load persistence api through javaee.jar during compilation on GF web distribution

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0_b86_RC2
    • Fix Version/s: 4.0_b88_RC4
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      OEL Linux 6.2, jdk1.7.0_21

      Description

      Build 87. Web distribution.

      The client tests load persistence api through javaee.jar and failed with following errors during compilation:

      compile-common-as:
      [mkdir] Created dir: /home/mmzhang/paas/appserver-sqe/build/pe/amd64_chicago_Linux/ejb31/classes
      [echo] sqe-common.xml: Compiling test source files
      [javac] /home/mmzhang/paas/appserver-sqe/build-config/sqe-common.xml:512: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
      [javac] Compiling 3 source files to /home/mmzhang/paas/appserver-sqe/build/pe/amd64_chicago_Linux/ejb31/classes
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:3: error: package javax.persistence does not exist
      [javac] import javax.persistence.Entity;
      [javac] ^
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:4: error: package javax.persistence does not exist
      [javac] import javax.persistence.Id;
      [javac] ^
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:5: error: package javax.persistence does not exist
      [javac] import javax.persistence.GeneratedValue;
      [javac] ^
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:6: error: package javax.persistence does not exist
      [javac] import javax.persistence.GenerationType;
      [javac] ^
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:7: error: package javax.persistence does not exist
      [javac] import javax.persistence.Table;
      [javac] ^
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:8: error: package javax.persistence does not exist
      [javac] import javax.persistence.Column;
      [javac] ^
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:10: error: cannot find symbol
      [javac] @Entity
      [javac] ^
      [javac] symbol: class Entity
      [javac] /home/mmzhang/paas/appserver-sqe/pe/ejb/ejb31/war/nointerfacecmt/web/servlet/JpaBean.java:11: error: cannot find symbol
      ...

      The same tests were passing on b81.

        Activity

        Hide
        Mitesh Meswani added a comment -

        This should be fixed as of 04/26th nighthy

        I checked with Ming. These tests were executed against build of 04/25. Can you please reexecute the tests against any build after 04/26 to verify.

        Show
        Mitesh Meswani added a comment - This should be fixed as of 04/26th nighthy I checked with Ming. These tests were executed against build of 04/25. Can you please reexecute the tests against any build after 04/26 to verify.
        Hide
        Mitesh Meswani added a comment -

        Marking as fixed. Please rerun the test as described above.

        Show
        Mitesh Meswani added a comment - Marking as fixed. Please rerun the test as described above.

          People

          • Assignee:
            Mitesh Meswani
            Reporter:
            mzh777
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: