[GLASSFISH-18941] [PERF] additional regression in startup/deployment benchmark due to latest HK2 integration Created: 25/Jul/12  Updated: 21/Sep/15

Status: Open
Project: glassfish
Component/s: hk2
Affects Version/s: 4.0_b45
Fix Version/s: 4.1.1

Type: Bug Priority: Critical
Reporter: amitagarwal Assignee: jwells
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
depends on GLASSFISH-20206 Boot GlassFish startup services in pa... Closed
blocks GLASSFISH-18693 [PERF] regression in startup/deployme... Resolved
Tags: PSRBUG, devx_web

 Description   

Recent HK2 integration has caused an additional regression in startup/deployment benchmark.
Before integration total elapsed time for startup/benchmark was already 22% down, now its 33% down. Footprint has gone up by additional 16 MB. Startup time has gone up over a second.

Will add more info once I collect profiles.



 Comments   
Comment by matt_so [ 20/Aug/12 ]

New result using:
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

Retained Heap Different between Glassfish b39 to b45:
1) org.jvnet.hk2.component.MultiMap
B39: 3,669 Objects, 6,994,112 bytes
B45: 4,264 Objects, 8,132,384 bytes

2) org.jvnet.hk2.component.DescriptorImpl
B39: 3121 Objects, 6,426,808 bytes
B45: 3702 Objects, 7,337,352 bytes

3) org.jvnet.hk2.component.Habitat
B39: 1 Object, 4,756,520 bytes
B45: 3 Objects, 5,838,024 bytes

Comment by jwells [ 20/Aug/12 ]

Is there any way to see what are the extra objects created? Like some sort of graph or something?

I'm most freaked out about the MultiMaps, which really should be going away...

Comment by Tom Mueller [ 15/Feb/13 ]

Assigning back to John. If you need help collecting more data on this part of the regression, please contact me, but do not assign the issue back to Amit. Eliminating the regression in the developer benchmark is a release criteria for the Java EE 7 release, so this is a high priority issue.

Comment by jwells [ 21/Feb/13 ]

I have made a change to the HK2 initialization files (hk2-locator/default etc) such that they are smaller in size. In theory this should help with boot time. Can we get another measurement on startup time?

Comment by Tom Mueller [ 21/Feb/13 ]

John, the startup time is measured daily via this hudson job:

http://hudson-sca.us.oracle.com/job/as-dev-benchmark-trunk-win/ (internal link)

There is no need to reassign this issue back to Scott to get a measurement.
Another option is to run this benchmark yourself. The procedure for running it is in the configuration of the hudson job.

From the latest results it looks like you change may have produced an improvement.

Comment by Tom Mueller [ 22/Feb/13 ]

This must be fixed for 4.0.

Comment by jwells [ 26/Apr/13 ]

We have made many fixes, some of which have been rejected for stability reasons. Deferring this to 4.0.1

Comment by pbelbin [ 23/Jul/13 ]

does the parallel startup functionality apply also to the parallel startup of deployed apps?

this is a pain point for me with some of the GF 3.1.2 servers I look after.





[GLASSFISH-18911] Automate generation of Class-Path entries for JAR files containing local CLI commands Created: 17/Jul/12  Updated: 21/Sep/15

Status: Open
Project: glassfish
Component/s: hk2
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Bug Priority: Major
Reporter: Tom Mueller Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Since the change to use the HK2 2.0 API, the hk2-jar maven plugin is no longer being used to generate JAR files. This means that there are no longer Class-Path entries in the manifests for JAR files. However, for the asadmin command, Class-Path entries are still required.

Specifically, the gms-adapter.jar file needs a class-path entry that points to shoal-gms-impl.jar. For now, this has been manually put into the pom.xml file gms-adapter.jar. This issue is for figuring out a way to do this automatically so that the dependencies that are already listed in the pom.xml are picked up.






[GLASSFISH-18984] [PERF] SerialInitContextFactory doesn't find ORB when using multiple threads Created: 08/Aug/12  Updated: 03/Dec/12

