Skip to main content

Source code revision

svn

summary: We have made it configurable as to what minimum state a module should be in for additional resources to be looked up in a module by punch-in facility of API class loader.
revision: 53460
author: Sahoo
date: 2012-04-11 01:58:44 UTC (2 years)
message: We have made it configurable as to what minimum state a module should be in for additional
resources to be looked up in a module by punch-in facility of API class loader.
This is controlled by a system property called glassfish.kernel.apicl.punchin.module.state.
To maintain old behavior, by default, it selects form all modules.
We should change this to select from atleast RESOLVED modules after doing necessary testing.
This can be achieved by setting following system property:
glassfish.kernel.apicl.punchin.module.state=RESOLVED
There are around 27 modules in GlassFish that contains META-INF/services, and we are not sure
all of them in at least RESOLVED state when their respective services are loked up.
When we change the default policy, if we find issues, we have to implement appropriate
Sniffers so that they can load correct modules before META-INF/services from them are looked up.
e.g. web-sse sniffer setting up web-sse module when it detects application is using sse apis.
Change Path Actions
M trunk/main/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/APIClassLoaderServiceImpl.java
 
 
Close
loading
Please Confirm
Close