+ Error stacktraces are turned on. [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - com.test:test-ejb:ejb:0.0.1-SNAPSHOT [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting directory /tmp/test-ejb/target [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /tmp/test-ejb/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /tmp/test-ejb/src/test/resources [INFO] [resources:copy-resources {execution: copy-glassfish}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 2 source files to /tmp/test-ejb/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /tmp/test-ejb/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite Dec 8, 2010 9:19:14 PM com.sun.enterprise.util.EarlyLogger add INFO: Total time to parse domain.xml: 78 milliseconds Dec 8, 2010 9:19:14 PM com.sun.logging.LogDomains$1 log INFO: In the ctor : instance name server Dec 8, 2010 9:19:14 PM com.sun.logging.LogDomains$1 log INFO: In the ctor : MONITORING SERVER amx:pp=/mon,type=server-mon,name=server Dec 8, 2010 9:19:15 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.24 started in: 97ms - bound to [0.0.0.0:7676] Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: GlassFish Server Open Source Edition 3.1-SNAPSHOT (bhavani-private) startup time : Embedded (480ms), startup services(321ms), total(801ms) Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: DTX5019: Using [com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate] as the delegate Dec 8, 2010 9:19:15 PM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: ... skipping... glassfish-embedded-all-3.1-SNAPSHOT.jar Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [DeploymentElement] adding jcommander-1.5.jar to exploded ear isEJBModule? false isWebApp? false Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [DeploymentElement] adding bsh-2.0b4.jar to exploded ear isEJBModule? false isWebApp? false Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [DeploymentElement] adding testng-5.14.jar to exploded ear isEJBModule? false isWebApp? false Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [DeploymentElement] adding guice-2.0.jar to exploded ear isEJBModule? false isWebApp? false Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [DeploymentElement] adding test-classes to exploded ear isEJBModule? true isWebApp? false Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [DeploymentElement] adding aopalliance-1.0.jar to exploded ear isEJBModule? false isWebApp? false Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [DeploymentElement] adding classes to exploded ear isEJBModule? true isWebApp? false Dec 8, 2010 9:19:15 PM com.sun.logging.LogDomains$1 log INFO: [EJBContainerImpl] Deploying app: /tmp/ejb-app5859850257556284462 Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: SEC1002: Security Manager is OFF. Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: SEC1010: Entering Security Startup Service Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper. Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: SEC1011: Security Service(s) Started Successfully Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: Portable JNDI names for EJB TestEJB : [java:global/TEST/classes/TestEJB!com.test.ejb.TestEJBInterface, java:global/TEST/classes/TestEJB] Dec 8, 2010 9:19:19 PM org.jboss.weld.bootstrap.WeldBootstrap INFO: WELD-000900 SNAPSHOT Dec 8, 2010 9:19:19 PM org.hibernate.validator.util.Version INFO: Hibernate Validator null Dec 8, 2010 9:19:19 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Dec 8, 2010 9:19:19 PM com.sun.logging.LogDomains$1 log INFO: Portable JNDI names for EJB DummyEJB : [java:global/TEST/test-classes/DummyEJB!com.test.ejb.DummyEJB, java:global/TEST/test-classes/DummyEJB] Dec 8, 2010 9:19:19 PM org.jboss.weld.util.ServiceLoader loadClass WARNING: Could not load service class org.glassfish.osgicdi.OSGiServiceExtension No valid EE environment for injection of com.test.ejb.DependentCDIBean In constructor DependentCDIBean, cdiBean = com.test.ejb.DependentCDIBean@d4c5a0 In setCDIBean DependentCDIBean, cdiBean = com.test.ejb.DependentCDIBean@17a82f1 Injected bean is com.test.ejb.DependentCDIBean@17a82f1 Dec 8, 2010 9:19:21 PM com.sun.logging.LogDomains$1 log INFO: JMXStartupService and JMXConnectors have been shut down. Dec 8, 2010 9:19:21 PM com.sun.logging.LogDomains$1 log INFO: Shutdown procedure finished Dec 8, 2010 9:19:21 PM com.sun.logging.LogDomains$1 log INFO: In the ctor : instance name server Dec 8, 2010 9:19:21 PM com.sun.logging.LogDomains$1 log INFO: In the ctor : MONITORING SERVER amx:pp=/mon,type=server-mon,name=server Dec 8, 2010 9:19:21 PM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.389 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [ejb:ejb {execution: default-ejb}] [INFO] Building ejb test-ejb-0.0.1-SNAPSHOT with ejbVersion 3.1 [INFO] Building jar: /tmp/test-ejb/target/test-ejb-0.0.1-SNAPSHOT.jar [INFO] [install:install {execution: default-install}] [INFO] Installing /tmp/test-ejb/target/test-ejb-0.0.1-SNAPSHOT.jar to /space/bhavani/.m2/repository/com/test/test-ejb/0.0.1-SNAPSHOT/test-ejb-0.0.1-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10 seconds [INFO] Finished at: Wed Dec 08 21:19:21 IST 2010 [INFO] Final Memory: 30M/169M [INFO] ------------------------------------------------------------------------