users@glassfish.java.net

Re: JUnit testing from Glassfish V3 to V3.1 EJB Lookup failed

From: <forums_at_java.net>
Date: Fri, 17 Jun 2011 04:14:59 -0500 (CDT)

After having some trouble getting the latest GF3.2 installation to create a
domain (finally the installation program couldn't do it, but Netbeans could),
I now get a different error when trying to run the tests as shown below.
I think I shall wait until for the next version release of GF (I don't
want to go changeing remote/local for the moment), and hope all works in
that.

Thanks for your help.

javax.ejb.EJBException: Failed to deploy EJB modules
    at
org.glassfish.ejb.embedded.EJBContainerImpl.deploy(EJBContainerImpl.java:143)
    at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:134)
    at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)
    at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
    at
lu.lamondiale.docrequest.dao.business.GameDAOTest.setUpClass(GameDAOTest.java:38)
Caused by: java.util.zip.ZipException: invalid entry compressed size
(expected 3683 but got 3696 bytes)
    at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:206)
    at
org.glassfish.embeddable.archive.Assembler.tranferEntries(Assembler.java:254)
    at
org.glassfish.embeddable.archive.Assembler.tranferFile(Assembler.java:217)
    at
org.glassfish.embeddable.archive.Assembler.assembleJAR(Assembler.java:143)
    at
org.glassfish.embeddable.archive.Assembler.assemble(Assembler.java:74)
    at
org.glassfish.embeddable.archive.ScatteredArchive.toURI(ScatteredArchive.java:386)
    at
org.glassfish.ejb.embedded.EJBContainerImpl.deploy(EJBContainerImpl.java:137)
 


--
[Message sent by forum member 'agush']
View Post: http://forums.java.net/node/812269