init: deps-jar: compile: compile-test: WARNING: multiple versions of ant detected in path for junit jar:file:/opt/netbeans-6.9.1/java/ant/lib/ant.jar!/org/apache/tools/ant/Project.class and jar:file:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/ant.jar!/org/apache/tools/ant/Project.class Testsuite: test.MyBeanTest addNumbers CLASSPATH = /space/bhavani/NetBeansProjects/GLASSFISH_16285/GLASSFISH_16285-ejb/build/test/classes:/space/bhavani/NetBeansProjects/GLASSFISH_16285/GLASSFISH_16285-ejb/build/classes:/opt/netbeans-6.9.1/platform/modules/ext/junit-4.5.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.servlet.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.persistence.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.servlet.jsp.jstl.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jstl-impl.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.servlet.jsp.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.resource.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.management.j2ee.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.security.jacc.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.enterprise.deploy.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/bean-validator.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jsf-impl.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.mail.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/weld-osgi-bundle.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jaxrpc-api-osgi.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.jms.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.security.auth.message.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jsf-api.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.ejb.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.transaction.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/endorsed/javax.annotation.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.inject.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/lib/embedded/glassfish-embedded-static-shell.jar:/opt/netbeans-6.9.1/java/ant/lib/ant-launcher.jar:/opt/netbeans-6.9.1/java/ant/lib/ant.jar:/opt/netbeans-6.9.1/java/ant/patches/72080.jar Jun 28, 2011 4:38:46 PM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Jun 28, 2011 4:38:47 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish Server Open Source Edition 3.2-SNAPSHOT (bhavani-private) startup time : Embedded (1,793ms), startup services(1,031ms), total(2,824ms) Jun 28, 2011 4:38:47 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run INFO: JMX006: JMXStartupService had disabled JMXConnector system Jun 28, 2011 4:38:48 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMX001: JMXStartupService and JMXConnectors have been shut down. Jun 28, 2011 4:38:48 PM com.sun.enterprise.v3.server.AppServerStartup stop INFO: Shutdown procedure finished Jun 28, 2011 4:38:48 PM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting Jun 28, 2011 4:38:49 PM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Jun 28, 2011 4:38:49 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish Server Open Source Edition 3.2-SNAPSHOT (bhavani-private) startup time : Embedded (4,163ms), startup services(625ms), total(4,788ms) Jun 28, 2011 4:38:49 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run INFO: JMX006: JMXStartupService had disabled JMXConnector system Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.servlet.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.servlet.jsp.jstl.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: jstl-impl.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.servlet.jsp.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.resource.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.management.j2ee.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.security.jacc.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: webservices-api-osgi.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.enterprise.deploy.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: bean-validator.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: jsf-impl.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.jms.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.security.auth.message.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: jsf-api.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.ejb.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.transaction.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.annotation.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.inject.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: glassfish-embedded-static-shell.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding EJB module to ScatteredArchive classes Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive jaxrpc-api-osgi.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive junit-4.5.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive ant-launcher.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive classes Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive weld-osgi-bundle.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive jaxb-api-osgi.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive 72080.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive javax.mail.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive javax.persistence.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive ant.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerImpl deploy INFO: [EJBContainerImpl] Deploying app: org.glassfish.embeddable.archive.ScatteredArchive@19f90e3 Interceptor called for ...classes Jun 28, 2011 4:38:52 PM org.hibernate.validator.util.Version INFO: Hibernate Validator 4.1.0.Final Jun 28, 2011 4:38:52 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.SecurityLifecycle INFO: SEC1002: Security Manager is OFF. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1010: Entering Security Startup Service Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.PolicyLoader loadPolicy INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1011: Security Service(s) Started Successfully Jun 28, 2011 4:38:56 PM com.sun.ejb.containers.BaseContainer initializeHome INFO: EJB5181:Portable JNDI names for EJB MyBean: [java:global/classes/MyBean, java:global/classes/MyBean!test.MyBean] Jun 28, 2011 4:38:56 PM org.jboss.weld.bootstrap.WeldBootstrap INFO: WELD-000900 ${parsedVersion (osgiVersion}) Jun 28, 2011 4:38:57 PM org.glassfish.weld.BeanDeploymentArchiveImpl handleEntry WARNING: Error while trying to load Bean Class org.slf4j.ext.MDCStrLookup : java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup Jun 28, 2011 4:38:57 PM org.glassfish.weld.BeanDeploymentArchiveImpl handleEntry WARNING: Error while trying to load Bean Class org.eclipse.persistence.javax.persistence.osgi.Activator : java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator Jun 28, 2011 4:38:57 PM org.glassfish.weld.BeanDeploymentArchiveImpl handleEntry WARNING: Error while trying to load Bean Class org.apache.tools.ant.taskdefs.condition.IsLastModified$1 : java.lang.IllegalAccessError: class org.apache.tools.ant.taskdefs.condition.IsLastModified$1 cannot access its superinterface org.apache.tools.ant.taskdefs.Touch$DateFormatFactory Jun 28, 2011 4:38:57 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Jun 28, 2011 4:38:58 PM org.glassfish.api.ActionReport failure SEVERE: Exception while loading the app Jun 28, 2011 4:38:58 PM org.glassfish.deployment.admin.DeployCommand execute SEVERE: Exception while loading the app : WELD-001508 Cannot create an InjectionTarget from public abstract interface class org.jboss.weld.servlet.api.ServletListener as it is an interface org.jboss.weld.exceptions.DefinitionException: WELD-001508 Cannot create an InjectionTarget from public abstract interface class org.jboss.weld.servlet.api.ServletListener as it is an interface at org.jboss.weld.manager.SimpleInjectionTarget.(SimpleInjectionTarget.java:71) at org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1051) at org.jboss.weld.manager.BeanManagerImpl.fireProcessInjectionTarget(BeanManagerImpl.java:1246) at org.glassfish.weld.WeldDeployer.firePITEvent(WeldDeployer.java:294) at org.glassfish.weld.WeldDeployer.fireProcessInjectionTargetEvents(WeldDeployer.java:270) at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:169) at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:270) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1069) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1249) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1237) at com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:147) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:99) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:89) at org.glassfish.ejb.embedded.EJBContainerImpl.deploy(EJBContainerImpl.java:140) 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 test.MyBeanTest.testAddNumbers(MyBeanTest.java:54) 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.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) 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) PlainTextActionReporterFAILUREDescription: deploy AdminCommandError occurred during deployment: Exception while loading the app : WELD-001508 Cannot create an InjectionTarget from public abstract interface class org.jboss.weld.servlet.api.ServletListener as it is an interface. Please see server.log for more details. [name=classes Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 14.316 sec ------------- Standard Output --------------- addNumbers CLASSPATH = /space/bhavani/NetBeansProjects/GLASSFISH_16285/GLASSFISH_16285-ejb/build/test/classes:/space/bhavani/NetBeansProjects/GLASSFISH_16285/GLASSFISH_16285-ejb/build/classes:/opt/netbeans-6.9.1/platform/modules/ext/junit-4.5.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.servlet.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.persistence.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.servlet.jsp.jstl.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jstl-impl.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.servlet.jsp.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.resource.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.management.j2ee.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.security.jacc.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.enterprise.deploy.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/bean-validator.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jsf-impl.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.mail.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/weld-osgi-bundle.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jaxrpc-api-osgi.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.jms.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.security.auth.message.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/jsf-api.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.ejb.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.transaction.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/endorsed/javax.annotation.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/modules/javax.inject.jar:/space/bhavani/ws/glassfish/image/glassfish3/glassfish/lib/embedded/glassfish-embedded-static-shell.jar:/opt/netbeans-6.9.1/java/ant/lib/ant-launcher.jar:/opt/netbeans-6.9.1/java/ant/lib/ant.jar:/opt/netbeans-6.9.1/java/ant/patches/72080.jar Interceptor called for ...classes PlainTextActionReporterFAILUREDescription: deploy AdminCommandError occurred during deployment: Exception while loading the app : WELD-001508 Cannot create an InjectionTarget from public abstract interface class org.jboss.weld.servlet.api.ServletListener as it is an interface. Please see server.log for more details. [name=classes ------------- ---------------- --------------- ------------- Standard Error ----------------- Jun 28, 2011 4:38:46 PM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Jun 28, 2011 4:38:47 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish Server Open Source Edition 3.2-SNAPSHOT (bhavani-private) startup time : Embedded (1,793ms), startup services(1,031ms), total(2,824ms) Jun 28, 2011 4:38:47 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run INFO: JMX006: JMXStartupService had disabled JMXConnector system Jun 28, 2011 4:38:48 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMX001: JMXStartupService and JMXConnectors have been shut down. Jun 28, 2011 4:38:48 PM com.sun.enterprise.v3.server.AppServerStartup stop INFO: Shutdown procedure finished Jun 28, 2011 4:38:48 PM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting Jun 28, 2011 4:38:49 PM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Jun 28, 2011 4:38:49 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish Server Open Source Edition 3.2-SNAPSHOT (bhavani-private) startup time : Embedded (4,163ms), startup services(625ms), total(4,788ms) Jun 28, 2011 4:38:49 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run INFO: JMX006: JMXStartupService had disabled JMXConnector system Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.servlet.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.servlet.jsp.jstl.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: jstl-impl.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.servlet.jsp.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.resource.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.management.j2ee.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.security.jacc.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: webservices-api-osgi.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.enterprise.deploy.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: bean-validator.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: jsf-impl.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.jms.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.security.auth.message.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: jsf-api.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.ejb.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.transaction.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.annotation.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar INFO: ... skipping entry with a Manifest file with a special attribute: javax.inject.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar Jun 28, 2011 4:38:58 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl createEJBContainer INFO: ... skipping entry with a Manifest file with a special attribute: glassfish-embedded-static-shell.jar INFO: [EJBContainerProviderImpl] Cleaning up on failure ... Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding EJB module to ScatteredArchive classes Jun 28, 2011 4:38:58 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: JMX001: JMXStartupService and JMXConnectors have been shut down. INFO: [DeploymentElement] adding library to ScatteredArchive jaxrpc-api-osgi.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive junit-4.5.jar Jun 28, 2011 4:38:58 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMX001: JMXStartupService and JMXConnectors have been shut down. Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive ant-launcher.jar Jun 28, 2011 4:38:58 PM com.sun.enterprise.v3.server.AppServerStartup stop Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: Shutdown procedure finished INFO: [DeploymentElement] adding library to ScatteredArchive classes Jun 28, 2011 4:38:58 PM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive weld-osgi-bundle.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive jaxb-api-osgi.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive 72080.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive javax.mail.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive javax.persistence.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication INFO: [DeploymentElement] adding library to ScatteredArchive ant.jar Jun 28, 2011 4:38:49 PM org.glassfish.ejb.embedded.EJBContainerImpl deploy INFO: [EJBContainerImpl] Deploying app: org.glassfish.embeddable.archive.ScatteredArchive@19f90e3 Jun 28, 2011 4:38:52 PM org.hibernate.validator.util.Version INFO: Hibernate Validator 4.1.0.Final Jun 28, 2011 4:38:52 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.SecurityLifecycle INFO: SEC1002: Security Manager is OFF. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1010: Entering Security Startup Service Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.PolicyLoader loadPolicy INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. Jun 28, 2011 4:38:55 PM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1011: Security Service(s) Started Successfully Jun 28, 2011 4:38:56 PM com.sun.ejb.containers.BaseContainer initializeHome INFO: EJB5181:Portable JNDI names for EJB MyBean: [java:global/classes/MyBean, java:global/classes/MyBean!test.MyBean] Jun 28, 2011 4:38:56 PM org.jboss.weld.bootstrap.WeldBootstrap INFO: WELD-000900 ${parsedVersion (osgiVersion}) Jun 28, 2011 4:38:57 PM org.glassfish.weld.BeanDeploymentArchiveImpl handleEntry WARNING: Error while trying to load Bean Class org.slf4j.ext.MDCStrLookup : java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup Jun 28, 2011 4:38:57 PM org.glassfish.weld.BeanDeploymentArchiveImpl handleEntry WARNING: Error while trying to load Bean Class org.eclipse.persistence.javax.persistence.osgi.Activator : java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator Jun 28, 2011 4:38:57 PM org.glassfish.weld.BeanDeploymentArchiveImpl handleEntry WARNING: Error while trying to load Bean Class org.apache.tools.ant.taskdefs.condition.IsLastModified$1 : java.lang.IllegalAccessError: class org.apache.tools.ant.taskdefs.condition.IsLastModified$1 cannot access its superinterface org.apache.tools.ant.taskdefs.Touch$DateFormatFactory Jun 28, 2011 4:38:57 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Jun 28, 2011 4:38:58 PM org.glassfish.api.ActionReport failure SEVERE: Exception while loading the app Jun 28, 2011 4:38:58 PM org.glassfish.deployment.admin.DeployCommand execute SEVERE: Exception while loading the app : WELD-001508 Cannot create an InjectionTarget from public abstract interface class org.jboss.weld.servlet.api.ServletListener as it is an interface org.jboss.weld.exceptions.DefinitionException: WELD-001508 Cannot create an InjectionTarget from public abstract interface class org.jboss.weld.servlet.api.ServletListener as it is an interface at org.jboss.weld.manager.SimpleInjectionTarget.(SimpleInjectionTarget.java:71) at org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1051) at org.jboss.weld.manager.BeanManagerImpl.fireProcessInjectionTarget(BeanManagerImpl.java:1246) at org.glassfish.weld.WeldDeployer.firePITEvent(WeldDeployer.java:294) at org.glassfish.weld.WeldDeployer.fireProcessInjectionTargetEvents(WeldDeployer.java:270) at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:169) at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:270) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1069) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1249) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1237) at com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:147) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:99) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:89) at org.glassfish.ejb.embedded.EJBContainerImpl.deploy(EJBContainerImpl.java:140) 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 test.MyBeanTest.testAddNumbers(MyBeanTest.java:54) 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.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) 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) Jun 28, 2011 4:38:58 PM org.glassfish.ejb.embedded.EJBContainerProviderImpl createEJBContainer INFO: [EJBContainerProviderImpl] Cleaning up on failure ... Jun 28, 2011 4:38:58 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMX001: JMXStartupService and JMXConnectors have been shut down. Jun 28, 2011 4:38:58 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMX001: JMXStartupService and JMXConnectors have been shut down. Jun 28, 2011 4:38:58 PM com.sun.enterprise.v3.server.AppServerStartup stop INFO: Shutdown procedure finished Jun 28, 2011 4:38:58 PM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting ------------- ---------------- --------------- Testcase: testAddNumbers(test.MyBeanTest): Caused an ERROR Failed to deploy EJB modules - see log for details javax.ejb.EJBException: Failed to deploy EJB modules - see log for details at org.glassfish.ejb.embedded.EJBContainerImpl.deploy(EJBContainerImpl.java:150) 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 test.MyBeanTest.testAddNumbers(MyBeanTest.java:54) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102) Test test.MyBeanTest FAILED test-report: /space/bhavani/NetBeansProjects/GLASSFISH_16285/GLASSFISH_16285-ejb/nbproject/build-impl.xml:690: Some tests failed; see details above. BUILD FAILED (total time: 15 seconds)