Status: Open
Project: glassfish
Component/s: naming
Affects Version/s: 4.0_b48
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Scott Oaks Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: PSRBUG

 Description   

For load generation, we have a client that spawns multiple threads, each of which gets an InitialContext. Periodically, this operations fails to connect to the glassfish ORB:

java.lang.RuntimeException: Could not get ORB
at com.sun.enterprise.naming.impl.SerialInitContextFactory.getORB(SerialInitContextFactory.java:156)
at com.sun.enterprise.naming.impl.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:180)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
...

I adding some debugging statements to the SerialInitContextFactory. The basic process of that code is:

{{
Habitat temp = defaultServices;
if (temp == null)

{ temp = Globals.getDefaultHabitat() ; }

if (temp == null)

{ // May need to initialize hk2 component model in standalone client temp = Globals.getStaticHabitat() ; }

if (temp != null) {
ORBLocator orbLocator = temp.getService(ORBLocator.class) ;
if (orbLocator != null)

{ return orbLocator.getORB() ; }

}
throw new RuntimeException( "Could not get ORB" ) ;
}}

When a single thread executes this, everything is fine: the habitat is initialized via the getStaticHabitat call and the getService call returns a locator which then gets the ORB.

When multiple threads execute this, some of them fail: for some of the threads, the call to getService returns null. Eventually, the call to getService will start returning the locator and for those threads, everything is fine. But for the threads that get there too soon, getService returns null. That would seem to indicate that the habitat which is returned from the getStaticHabitat() call is not fully initialized yet.

This all worked prior to the HK2 integration and the SerialInitContextFactory code has not substantially changed here (other than the API calls) into HK2, so I'm assigning it to HK2. I would guess that the issues is in Globals.getStaticHabitat() when it returns the previouslyCreated habitat from locator.getService().






[GLASSFISH-21372] jersey 2.0 :: for cdi injection, is beans.xml mandatory? Created: 09/Jun/15  Updated: 19/Aug/15

Status: Open
Project: glassfish
Component/s: hk2, jax-rs
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: vikramalvaj Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

glassfish 4.1



 Description   

Resource class

public class UploadFileService {

@Inject public Logger logger;

@POST
@Path("/upload")
@Consumes(MediaType.MULTIPART_FORM_DATA)
public Response uploadFile(
@FormDataParam("file") InputStream uploadedInputStream,
@FormDataParam("file") FormDataContentDisposition fileDetail) {
}
}
Injecting :: Logger class

@Dependent
public final class Loggers {

@Produces
public static final Logger getLogger(final InjectionPoint injectionPoint) {
if (injectionPoint == null)

{ throw new IllegalArgumentException("injectionPoint", new NullPointerException("injectionPoint")); }

}
Injection perfectly works on including beans.xml at

*.war\WEB-INF\classes\META-INF\beans.xml

But is it not beans.xml optional in jersey 2.0 ?

Error reported in the absence of beans.xml

org.glassfish.hk2.api.UnsatisfiedDependencyException: There was no object available for injection at SystemInjecteeImpl(requiredType=Logger,parent=UploadFileService,
qualifiers={},position=-1,optional=false,self=false,unqualified=null,1642832267)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:74)
at org.jvnet.hk2.internal.Utilities.justInject(Utilities.java:947)
at org.jvnet.hk2.internal.ServiceLocatorImpl.inject(ServiceLocatorImpl.java:902)
at org.glassfish.jersey.gf.cdi.internal.CdiComponentProvider$CdiFactory$2.getInstance(CdiComponentProvider.java:245)
at org.glassfish.jersey.gf.cdi.internal.CdiComponentProvider$CdiFactory.provide(CdiComponentProvider.java:189)



 Comments   
Comment by vikramalvaj [ 10/Jun/15 ]

My concern is ...Why an empty beans.xml file is required in this particular scenario when its optional in jersey 2.0 ?

Comment by jjsnyder83 [ 10/Jun/15 ]

The stack trace indicates that this is an hk2 exception not a cdi exception.

Comment by vikramalvaj [ 19/Aug/15 ]

Any update on this issue ?





[GLASSFISH-20903] setting "org.jvnet.hk2.osgiadapter.level=FINER" in logging.properties caused GF domain starting failed Created: 19/Nov/13  Updated: 21/Sep/15

Status: Open
Project: glassfish
Component/s: hk2, logging
Affects Version/s: 4.0
Fix Version/s: 4.1.1

Type: Bug Priority: Major
Reporter: TangYong Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Setting "org.jvnet.hk2.osgiadapter.level=FINER" in logging.properties caused GF domain starting failed.

This issue is a regression of 3.1.2.2.

[GF 4.0 scene]
Modifying glassfish4/glassfish\domains\domain1/config/logging.properties and setting the following,

org.jvnet.hk2.osgiadapter.level=FINER

Then, starting GF domain failed, and the following error happened on cmd shell,

Waiting for domain1 to start .............Error starting domain domain1.
The server exited prematurely with exit code 1.
Before it died, it produced the following output:

...
Launching GlassFish on Felix platform
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@1ead03b 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=E:\NanjingJUG\qcon_fighterfish\glassfish-4.0\glassfish4\glassfish
#!## LogManagerService.postConstruct : templateDir=E:\NanjingJUG\qcon_fighterfish\glassfish-4.0\glassfish4\glassfish\lib\templates
#!## LogManagerService.postConstruct : src=E:\NanjingJUG\qcon_fighterfish\glassfish-4.0\glassfish4\glassfish\lib\templates\logging.properties
#!## LogManagerService.postConstruct : dest=E:\NanjingJUG\qcon_fighterfish\glassfish-4.0\glassfish4\glassfish\domains\domain1\config\logging.properties
Completed shutdown of GlassFish runtime
We are in non-embedded mode, so org.glassfish.main.core.glassfish [104] has nothing to do.
Nov 19, 2013 3:45:22 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
情報: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Nov 19, 2013 3:45:22 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Nov 19, 2013 3:45:22 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Nov 19, 2013 3:45:31 PM OSGiModuleImpl start
FINER: Ignoring start of bundle org.glassfish.main.admin.config-api [40] as it is in ACTIVE state
Nov 19, 2013 3:45:31 PM OSGiModuleImpl start
FINER: Ignoring start of bundle org.glassfish.main.admin.config-api [40] as it is in ACTIVE state
Nov 19, 2013 3:45:31 PM OSGiModuleImpl start
FINER: Ignoring start of bundle org.glassfish.main.admin.config-api [40] as it is in ACTIVE state
Exception in thread "main" java.lang.reflect.InvocationTargetException
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:601)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:54)
Caused by: java.lang.NoClassDefFoundError: java/util/LinkedList
at org.glassfish.hk2.api.MultiException.<init>(MultiException.java:62)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneJob.fail(CurrentTaskFuture.java:496)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneJob.access$2000(CurrentTaskFuture.java:430)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:677)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:660)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneJob.run(CurrentTaskFuture.java:490)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpAllTheWay.go(CurrentTaskFuture.java:362)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpAllTheWay.access$100(CurrentTaskFuture.java:279)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture.go(CurrentTaskFuture.java:113)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.proceedTo(AsyncRunLevelContext.java:296)
at org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl.proceedTo(RunLevelControllerImpl.java:66)
at com.sun.enterprise.v3.server.AppServerStartup.proceedTo(AppServerStartup.java:532)
at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:313)
at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:226)
at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:217)
at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl.start(EmbeddedOSGiGlassFishImpl.java:75)
at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:71)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
... 6 more

