glassfish4_embedded_cdi_bug https://java.net/jira/browse/GLASSFISH-20802 reproducable with maven 3.1.0
Java
Latest commit a66504d Sep 8, 2013 @domdorn files to reproduce error
Permalink
Failed to load latest commit information.
src/main
pom.xml
readme.txt

readme.txt

domdorn glassfish_bug_cdi $ mvn clean package embedded-glassfish:run
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building javaee7demo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javaee7demo ---
[INFO] Deleting /home/domdorn/work/javaone/vaadin7ee/glassfish_bug_cdi/target
[INFO] 
[INFO] --- maven-dependency-plugin:2.6:copy (default) @ javaee7demo ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ javaee7demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/domdorn/work/javaone/vaadin7ee/glassfish_bug_cdi/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ javaee7demo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/domdorn/work/javaone/vaadin7ee/glassfish_bug_cdi/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ javaee7demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/domdorn/work/javaone/vaadin7ee/glassfish_bug_cdi/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ javaee7demo ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ javaee7demo ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-war-plugin:2.3:war (default-war) @ javaee7demo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [javaee7demo] in [/home/domdorn/work/javaone/vaadin7ee/glassfish_bug_cdi/target/javaee7demo-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/domdorn/work/javaone/vaadin7ee/glassfish_bug_cdi/src/main/webapp]
[INFO] Webapp assembled in [26 msecs]
[INFO] Building war: /home/domdorn/work/javaone/vaadin7ee/glassfish_bug_cdi/target/javaee7demo-1.0-SNAPSHOT.war
[INFO] 
[INFO] --- maven-embedded-glassfish-plugin:3.1.2.2:run (default-cli) @ javaee7demo ---
Created New Bootstrap ClassLoader. ServerId = maven, ClassPaths = 
ClassPath Element : file:/home/domdorn/.m2/repository/org/glassfish/embedded/maven-embedded-glassfish-plugin/3.1.2.2/maven-embedded-glassfish-plugin-3.1.2.2.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/glassfish/main/common/simple-glassfish-api/4.0/simple-glassfish-api-4.0.jar
ClassPath Element : file:/usr/lib/jvm/jdk1.7.0_25/jre/../lib/tools.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/glassfish/main/extras/glassfish-embedded-all/4.0/glassfish-embedded-all-4.0.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-client-compiled/7.1.3/vaadin-client-compiled-7.1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-client/7.1.3/vaadin-client-7.1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-shared/7.1.3/vaadin-shared-7.1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-shared-deps/1.0.2/vaadin-shared-deps-1.0.2.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/w3c/css/sac/1.3/sac-1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar
ClassPath Element : file:/home/domdorn/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-themes/7.1.3/vaadin-themes-7.1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-client-compiler/7.1.3/vaadin-client-compiler-7.1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-theme-compiler/7.1.3/vaadin-theme-compiler-7.1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/apache/commons/commons-jexl/2.1.1/commons-jexl-2.1.1.jar
ClassPath Element : file:/home/domdorn/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
ClassPath Element : file:/home/domdorn/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar
ClassPath Element : file:/home/domdorn/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
ClassPath Element : file:/home/domdorn/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
ClassPath Element : file:/home/domdorn/.m2/repository/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5.jar
ClassPath Element : file:/home/domdorn/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/mortbay/jetty/jetty/6.1.11/jetty-6.1.11.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.11/servlet-api-2.5-6.1.11.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/mortbay/jetty/jetty-util/6.1.11/jetty-util-6.1.11.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/jdesktop/swing-worker/1.1/swing-worker-1.1.jar
ClassPath Element : file:/home/domdorn/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar
ClassPath Element : file:/home/domdorn/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-client-compiler-deps/1.0.2/vaadin-client-compiler-deps-1.0.2.jar
ClassPath Element : file:/home/domdorn/.m2/repository/com/vaadin/vaadin-server/7.1.3/vaadin-server-7.1.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/jsoup/jsoup/1.6.3/jsoup-1.6.3.jar
ClassPath Element : file:/home/domdorn/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
ClassPath Element : file:/home/domdorn/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Found populator: org.glassfish.kernel.embedded.EmbeddedDomainXml
Sep 08, 2013 11:05:31 PM org.glassfish.security.services.impl.authorization.AuthorizationServiceImpl initialize
INFO: Authorization Service has successfully initialized.
Sep 08, 2013 11:05:32 PM org.hibernate.validator.internal.util.Version <clinit>
INFO: HV000001: Hibernate Validator 5.0.0.Final
Sep 08, 2013 11:05:32 PM PluginUtil getGlassFish
INFO: Created GlassFish ServerId = maven, BootstrapProperties = {GlassFish_Platform=Static}, GlassFishRuntime = com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime@74c07975, GlassFishProperties = {embedded-glassfish-config.server.network-config.network-listeners.network-listener.http-listener.enabled=true, embedded-glassfish-config.server.network-config.network-listeners.network-listener.https-listener.port=8383, embedded-glassfish-config.server.network-config.network-listeners.network-listener.https-listener.enabled=true, embedded-glassfish-config.server.network-config.network-listeners.network-listener.http-listener.port=8282}, GlassFish = com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime$1@8662c35, GlassFish Status = INIT, TimeTaken = 1,716 ms
Sep 08, 2013 11:05:33 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Grizzly Framework 2.3.1 started in: 29ms - bound to [/0.0.0.0:8,282]
Sep 08, 2013 11:05:33 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Grizzly Framework 2.3.1 started in: 4ms - bound to [/0.0.0.0:8,383]
Sep 08, 2013 11:05:33 PM com.sun.enterprise.v3.admin.adapter.AdminEndpointDecider setGuiContextRoot
INFO: Admin Console Adapter: context root: /admin
Sep 08, 2013 11:05:33 PM com.sun.enterprise.v3.admin.adapter.AdminEndpointDecider setGuiContextRoot
INFO: Admin Console Adapter: context root: /admin
Sep 08, 2013 11:05:33 PM com.sun.enterprise.v3.admin.adapter.AdminEndpointDecider setGuiContextRoot
INFO: Admin Console Adapter: context root: /admin
Sep 08, 2013 11:05:33 PM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.0 2013-05-03 14:50:15...
Sep 08, 2013 11:05:33 PM com.sun.enterprise.v3.server.AppServerStartup postStartupJob
INFO: Undefined Product Name - define product and version info in config/branding  0.0.0  (0) startup time : Embedded (1,530ms), startup services(1,403ms), total(2,933ms)
Sep 08, 2013 11:05:34 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
INFO: JMXStartupService has disabled JMXConnector system
Sep 08, 2013 11:05:34 PM com.sun.enterprise.connectors.jms.util.JmsRaUtil getInstalledMqVersion
WARNING: RAR7000 : Check for a new version of MQ installation failed : /tmp/gfembed8828526738794554497tmp/lib/install/applications/jmsra/../imqjmsra.rar (No such file or directory):/tmp/gfembed8828526738794554497tmp/lib/install/applications/jmsra/imqjmsra.rar
Sep 08, 2013 11:05:34 PM PluginUtil startGlassFish
INFO: Started GlassFish ServerId = maven, GlassFish = com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime$1@8662c35, TimeTaken = 1,857 ms
Sep 08, 2013 11:05:34 PM com.sun.enterprise.security.SecurityLifecycle <init>
INFO: security.secmgroff
Sep 08, 2013 11:05:34 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: sec.service.startup.enter
Sep 08, 2013 11:05:34 PM com.sun.enterprise.security.PolicyLoader loadPolicy
INFO: policy.loading
Sep 08, 2013 11:05:34 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: realm.loaded.successfully
Sep 08, 2013 11:05:34 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: realm.loaded.successfully
Sep 08, 2013 11:05:34 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: realm.loaded.successfully
Sep 08, 2013 11:05:34 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: sec.service.startup.exit
Sep 08, 2013 11:05:35 PM com.sun.enterprise.web.WebContainer createHttpListener
INFO: Created HTTP listener http-listener on host/port 0.0.0.0:8282
Sep 08, 2013 11:05:35 PM com.sun.enterprise.web.WebContainer createHttpListener
INFO: Created HTTP listener https-listener on host/port 0.0.0.0:8383
Sep 08, 2013 11:05:35 PM com.sun.enterprise.web.WebContainer createHosts
INFO: Created virtual server server
Sep 08, 2013 11:05:35 PM org.apache.catalina.realm.JAASRealm setContainer
INFO: Setting JAAS app name glassfish-web
Sep 08, 2013 11:05:35 PM com.sun.enterprise.web.WebContainer loadSystemDefaultWebModules
INFO: Virtual server server loaded default web module 
[INFO] WELD-000900 SNAPSHOT
Sep 08, 2013 11:05:37 PM com.sun.enterprise.v3.server.ApplicationLifecycle deploy
SEVERE: Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001524 Unable to load proxy class for bean Implicit Bean [javax.enterprise.inject.Instance] with qualifiers [@Default] with class interface javax.enterprise.inject.Instance using classloader WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
	at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:225)
	at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
	at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:328)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:493)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:356)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
	at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
	at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
	at org.glassfish.maven.PluginUtil.doDeploy(PluginUtil.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.glassfish.maven.AbstractDeployMojo.doDeploy(AbstractDeployMojo.java:239)
	at org.glassfish.maven.RunMojo.execute(RunMojo.java:68)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524 Unable to load proxy class for bean Implicit Bean [javax.enterprise.inject.Instance] with qualifiers [@Default] with class interface javax.enterprise.inject.Instance using classloader WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:306)
	at org.jboss.weld.bean.builtin.AbstractFacadeBean.initializeAfterBeanDiscovery(AbstractFacadeBean.java:60)
	at org.jboss.weld.bootstrap.BeanDeployer.doAfterBeanDiscovery(BeanDeployer.java:354)
	at org.jboss.weld.bootstrap.BeanDeployment.afterBeanDiscovery(BeanDeployment.java:280)
	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:522)
	at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:213)
	... 45 more
Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) previously initiated loading for a different type with name "javax/enterprise/util/TypeLiteral"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
	at java.lang.Class.privateGetPublicMethods(Class.java:2641)
	at java.lang.Class.getMethods(Class.java:1457)
	at org.jboss.weld.bean.proxy.ProxyFactory.addMethodsFromClass(ProxyFactory.java:513)
	at org.jboss.weld.bean.proxy.ProxyFactory.addMethods(ProxyFactory.java:468)
	at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:402)
	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:299)
	... 50 more

