i have downloaded the latest embedded glassfish embedded-all 3.1-b20 when i run the test i get this output
------------- Standard Error -----------------
22.09.2010 14:11:51 com.sun.logging.LogDomains$1 log
SCHWERWIEGEND: ejb.embedded.location_not_exists
22.09.2010 14:11:52 com.sun.enterprise.glassfish.bootstrap.EmbeddedNonOSGiGlassFishRuntimeBuilder provisionInstanceRoot
WARNUNG: AS_DEF_DOMAINS_PATH is not set.
22.09.2010 14:11:52 com.sun.enterprise.util.EarlyLogger add
INFO: Total time to parse domain.xml: 119 milliseconds
22.09.2010 14:11:59 com.sun.logging.LogDomains$1 log
INFO: GlassFish Server Open Source Edition 3.1-b20 (java_re-private) startup time : Embedded(687ms) startup services(6016ms) total(6703ms)
22.09.2010 14:11:59 com.sun.logging.LogDomains$1 log
INFO: enterprise_used_delegate_name
22.09.2010 14:11:59 com.sun.logging.LogDomains$1 log
INFO: JMXStartupService: JMXConnector system is disabled, skipping.
22.09.2010 14:11:59 AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
22.09.2010 14:11:59 com.sun.logging.LogDomains$1 log
INFO: ... skipping... glassfish-embedded-all-3.1-b20.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.resource.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.security.jacc.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... bean-validator.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.servlet.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.management.j2ee.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.ejb.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.security.auth.message.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... jstl-impl.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.jms.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.transaction.jar
22.09.2010 14:12:07 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.annotation.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.servlet.jsp.jstl.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.enterprise.deploy.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: ... skipping... javax.servlet.jsp.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-testenricher-resource-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive jsf-impl.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive javax.persistence.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-protocol-servlet-3-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive webservices-api-osgi.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive ant-launcher.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive jsr311-api.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive 72080.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive rle-utils.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive junit-4.5.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive classes
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-testenricher-cdi-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive jsf-api.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive shrinkwrap-extension-glassfish-1.0.0-alpha-11.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-spi-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive jaxb-api-osgi.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding EJB module to ScatteredArchive classes
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive javac-api-nb-7.0-b07.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive shrinkwrap-impl-base-1.0.0-alpha-11.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive weld-osgi-bundle.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive mail.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive javaee.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-impl-base-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive shrinkwrap-api-1.0.0-alpha-11.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-junit-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive junit-4.8.1.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive shrinkwrap-spi-1.0.0-alpha-11.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-api-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive arquillian-testenricher-ejb-1.0.0.Alpha4.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [DeploymentElement] adding library to ScatteredArchive ant.jar
22.09.2010 14:12:08 com.sun.logging.LogDomains$1 log
INFO: [EJBContainerImpl] Deploying app: org.glassfish.api.embedded.ScatteredArchive_at_f0cb3c located at null
22.09.2010 14:14:22 com.sun.logging.LogDomains$1 log
SCHWERWIEGEND: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method
22.09.2010 14:14:22 com.sun.logging.LogDomains$1 log
SCHWERWIEGEND: Exception while preparing the app
22.09.2010 14:14:22 com.sun.logging.LogDomains$1 log
INFO: [EJBContainerProviderImpl] Cleaning up on failure ...
22.09.2010 14:14:22 com.sun.logging.LogDomains$1 log
INFO: JMXStartupService and JMXConnectors have been shut down.
22.09.2010 14:14:22 com.sun.logging.LogDomains$1 log
INFO: Shutdown procedure finished
22.09.2010 14:14:22 AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
22.09.2010 14:14:33 com.sun.logging.LogDomains$1 log
SCHWERWIEGEND: ejb.embedded.exception_instantiating
javax.ejb.EJBException: Failed to deploy EJB modules - see log for details
at org.glassfish.ejb.embedded.EJBContainerImpl.deploy(EJBContainerImpl.java:147)
at org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:128)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:120)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:96)
at org.rle.ecenter.ws.eCenterServiceTest.setUpClass(eCenterServiceTest.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
[Message sent by forum member 'yahya_h']
http://forums.java.net/jive/thread.jspa?messageID=483323