Command start-domain failed.

[GF 4.0.1 scene]
Here, I used glassfish-4.0.1-b04-11_16_2013 nightly building version. while starting GF domain, cmd shell always display

"Waiting for domain1 to start ................................................................................................"

Then, after a long time, the following is displayed and in server.log, no any valuable info.

>asadmin start-domain
Waiting for domain1 to start ............................................................................................................................................................................................................................................................................................................................................................................
serverNoStart
Command start-domain failed.

However, this issue can not happen in GF 3.1.2.2.

From 4.0 scene, I felt that this seems to be related to HK2 layer. So, firstly requesting HK2 team to investigate it.






[GLASSFISH-19530] javax/servlet/jsp/JspFactory javax/el/BeanELResolver are required for deployment for glassfish-jes Created: 14/Jan/13  Updated: 18/Jan/13

Status: Open
Project: glassfish
Component/s: deployment
Affects Version/s: 4.0_b70
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Amy Roh Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Removing jsp/el from glassfish-jes to reduce its size results in these exceptions

[glassfish-embedded-deploy] Jan 14, 2013 5:44:06 PM com.sun.enterprise.v3.server.ApplicationLifecycle deploy
[glassfish-embedded-deploy] SEVERE: Exception during lifecycle processing
[glassfish-embedded-deploy] MultiException stack 1 of 1
[glassfish-embedded-deploy] java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
[glassfish-embedded-deploy] at java.lang.Class.getDeclaredConstructors0(Native Method)
[glassfish-embedded-deploy] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
[glassfish-embedded-deploy] at java.lang.Class.getDeclaredConstructors(Class.java:1853)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.Utilities.getAllConstructorKeys(Utilities.java:957)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.Utilities.getAllConstructors(Utilities.java:943)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.Utilities.findProducerConstructor(Utilities.java:862)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.ClazzCreator.<init>(ClazzCreator.java:93)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.SystemDescriptor.reify(SystemDescriptor.java:574)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:361)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.narrow(ServiceLocatorImpl.java:1562)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetDescriptor(ServiceLocatorImpl.java:779)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:1025)
[glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:1014)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:112)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainer(ApplicationLifecycle.java:994)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:699)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:374)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
[glassfish-embedded-deploy] at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:490)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:561)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:557)
[glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
[glassfish-embedded-deploy] at javax.security.auth.Subject.doAs(Subject.java:356)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:556)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:580)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1455)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1400(CommandRunnerImpl.java:108)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1782)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1712)
[glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:129)
[glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:105)
[glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.Util.deploy(Util.java:114)
[glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.DeployTask.execute(DeployTask.java:130)
[glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
[glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
[glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
[glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[glassfish-embedded-deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[glassfish-embedded-deploy] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[glassfish-embedded-deploy] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[glassfish-embedded-deploy] Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.JspFactory
[glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
[glassfish-embedded-deploy] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[glassfish-embedded-deploy] ... 74 more
[glassfish-embedded-deploy]
[glassfish-embedded-deploy] Jan 14, 2013 5:44:06 PM org.glassfish.deployment.admin.DeployCommand execute
[glassfish-embedded-deploy] SEVERE: javax/el/BeanELResolver
[glassfish-embedded-deploy] java.lang.ClassNotFoundException: javax.el.BeanELResolver
[glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
[glassfish-embedded-deploy] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[glassfish-embedded-deploy] at org.glassfish.web.loader.WebappClassLoader.purgeELBeanClasses(WebappClassLoader.java:3313)
[glassfish-embedded-deploy] at org.glassfish.web.loader.WebappClassLoader.stop(WebappClassLoader.java:1872)
[glassfish-embedded-deploy] at org.glassfish.web.loader.WebappClassLoader.preDestroy(WebappClassLoader.java:1854)
[glassfish-embedded-deploy] at org.glassfish.deployment.common.DeploymentContextImpl.preDestroy(DeploymentContextImpl.java:165)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle$2.actOn(ApplicationLifecycle.java:274)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:517)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
[glassfish-embedded-deploy] at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:490)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:561)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:557)
[glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
[glassfish-embedded-deploy] at javax.security.auth.Subject.doAs(Subject.java:356)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:556)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:580)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1455)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1400(CommandRunnerImpl.java:108)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1782)
[glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1712)
[glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:129)
[glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:105)
[glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.Util.deploy(Util.java:114)
[glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.DeployTask.execute(DeployTask.java:130)
[glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
[glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
[glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
[glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[glassfish-embedded-deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[glassfish-embedded-deploy] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[glassfish-embedded-deploy] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)






[GLASSFISH-19690] Remove org.glassfish.servlet.habitat from ServletContext Created: 18/Feb/13  Updated: 21/Sep/15

Status: Open
Project: glassfish
Component/s: hk2
Affects Version/s: 4.0_b76_EE7MS5
Fix Version/s: 4.1.1

Type: Bug Priority: Major
Reporter: jwells Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The GlassFish default HK2 ServiceLocator is currently being put into every ServletContext with name org.glassfish.servlet.habitat. The GlassFish default ServiceLocator contains services that servlets should not have access to and hence this field of the servlet context will be removed.

HABITAT_ATTRIBUTE is defined in ./appserver/web/web-glue/src/main/java/com/sun/enterprise/web/Constants.java and the ServiceLocator is put into the servlet context in ./appserver/web/web-glue/src/main/java/com/sun/enterprise/web/WebModuleListener.java. I will not detail the places in the code that I found that are using this feature, but they will be changed to either use the ApplicationScoped service locator if they do not need internal GlassFish services, or to using Globals.getDefaultHabitat() if they do.

Rather than giving servlets the default HK2 ServiceLocator, every application will have access to its own application scoped ServiceLocator which can be found at the JNDI name "java:app/hk2/ServiceLocator". No GlassFish internal services will be available to this ServiceLocator.






[GLASSFISH-20360] Got an NPE when shutting down the server, causing server to not shut down Created: 19/Apr/13  Updated: 19/Apr/13

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 4.0_b01
Fix Version/s: None

Type: Bug Priority: Major
Reporter: jwells Assignee: jwells
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This is intermittent, I've only seen it once in about 20 runs of:

asadmin start-domain
asadmin stop-domain

in a loop. This is the exception:

[2013-04-19T13:14:02.074-0700] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=16 _ThreadName=Thread-8] [timeMillis: 1366402442074] [levelValue: 1000] [[
java.lang.NullPointerException
at com.sun.enterprise.naming.impl.SerialContext.getORB(SerialContext.java:347)
at com.sun.enterprise.naming.impl.SerialContext.getProviderCacheKey(SerialContext.java:354)
at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:384)
at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:329)
at com.sun.enterprise.naming.impl.SerialContext.unbind(SerialContext.java:708)
at javax.naming.InitialContext.unbind(InitialContext.java:435)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.unpublishObject(GlassfishNamingManagerImpl.java:250)
at com.sun.enterprise.transaction.startup.TransactionLifecycleService.preDestroy(TransactionLifecycleService.java:132)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:294)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:358)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:473)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:191)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:159)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownAllTheWay.run(CurrentTaskFuture.java:583)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)]]






