eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
384 stars 143 forks source link

[fishcat] GF b89 : SEVERE: Exception during lifecycle processing #20539

Closed glassfishrobot closed 11 years ago

glassfishrobot commented 11 years ago

I'm trying to deploy a simple jax-rs with @Inject and got theses error, and unable to deploy the demo.

my source look like :

HelloResource.java

package com.demo;

import javax.annotation.PostConstruct; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces;

/*

@Inject CDIManagedBean bean;

@Inject EJBManagedBean ejb;

@PostConstruct public void init()

{ System.out.println(HelloResource.class + " post construct"); }

@GET @Produces("text/plain") public String getHello()

{ return "hello : " + bean.getOutput() + " : " + ejb.getOutput(); }

@POST @Consumes("text/plain") public void sayHello(String message)

{ System.out.println("Say Hello : " + message); }

@POST @Consumes("application/json") public void helloJson(User user)

{ System.out.println("helloJson user : " + user); }

}

ApplicationConfig.java (Generated by Netbeans dev build)

package org.netbeans.rest.application.config;

import java.util.Set; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application;

/*

/**

private void addRestResourceClasses(Set<Class<?>> resources)

{ resources.add(com.demo.HelloResource.class); }

}

Launching GlassFish on Felix platform mai 16, 2013 8:33:13 AM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner. mai 16, 2013 8:33:13 AM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations WARNING: Skipping entry because it is not an absolute URI. mai 16, 2013 8:33:13 AM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations WARNING: Skipping entry because it is not an absolute URI. Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@10e2859 in service registry. Registry Info:: Total repositories: 1, Total modules = 293 Attached repository: [] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.services [239]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-mbeanserver [100]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.transaction.jta [191]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.security.auth.message-api [145]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.jersey-container-servlet-core [166]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.entitybean-container [76]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.runtime [233]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jca-plugin [54]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.registration.registration-api [230]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.admin [42]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.javax.json [140]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.metro.webservices-osgi [271]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.asm-all-repackaged [18]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.orb.enabler [206]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.config [114]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-javaee-base [289]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.web.javax.servlet.jsp.jstl [151]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.backup [19]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.common [222]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.gf-jpa-connector [85]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.transaction.jts [192]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [stax2-api [248]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.bean-validator [21]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.dataprovider [63]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-orb [96]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.enhancer [28]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-ejb-container [287]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.batch-api [130]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.external.dbschema-repackaged [64]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ha.shoal-cache-bootstrap [111]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-corba-plugin [51]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.fileinstall [280]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.gf-web-connector [88]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.deployment-client [67]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [com.google.guava [108]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.scattered-archive-api [236]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.api [113]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.gogo.command [281]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.enterprise.deploy-api [135]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.resource-api [144]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-web-plugin [60]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.glassfish-extra-jre-packages [98]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.container-glassfish-cdi [252]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.admin [181]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.container-grizzly [253]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.oracle [217]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.gf-weld-connector [89]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.registration.glassfish-registration [103]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.internal-api [120]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.gmbal.gmbal [105]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.internal-api [44]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.config-types [41]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.ext.jersey-mvc [178]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.jsr109-impl [189]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.websecurity [268]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.ejb.security [75]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.util [8]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.jspcaching-connector [188]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.jsf-connector [185]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-community-branding-plugin [49]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ha.ha-file-store [110]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [com.ibm.jbatch-ri-spi [35]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.core.jersey-server [179]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.management.j2ee-api [142]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.glassfish [104]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.concurrent.connector [38]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.persistence [143]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.ha [265]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.cglib [22]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.bundlerepository [208]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-ee-api [97]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.jaspic.provider.framework [126]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.jpa-container [184]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.registration.registration-impl [231]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.transaction-api [152]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.web.javax.servlet.jsp [149]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.jpa.modelgen [215]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-api [90]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-core-asl [122]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.websocket-core [258]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.naming [266]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jpa [291]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.flashlight.flashlight-extra-jdk-packages [77]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.javax.enterprise.concurrent [134]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.gf-restadmin-connector [87]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-naming [101]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-json-jackson [170]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.model [31]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security [240]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.core [182]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jts-plugin [57]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [woodstox-core-asl [276]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.osgi-platforms.osgi-cli-remote [219]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.ejb-container [72]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.metro.webservices-api-osgi [3]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.weld-integration-fragment [273]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.core [211]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.core.jersey-common [164]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.simple-glassfish-api [244]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.config [160]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.j-interop-repackaged [121]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.shoal.cache [241]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.jstl-connector [190]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.kernel [193]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.core [7]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-web-container [293]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-cdi [285]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jsonp-jaxrs [187]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.external.management-api [199]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.batch.glassfish-batch-commands [91]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-sse [175]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.ext.jersey-bean-validation [162]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-ejb-plugin [53]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-common-full-plugin [47]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-concurrent-plugin [50]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-common [48]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.spi [257]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.config-api [40]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.ee [238]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.metro-glue [200]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.loadbalancer.load-balancer-admin [197]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-jaxrs [123]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.gf-jms-injection [84]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.common [68]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.jms-api [139]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-csiv2-idl [93]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.pfl.pfl-dynamic [226]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.osgi-resource-locator [4]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.dbws [212]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.loadbalancer.gf-load-balancer-connector [86]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.glassfish.jersey-gf-ejb [169]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.container-servlet [254]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.cli [260]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.jmxremote_optional-repackaged [183]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.grizzly.glassfish-grizzly-extra-all [99]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.class-model [23]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.pfl.pfl-tf-tools [227]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.javaee-full [70]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-multipart [174]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.webservices.security [272]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.annotation-api [1]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.javamail-runtime [129]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.moxy [216]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.osgi-adapter [218]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.ws.rs-api [154]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.pkg.client [229]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.sse [267]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.rest-client [234]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.cli [6]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.servlet-api [147]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.glue [263]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.gf-ejb-connector [82]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.amx-core [9]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.amx-javaee [10]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jms-plugin [56]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.gui-plugin-common [264]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-cluster-plugin [46]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.concurrent.impl [39]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.common [25]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.locator [115]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [com.ibm.jbatch-ri-runtime [36]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.osgi-platforms.osgi-container [220]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.jboss.weld.osgi-bundle [275]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.runlevel [116]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.el.javax.el [132]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.scr [284]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-internal-api [94]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.ldapbp-repackaged [195]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.gms-adapter [106]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.runtime [45]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.servlet.jsp.jstl-api [150]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.javax.inject [137]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jpa-extension [221]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.annotation-framework [11]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.trilead-ssh2-repackaged [250]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.ant [12]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.core.jersey-client [163]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.javaee-core [69]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.admin [159]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.orb.iiop [207]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.gf-client-module [80]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-ejb-lite-plugin [52]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.container-common [61]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-plugin-service [58]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [GlassFish-Application-Common-Module [14]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.orb.connector [205]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.jersey-container-servlet [167]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.bean-validator-cdi [20]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.ssl-impl [246]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-http [288]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.grizzly.nucleus-grizzly-all [203]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.ejb-api [131]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.xml.registry-api [155]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ha.shoal-cache-store [112]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.gogo.runtime [282]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.admin [24]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.inbound-runtime [43]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.connector [232]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.utils [117]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.ejb-full-container [73]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.shoal.gms-api [242]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.core [62]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.enterprise.concurrent-api [133]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.pfl.pfl-tf [228]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resourcebase.resources.nucleus-resources [204]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.javamail-connector [128]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.server.appclient-connector [15]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.server.appclient-server-core [16]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.acc-config [5]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.interceptor-api [138]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.javaee-kernel [127]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.stats77 [247]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-updatecenter-plugin [59]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.pfl.pfl-basic-tools [224]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.websocket-api [153]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.hk2 [118]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.util [37]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.shoal.gms-impl [243]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jdbc [290]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.core [255]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.pfl.pfl-basic [225]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.server [256]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.appclient.security [17]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.ssh [26]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.xml.rpc-api [156]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.rest-service [235]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.antlr-repackaged [13]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.work-management [277]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.jvnet.mimepull [201]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.batch.glassfish-batch-connector [92]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.runtime [161]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.monitoring-core [202]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-ee-resources [286]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.external.schema2beans-repackaged [237]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-moxy [173]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.gms-bootstrap [107]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.mail.javax.mail [141]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.generator-database [29]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.soap-tcp [245]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.jsftemplating [186]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.internal-api [30]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.eventadmin [279]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.embed-api [262]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.transaction.internal-api [249]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.client [251]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.jpa [213]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.glassfish-oracle-jdbc-driver-packages [102]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.support-ejb [32]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-json-jettison [171]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [jaxb-api [2]], State = [READY]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.logging [198]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.connector [269]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.ext.jersey-mvc-jsp [177]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.metro.webservices-extra-jdk-packages [270]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.war-util [259]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.jersey-mvc-connector [176]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.gogo.shell [283]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.inmemory.jacc.provider [119]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.ha.ha-api [109]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-json-processing [172]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jta [292]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.core [261]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.libpam4j-repackaged [196]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.configadmin [278]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.support-sqlstore [33]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-mapper-asl [124]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.dol [71]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.ejb-mapping [27]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jdbc-plugin [55]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.xml.bind [158]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.launcher [194]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.flashlight.framework [78]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.pfl.pfl-asm [223]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.javax.faces [136]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.security.jacc-api [146]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.asm [210]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.glassfish.jersey-gf-cdi [168]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.gf-jms-connector [83]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-omgapi [95]], State = [RESOLVED]] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-xc [125]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.antlr [209]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.internal-api [74]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.codehaus.jettison.jettison [180]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.xml.bind.extra [157]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.autodeploy [66]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.utility [34]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.connector.gf-admingui-connector [79]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.jersey-container-grizzly2-http [165]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.gf-connectors-connector [81]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [javax.servlet.jsp-api [148]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.weld-integration [274]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.admin [65]], State = [NEW]] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.jpa.jpql [214]], State = [NEW]] Found populator: com.sun.enterprise.v3.server.GFDomainXml

!## LogManagerService.postConstruct : rootFolder=F:\github\glassfish4-b89\glassfish

!## LogManagerService.postConstruct : templateDir=F:\github\glassfish4-b89\glassfish\lib\templates

!## LogManagerService.postConstruct : src=F:\github\glassfish4-b89\glassfish\lib\templates\logging.properties

!## LogManagerService.postConstruct : dest=F:\github\glassfish4-b89\glassfish\domains\domain1\config\logging.properties

INFO: Running GlassFish Version: GlassFish Server Open Source Edition 4.0 (build 89) INFO: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. INFO: Grizzly Framework 2.3.1 started in: 93ms - bound to [/0.0.0.0:8 080] INFO: Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:8 181] INFO: Grizzly Framework 2.3.1 started in: 47ms - bound to [/0.0.0.0:4 848] INFO: Authorization Service has successfully initialized. INFO: Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:3 700] INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry INFO: HV000001: Hibernate Validator 5.0.0.Final INFO: GlassFish Server Open Source Edition 4.0 (89) startup time : Felix (45 481ms), startup services(3 625ms), total(49 106ms) INFO: Initiating Jersey application, version Jersey: 2.0 2013-05-03 14:50:15... INFO: Grizzly Framework 2.3.1 started in: 31ms - bound to [/0.0.0.0:8 080] WARNING: Cannot start JMX connector JmxConnector config:

{ name = system, Protocol = rmi_jrmp, Address = 0.0.0.0, Port = 8686, AcceptAll = false, AuthRealmName = admin-realm, SecurityEnabled = false}

due to exception java.lang.RuntimeException: Port 8686 is not available for the internal rmi registry. This means that a call was made with the same port, without closing earlier registry instance. This has to do with the system jmx connector configuration in admin-service element of the configuration associated with this instance SEVERE: java.lang.RuntimeException: Port 8686 is not available for the internal rmi registry. This means that a call was made with the same port, without closing earlier registry instance. This has to do with the system jmx connector configuration in admin-service element of the configuration associated with this instance at org.glassfish.admin.mbeanserver.RMIConnectorStarter._startRegistry(RMIConnectorStarter.java:238) at org.glassfish.admin.mbeanserver.RMIConnectorStarter.startRegistry(RMIConnectorStarter.java:216) at org.glassfish.admin.mbeanserver.RMIConnectorStarter.(RMIConnectorStarter.java:150) at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.startConnector(JMXStartupService.java:294) at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.run(JMXStartupService.java:333) INFO: Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:8 181] INFO: this.makeModuleFor(org.glassfish.main.web.glue, null) returned OSGiModuleImpl:: Bundle = [org.glassfish.main.web.glue [263]], State = [READY] INFO: this.makeModuleFor(org.glassfish.web.javax.servlet.jsp, null) returned OSGiModuleImpl:: Bundle = [org.glassfish.web.javax.servlet.jsp [149]], State = [READY] INFO: visiting unvisited references SEVERE: Config Listener class com.sun.enterprise.connectors.jms.system.JMSConfigListener notification took too long java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258) at java.util.concurrent.FutureTask.get(FutureTask.java:119) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:289) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:268) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at org.jvnet.hk2.config.Transactions$Notifier$1$1.run(Transactions.java:167) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)

INFO: Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:7 676] INFO: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@a78915 as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@1e47220. INFO: SEC1002: Security Manager is OFF. INFO: SEC1010: Entering Security Startup Service INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper. INFO: SEC1011: Security Service(s) Started Successfully INFO: Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080 INFO: Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181 INFO: Created HTTP listener admin-listener on host/port 0.0.0.0:4848 INFO: Created virtual server server INFO: Created virtual server __asadmin INFO: Setting JAAS app name glassfish-web INFO: Virtual server server loaded default web module INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: EJB5181:Portable JNDI names for EJB EJBManagedBean: [java:global/WebApplication1/EJBManagedBean!com.demo.EJBManagedBean, java:global/WebApplication1/EJBManagedBean] INFO: WELD-000900 2.0.0 (SP1) WARNING: AS-CDI-005 WARNING: AS-CDI-005 INFO: WELD-000119 Not generating any bean definitions from com.sun.jersey.guice.spi.container.servlet.GuiceContainer because of underlying class loading error: Type com.google.inject.Injector not found. If this is unexpected, enable DEBUG logging to see the full error. SEVERE: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: CDI deployment failure:Error loading class com.sun.jersey.guice.spi.container.servlet.GuiceContainer 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.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534) at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224) at org.glassfish.grizzly.http.server.StaticHttpHandler.service(StaticHttpHandler.java:297) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544) at java.lang.Thread.run(Thread.java:722) Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class com.sun.jersey.guice.spi.container.servlet.GuiceContainer at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:179) at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:188) at org.jboss.weld.manager.BeanManagerImpl.createAnnotatedType(BeanManagerImpl.java:1136) at org.glassfish.weld.WeldDeployer.firePITEvent(WeldDeployer.java:389) at org.glassfish.weld.WeldDeployer.fireProcessInjectionTargetEvents(WeldDeployer.java:360) at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:212) ... 36 more Caused by: java.lang.NoClassDefFoundError: com/google/inject/Injector at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2413) at java.lang.Class.getDeclaredConstructors(Class.java:1855) at org.jboss.weld.security.GetDeclaredConstructorsAction.run(GetDeclaredConstructorsAction.java:30) at org.jboss.weld.security.GetDeclaredConstructorsAction.run(GetDeclaredConstructorsAction.java:22) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:161) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:158) at org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:35) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$EagerlyInitializedLazyValueHolder.(BackedAnnotatedType.java:154) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.(BackedAnnotatedType.java:158) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.(BackedAnnotatedType.java:158) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.(BackedAnnotatedType.java:64) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.of(BackedAnnotatedType.java:47) at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:85) at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:82) at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:358) at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184) at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153) at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:396) at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:174) ... 41 more Caused by: java.lang.ClassNotFoundException: com.google.inject.Injector at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1761) at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1611) ... 63 more

SEVERE: Exception while loading the app SEVERE: Undeployment failed for context /WebApplication1 SEVERE: Exception while loading the app : CDI deployment failure:Error loading class com.sun.jersey.guice.spi.container.servlet.GuiceContainer org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class com.sun.jersey.guice.spi.container.servlet.GuiceContainer at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:179) at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:188) at org.jboss.weld.manager.BeanManagerImpl.createAnnotatedType(BeanManagerImpl.java:1136) at org.glassfish.weld.WeldDeployer.firePITEvent(WeldDeployer.java:389) at org.glassfish.weld.WeldDeployer.fireProcessInjectionTargetEvents(WeldDeployer.java:360) at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:212) 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.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534) at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224) at org.glassfish.grizzly.http.server.StaticHttpHandler.service(StaticHttpHandler.java:297) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NoClassDefFoundError: com/google/inject/Injector at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2413) at java.lang.Class.getDeclaredConstructors(Class.java:1855) at org.jboss.weld.security.GetDeclaredConstructorsAction.run(GetDeclaredConstructorsAction.java:30) at org.jboss.weld.security.GetDeclaredConstructorsAction.run(GetDeclaredConstructorsAction.java:22) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:161) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:158) at org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:35) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$EagerlyInitializedLazyValueHolder.(BackedAnnotatedType.java:154) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.(BackedAnnotatedType.java:158) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.(BackedAnnotatedType.java:158) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.(BackedAnnotatedType.java:64) at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.of(BackedAnnotatedType.java:47) at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:85) at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:82) at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:358) at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184) at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153) at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:396) at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:174) ... 41 more Caused by: java.lang.ClassNotFoundException: com.google.inject.Injector at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1761) at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1611) ... 63 more

INFO: Domain Pinged: release.glassfish.org

Environment

Product Version: NetBeans IDE Dev (Build 201305052300) Java: 1.7.0_13; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_13-b20 System: Windows XP version 5.1 running on x86; Cp1252; fr_CA (nb) User directory: C:\Documents and Settings\sdionne1\Application Data\NetBeans\dev Cache directory: C:\Documents and Settings\sdionne1\Local Settings\Application Data\NetBeans\Cache\dev

Affected Versions

[4.0_dev]

glassfishrobot commented 6 years ago
glassfishrobot commented 11 years ago

@glassfishrobot Commented survivant said: there is a problem in the source code provided :

here the code version :

package org.netbeans.rest.application.config;

import java.util.Set; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application;

/*

/**

private void addRestResourceClasses(Set<Class<?>> resources)

{ resources.add(com.demo.HelloResource.class); }

}

glassfishrobot commented 11 years ago

@glassfishrobot Commented @jjsnyder said: Please provide the application and source code.

glassfishrobot commented 11 years ago

@glassfishrobot Commented @jjsnyder said: Please attach the application with source code.

glassfishrobot commented 11 years ago

@glassfishrobot Commented survivant said: Where the link to attach source code in Jira ?

for now.. I send you the source code by email.

glassfishrobot commented 11 years ago

@glassfishrobot Commented @jjsnyder said: I see 2 problems with the application: 1) There are all sorts of jersey jars in the application. They should probably be removed since GlassFish ships with Jersey and so you don't need them in the war. 2) The CNFE happens because com/google/inject/Injector is not in the classpath of the application but when com.sun.jersey.guice.spi.container.servlet.GuiceContainer (contained in WEB-INF/lib/jersey-guice-1.13.jar) is loaded, because it has a reference to INjector it fails.

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-20539

glassfishrobot commented 11 years ago

@glassfishrobot Commented Reported by survivant

glassfishrobot commented 11 years ago

@glassfishrobot Commented Marked as invalid on Wednesday, May 22nd 2013, 7:42:12 am