Sep 08, 2013 11:05:37 PM org.glassfish.api.ActionReport failure
SEVERE: Exception while loading the app
Sep 08, 2013 11:05:37 PM com.sun.enterprise.web.WebContainer unloadWebModule
SEVERE: Undeployment failed for context /javaee7demo
Sep 08, 2013 11:05:37 PM org.glassfish.deployment.admin.DeployCommand execute
SEVERE: Exception while loading the app : CDI deployment failure:WELD-001524 Unable to load proxy class for bean Implicit Bean [javax.enterprise.inject.Instance] with qualifiers [@Default] with class interface javax.enterprise.inject.Instance using classloader WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
org.jboss.weld.exceptions.WeldException: WELD-001524 Unable to load proxy class for bean Implicit Bean [javax.enterprise.inject.Instance] with qualifiers [@Default] with class interface javax.enterprise.inject.Instance using classloader WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:306)
	at org.jboss.weld.bean.builtin.AbstractFacadeBean.initializeAfterBeanDiscovery(AbstractFacadeBean.java:60)
	at org.jboss.weld.bootstrap.BeanDeployer.doAfterBeanDiscovery(BeanDeployer.java:354)
	at org.jboss.weld.bootstrap.BeanDeployment.afterBeanDiscovery(BeanDeployment.java:280)
	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:522)
	at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:213)
	at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
	at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:328)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:493)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:356)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
	at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
	at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
	at org.glassfish.maven.PluginUtil.doDeploy(PluginUtil.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.glassfish.maven.AbstractDeployMojo.doDeploy(AbstractDeployMojo.java:239)
	at org.glassfish.maven.RunMojo.execute(RunMojo.java:68)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) previously initiated loading for a different type with name "javax/enterprise/util/TypeLiteral"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
	at java.lang.Class.privateGetPublicMethods(Class.java:2641)
	at java.lang.Class.getMethods(Class.java:1457)
	at org.jboss.weld.bean.proxy.ProxyFactory.addMethodsFromClass(ProxyFactory.java:513)
	at org.jboss.weld.bean.proxy.ProxyFactory.addMethods(ProxyFactory.java:468)
	at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:402)
	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:299)
	... 50 more

Sep 08, 2013 11:05:37 PM PluginUtil doDeploy
INFO: Deployed null
Hit ENTER to redeploy, X to exit
X
Sep 08, 2013 11:05:53 PM PluginUtil doUndeploy
INFO: Deployer = com.sun.enterprise.admin.cli.embeddable.DeployerImpl@c8c681b
PlainTextActionReporterFAILUREApplication myapp is not deployed on this target [server]Sep 08, 2013 11:05:53 PM PluginUtil doUndeploy
INFO: Undeployed myapp
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.885s
[INFO] Finished at: Sun Sep 08 23:05:53 CEST 2013
[INFO] Final Memory: 48M/484M
[INFO] ------------------------------------------------------------------------
domdorn glassfish_bug_cdi $