[GLASSFISH-20299] ResourceManager run level 2 slows down server initialization Created: 12/Apr/13  Updated: 21/Sep/15

Status: Reopened
Project: glassfish
Component/s: performance
Affects Version/s: 4.0_b84_RC1
Fix Version/s: 4.1.1

Type: Bug Priority: Major
Reporter: Tom Mueller Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
depends on GLASSFISH-20206 Boot GlassFish startup services in pa... Closed
depends on GLASSFISH-20541 LogManagerService synchronization cau... Resolved
Tags: 4_0-approved, devx_web

 Description   

The ResourceManager service is currently started at run level 2:

@RunLevel( value= 2, mode=RunLevel.RUNLEVEL_MODE_NON_VALIDATING)
@Service(name="ResourceManager") // this name is used in ApplicationLoaderService
public class ResourceManager implements PostConstruct, PreDestroy, ConfigListener {

Once the changes for GLASSFISH-20206 are checked in, then the initialization for ResourceManager will occur by itself while no other initialization is happening. By moving this to @InitRunLevel (level 1), then ResourceManager can be initialize at the same time as other level 1 services and (hopefully) its initialization would not slow down the startup of the server.

This issue is for changing the run level to 1.

It is not clear yet how much of an improvement this will make. Currently, ResourceManager takes about 120 ms to initialize.



