[GLASSFISH-1297] Verify Java SE archives that uses JPA Created: 12/Oct/06  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: verifier
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Improvement Priority: Major
Reporter: sherryshen Assignee: Sanjeeb Sahoo
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Zip Archive issue_1297.zip    
Issuezilla Id: 1,297

 Description   

Please add support for verifcation of Java SE archives that uses JPA.

The work around is to turn Java SE jar to an appclient jar
by just having a manifest with Main-Class attribute in it.
The attached test case shows this workaround with usage, e.g.
javac -classpath $S1AS_HOME/lib/javaee.jar *.java
jar cvfm client.jar manifest *.class META-INF/persistence.xml
verifier -p client.jar
Look at result in the file called client.jar.txt.



 Comments   
Comment by sherryshen [ 12/Oct/06 ]

Created an attachment (id=503)
Testcase with README

Comment by marina vatkina [ 12/Oct/06 ]

It's in the verifier

Comment by sherryshen [ 19/Oct/06 ]

More examples of the workaround of JavaSE verifier are in issue 499 or issue 1294.

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

Generated at Sun Jul 31 05:57:51 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.