[GLASSFISH-20452] [Regression] Client test was not able to load persistence api through javaee.jar during compilation on GF web distribution Created: 01/May/13  Updated: 20/Dec/16  Resolved: 02/May/13

Status: Resolved
Project: glassfish
Component/s: entity-persistence
Affects Version/s: 4.0_dev
Fix Version/s: 4.0_dev

Type: Bug Priority: Critical
Reporter: mzh777 Assignee: Mitesh Meswani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
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.



 Comments   
Comment by Mitesh Meswani [ 01/May/13 ]

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.

Comment by Mitesh Meswani [ 02/May/13 ]

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

Generated at Sun Jan 22 13:06:33 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.