 Comments   
Comment by Tom Mueller [ 12/Apr/13 ]

Changing the run level will not result in any change until GLASSFISH-20206 is implemented.

Comment by jwells [ 16/Apr/13 ]

What is the impact on the customer of the bug?

They will see a performance improvement during startup when multi-threading is turned on

What is the cost/risk of fixing the bug?

This particular change is not very risky, it is merely changing a service from run level 2 to run level 1

Is there an impact on documentation or message strings?

No

Which tests should QA (re)run to verify the fix did not destabilize GlassFish?

connector, jdbc, resources

Which is the targeted build of 4.0 for this fix?

b88

If this an integration of a new version of a component from another project,
what are the changes that are being brought in? This might be list of
Jira issues from that project or a list of revision messages.

n/a

Comment by Tom Mueller [ 16/Apr/13 ]

Approved for 4.0

Comment by jwells [ 16/Apr/13 ]

Changed to RunLevel 1 at svn change 61439

Comment by Tom Mueller [ 16/May/13 ]

Backing out this change because of the logging deadlock (see issue GLASSFISH-20541)

Backed out in revision 62021.





[GLASSFISH-20600] Looks like HK2 doesn't recognize parameters described like getXYParameter()/setXYParameter(String) Created: 01/Jun/13  Updated: 03/Jun/13

Status: Open
Project: glassfish
Component/s: hk2
Affects Version/s: 4.0_b89_RC5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: oleksiys Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Following configuration object doesn't seem to work properly:

@Configured
public interface Transport extends ConfigBeanProxy, PropertyBag {
.....
    @Attribute(dataType = String.class)
    String getIOStrategy();

    void setIOStrategy(String ioStrategy);
......
}

when I try to create an instance of this interface like:

        ConfigSupport.apply(new SingleConfigCode<Transports>() {
            @Override
            public Object run(final Transports transports) throws TransactionFailure {
                final Transport spdyTransport =
                        transports.createChild(Transport.class);
                spdyTransport.setName(SPDY_TRANSPORT_NAME);
                spdyTransport.setIOStrategy(strategyName);    <------ FAILS HERE
                
                transports.getTransport().add(spdyTransport);
                
                return spdyTransport;
            }
        }, networkConfig.getTransports());

the code fails with HV0000XXX log (unfortunately I removed it) complaining that property ioStrategy can't be found on a path.

At the same time when I call

spdyTransport.getIOStrategy();

the code properly returns null.

It also works once I change the method name to set/getIoStrategy()






[GLASSFISH-21548] During startup of the server WouldBlockException is thrown, with GlassFish 4.1(hk2 2.3.0) Created: 08/Jul/16  Updated: 11/Jul/16

Status: Open
Project: glassfish
Component/s: hk2
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: fyoshitomi Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 2012 x86_64



 Description   

GlassFish 4.1.0(hk2 2.3.0) throws WouldBlockException during startup of the server though hk2 2.2.0-b05 has a fix WouldBlockException.
https://java.net/jira/browse/GLASSFISH-20617
https://java.net/jira/browse/GLASSFISH-20604

MultiException stack 1 of 5
org.glassfish.hk2.runlevel.internal.WouldBlockException: This descriptor would block: SystemDescriptor(
implementation=com.sun.enterprise.admin.util.InstanceStateServiceImpl
contracts=

{com.sun.enterprise.admin.util.InstanceStateServiceImpl,com.sun.enterprise.admin.util.InstanceStateService}

scope=org.glassfish.hk2.runlevel.RunLevel
qualifiers={}
descriptorType=CLASS
descriptorVisibility=NORMAL
metadata=runLevelValue=

{10}

,runLevelMode=

{0}

,Bundle-SymbolicName=

{org.glassfish.main.admin.util}

,Bundle-Version=

{4.1.0}

rank=0
loader=OsgiPopulatorPostProcessor.HK2Loader(OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.util [8]], State = [READY],234832186)
proxiable=null
proxyForSameScope=null
analysisName=null
id=346
locatorId=0
identityHashCode=240464280
reified=true)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:184)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 2 of 5
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.v3.admin.CommandRunnerImpl errors were found
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:249)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 3 of 5
java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.v3.admin.CommandRunnerImpl
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:389)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 4 of 5
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.v3.admin.PrivateAdminAdapter errors were found
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:249)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetAllServiceHandles(ServiceLocatorImpl.java:1372)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:726)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:714)
at com.sun.enterprise.v3.services.impl.GrizzlyService.registerContainerAdapters(GrizzlyService.java:637)
at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:515)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:329)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:377)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:753)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 5 of 5
java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.v3.admin.PrivateAdminAdapter
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:389)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetAllServiceHandles(ServiceLocatorImpl.java:1372)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:726)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:714)
at com.sun.enterprise.v3.services.impl.GrizzlyService.registerContainerAdapters(GrizzlyService.java:637)
at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:515)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:329)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:377)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:753)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)



 Comments   
Comment by jwells [ 08/Jul/16 ]

How do you reproduce this issue? Just booting GlassFish 4.1 works fine

Comment by fyoshitomi [ 11/Jul/16 ]

I just boot GlassFish 4.1 with "asadmin start-domain" or "asadmin start-cluster". WouldBlockException have been thrown by GlassFish two times before.





[GLASSFISH-18713] Fix ServerEnvironmentImpl not to corrupt com.sun.aas.hostName system property Created: 10/May/12  Updated: 08/Feb/13

Status: Open
Project: glassfish
Component/s: admin
Affects Version/s: 4.0
Fix Version/s: None

Type: Task Priority: Minor
Reporter: andriy.zhdanov Assignee: jwells
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to GLASSFISH-17498 Application Client problem with netwo... Resolved

 Description   

Please take a look at ServerEnvironmentImpl.postConstruct, lines 146-167, it corrupts com.sun.aas.hostName system property, thinking it is file name and prefixing it with root path. This system property is reset back to correct value in SystemTasksImpl, but it would be nice to fix ServerEnvironmentImpl to not do this. This is very confusing.

See also GLASSFISH-17498
svn #52118

Thank you.






[GLASSFISH-20344] Bundles are being started when the server is shutting down Created: 18/Apr/13  Updated: 21/Sep/15

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 4.0_b01
Fix Version/s: 4.1.1

Type: Bug Priority: Minor
Reporter: jwells Assignee: jwells
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Bundles that had never been started before are being started when the server is shutting down. In most cases this is unnecessary work that is being done during shutdown and could have a cascading effect that might affect future boots.

Here is an example stack trace where a bundle is being started during shutdown processing:

starting bundle org.glassfish.main.jdbc.runtime]]

[2013-04-18T05:17:54.872-0700] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=323 _ThreadName=Thread-8] [timeMillis: 1366287474872] [levelValue: 1000] [[
java.lang.Throwable
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:211)
at org.jvnet.hk2.osgiadapter.OsgiPopulatorPostProcessor$1.loadClass(OsgiPopulatorPostProcessor.java:77)
at org.jvnet.hk2.internal.ServiceLocatorImpl.loadClass(ServiceLocatorImpl.java:1707)
at org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:368)
at org.jvnet.hk2.internal.ServiceLocatorImpl.narrow(ServiceLocatorImpl.java:1769)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetAllServiceHandles(ServiceLocatorImpl.java:1092)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:651)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:639)
at com.sun.enterprise.connectors.ConnectorRuntime.cleanUpResourcesAndShutdownAllActiveRAs(ConnectorRuntime.java:996)
at com.sun.appserv.connectors.internal.ConnectorResourceManagerLifecycleListener.resourceManagerShutdown(ConnectorResourceManagerLifecycleListener.java:193)
at com.sun.appserv.connectors.internal.ConnectorResourceManagerLifecycleListener.resourceManagerLifecycleEvent(ConnectorResourceManagerLifecycleListener.java:179)
at org.glassfish.resourcebase.resources.listener.ResourceManager.notifyListeners(ResourceManager.java:132)
at org.glassfish.resourcebase.resources.listener.ResourceManager.preDestroy(ResourceManager.java:206)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:294)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:358)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:473)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:191)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:159)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownAllTheWay.run(CurrentTaskFuture.java:583)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)]]






Generated at Wed Sep 28 21:33:25 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.