Skip to content
Success

Changes

Summary

  1. Partial cleanup in war-util and classloaders (details)
  2. Updated Jakarta EE 10 references in code (details)
  3. Removed duplicit log in WarHandler (details)
  4. Rules for resource and class loading resolution aligned (details)
  5. el-api 5.0.1 now avoids memory leaks (details)
  6. Removed unused error message (usage removed in update of el-api) (details)
Commit b4e5d0bf8f0d610126cf4ee1eb16a9950b898819 by David Matějček
Partial cleanup in war-util and classloaders

- generics, stringbuffers, formatting, deprecated methods
- bit of optimization
- debug removed (unused)
- delegate is true by default, synced
- logic around isDelegateFirstResource simplified (probably will be revisited
  for Faces TCK)
The file was removedappserver/web/war-util/src/main/resources/com/sun/logging/enterprise/system/tools/deployment/.gitkeep_empty_dir
The file was removedappserver/web/war-util/src/main/resources/org/glassfish/web/loader/.gitkeep_empty_dir
The file was modified appserver/web/web-core/src/main/java/org/apache/catalina/core/StandardContext.java
The file was removedappserver/web/war-util/src/main/java/com/sun/logging/enterprise/system/tools/deployment/.gitkeep_empty_dir
The file was modified appserver/web/war-util/src/main/java/org/glassfish/web/loader/WebappClassLoader.java
The file was modified appserver/web/web-core/src/main/java/org/apache/catalina/loader/WebappLoader.java
The file was removedappserver/web/war-util/src/main/resources/org/apache/naming/resources/.gitkeep_empty_dir
The file was modified appserver/web/war-util/src/main/java/com/sun/enterprise/glassfish/web/WarHandler.java
The file was modified nucleus/common/common-util/src/main/java/com/sun/enterprise/loader/ASURLClassLoader.java
The file was modified appserver/web/web-core/src/main/java/org/apache/catalina/connector/AsyncContextImpl.java
The file was removedappserver/web/war-util/src/main/java/com/sun/logging/enterprise/system/container/web/.gitkeep_empty_dir
The file was modified appserver/web/web-glue/src/main/java/com/sun/enterprise/web/WebModule.java
Commit 07531968f26ecb48055fd270f9bc46df61bc5cad by David Matějček
Updated Jakarta EE 10 references in code
The file was modified appserver/ejb/ejb-container/src/main/java/org/glassfish/ejb/startup/EjbDeployer.java
The file was modified appserver/connectors/connectors-connector/pom.xml
The file was modified appserver/common/annotation-framework/pom.xml
The file was modified appserver/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/impl/SerialContext.java
The file was modified nucleus/common/internal-api/src/main/java/org/glassfish/internal/api/ClassLoaderHierarchy.java
The file was modified nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/SynchronizeInstanceCommand.java
The file was modified nucleus/parent/pom.xml
The file was modified appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/ManagedBeanManager.java
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/Archivist.java
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/types/ServiceReferenceContainer.java
The file was modified appserver/tests/paas/javaee_shared_service/pom.xml
The file was modified nucleus/common/glassfish-api/src/main/java/org/glassfish/api/container/Sniffer.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-integration/builtin-beans/client/test/client/WebTest.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/portable-extensions/new-bean-registration-extension-in-lib/extension/test/extension/ServiceFrameworkExtension.java
The file was modified nucleus/common/internal-api/src/main/java/org/glassfish/internal/deployment/GenericSniffer.java
The file was modified appserver/core/jakartaee-kernel/src/main/java/org/glassfish/kernel/javaee/WebContainerStarter.java
The file was modified appserver/web/gf-web-connector/src/main/java/org/glassfish/web/sniffer/WebSniffer.java
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/PersistenceUnitNode.java
The file was modified appserver/deployment/jakartaee-full/src/main/java/org/glassfish/javaee/full/deployment/EarDeployer.java
The file was modified appserver/admingui/core/src/main/resources/org/glassfish/admingui/core/Strings.properties
The file was modified appserver/deployment/jakartaee-core/src/main/java/org/glassfish/javaee/core/deployment/LocalStrings.properties
The file was modified appserver/tests/appserv-tests/devtests/security/jaccApi/prog-auth/programmatic-authentication/pom.xml
The file was modified appserver/tests/paas/javaee_shared_service/src/test/java/org/glassfish/tests/paas/javaee_shared_service/BookStoreTest.java
The file was modified appserver/common/amx-jakartaee/src/main/java/org/glassfish/admin/amx/impl/j2ee/RegistrationSupport.java
The file was modified appserver/appclient/server/core/src/main/resources/org/glassfish/appclient/server/core/LogStrings.properties
The file was modified appserver/admingui/jca/src/main/resources/org/glassfish/jca/admingui/Strings.properties
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/em-resource-injection-extended-transaction-context/client/test/client/WebTest.java
The file was modified appserver/tests/v2-tests/appserv-tests/devtests/appclient/jws/jwsSetup.xml
The file was modified nucleus/common/glassfish-api/src/main/java/org/glassfish/api/deployment/archive/ArchiveType.java
The file was modified nucleus/common/glassfish-api/src/main/java/org/glassfish/api/deployment/MetaData.java
The file was modified appserver/tests/paas/scale_service/src/test/java/org/glassfish/tests/paas/scale_service/ScaleServicePaaSTest.java
The file was modified appserver/deployment/jakartaee-full/src/main/java/org/glassfish/javaee/full/deployment/EarSniffer.java
The file was modified appserver/security/core-ee/src/main/java/com/sun/enterprise/security/perms/SMGlobalPolicyUtil.java
The file was modified appserver/connectors/work-management/pom.xml
The file was modified docs/application-development-guide/src/main/asciidoc/osgi.adoc
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/PersistenceNode.java
The file was modified appserver/common/amx-jakartaee/pom.xml
The file was modified appserver/ejb/ejb-container/src/main/resources/com/sun/logging/enterprise/system/container/ejb/LogStrings.properties
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/LocalStrings.properties
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/io/DeploymentDescriptorFile.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-integration/cdi-servlet-3.0-annotation-with-web-inf-lib-extension-alternative/servlet/test/servlet/TestServlet.java
The file was modified appserver/web/war-util/src/main/java/org/glassfish/web/loader/WebappClassLoader.java
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/InterceptorDescriptor.java
The file was modified nucleus/deployment/common/src/main/resources/org/glassfish/deployment/common/LocalStrings.properties
The file was modified appserver/security/core-ee/src/main/java/com/sun/enterprise/security/perms/EarEEPermissionsProcessor.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/no-interface-ejb/client/test/client/WebTest.java
The file was modified nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java
The file was modified appserver/common/amx-jakartaee/src/main/java/org/glassfish/admin/amx/j2ee/package-info.java
The file was modified appserver/tests/appserv-tests/devtests/webservice/jbi-serviceengine/sm/bc_consumer_se_provider/build.xml
The file was modified nucleus/common/glassfish-api/src/main/java/org/glassfish/api/invocation/InvocationManager.java
The file was modified appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/BaseContainer.java
The file was modified appserver/security/core-ee/pom.xml
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/jpa-resource-injection-with-singleton-ejb-producer/client/test/client/WebTest.java
The file was modified appserver/appclient/server/connector/src/main/java/org/glassfish/appclient/server/connector/AppClientSniffer.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/portable-extensions/new-bean-registration/servlet/test/extension/ServiceFrameworkExtension.java
The file was modified appserver/core/jakartaee-kernel/pom.xml
The file was modified appserver/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/AppSpecificConnectorClassLoaderUtil.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/em-resource-injection/client/test/client/WebTest.java
The file was modified appserver/tests/appserv-tests/devtests/security/jaccApi/prog-auth/common/pom.xml
The file was modified appserver/connectors/connectors-connector/src/main/java/com/sun/enterprise/connectors/connector/module/ConnectorSniffer.java
The file was modified appserver/admingui/concurrent/src/main/resources/org/glassfish/concurrent/admingui/Strings.properties
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-integration/cdi-servlet-3.0-annotation-with-web-inf-lib-javaee-injection/servlet/test/servlet/TestServlet.java
The file was modified nucleus/osgi-platforms/osgi-cli-remote/src/main/manpages/org/glassfish/osgi/cli/remote/osgi.1
The file was modified appserver/tests/v2-tests/appserv-tests/sqetests/security/wss/servletjaxws/web/Tax.java
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/ManagedBeanDescriptor.java
The file was modified appserver/web/weld-integration/src/main/java/org/glassfish/weld/InjectionPointHelper.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/em-injection-no-interface-ejb/client/test/client/WebTest.java
The file was modified nucleus/common/scattered-archive-api/src/main/java/org/glassfish/embeddable/archive/ScatteredEnterpriseArchive.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/jpa-resource-injection/client/test/client/WebTest.java
The file was modified nucleus/common/internal-api/src/main/java/org/glassfish/internal/data/ApplicationInfo.java
The file was modified appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/ApplicationArchivist.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/jpa-resource-injection-passivating-scope/client/test/client/WebTest.java
The file was modified appserver/jms/gf-jms-injection/src/main/java/org/glassfish/jms/injection/InjectableJMSContext.java
The file was modified appserver/security/core-ee/src/main/java/com/sun/enterprise/security/ee/SecurityDeployer.java
The file was modified nucleus/common/glassfish-api/src/main/java/org/glassfish/api/invocation/ComponentInvocation.java
The file was modified nucleus/deployment/common/src/main/java/org/glassfish/deployment/common/LocalStrings.properties
The file was modified appserver/connectors/connectors-runtime/pom.xml
The file was modified nucleus/admin/monitor/src/main/java/org/glassfish/flashlight/statistics/Counter.java
The file was modified appserver/common/glassfish-ee-api/pom.xml
The file was modified nucleus/common/scattered-archive-api/src/main/java/org/glassfish/embeddable/archive/ScatteredArchive.java
The file was removedappserver/deployment/jakartaee-core/src/main/java/org/glassfish/javaee/core/deployment/JavaEEDeploymentUtils.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/slsb-injection-into-sessionscoped/client/test/client/WebTest.java
The file was modified appserver/persistence/jpa-container/src/main/java/org/glassfish/persistence/jpa/PersistenceUnitInfoImpl.java
The file was modified appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Strings.properties
The file was modified appserver/deployment/dtds/pom.xml
The file was modified appserver/ejb/ejb-container/src/main/resources/org/glassfish/ejb/startup/LocalStrings.properties
The file was modified appserver/ejb/ejb-connector/src/main/java/org/glassfish/ejb/deployment/archive/EjbSniffer.java
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-component-resources/jpa-resource-injection-non-serializable/client/test/client/WebTest.java
The file was modified appserver/web/weld-integration/src/main/java/org/glassfish/weld/WeldActivator.java
The file was modified appserver/admingui/jdbc/src/main/resources/org/glassfish/jdbc/admingui/Strings.properties
The file was modified appserver/tests/appserv-tests/devtests/cdi/javaee-integration/no-interface-local-view-proxy-serializable/client/test/client/WebTest.java
Commit 34ac1b9fcb4b2027c824ad11809492cb94dcda9c by David Matějček
Removed duplicit log in WarHandler

Signed-off-by: David Matějček <dmatej@seznam.cz>
The file was modified appserver/web/war-util/src/main/java/com/sun/enterprise/glassfish/web/WarHandler.java
Commit 3cf6b08506b988f66722b49f31b4713d9dc0de61 by David Matějček
Rules for resource and class loading resolution aligned

- overridablePackages are not added, but set, and then just used. Because it
  is just configured and then read, we don't need ConcurrentLinkedQueue
- useMyFaces now affects both classes and resources
- org.apache.commons.logging doesn't exist in GlassFish - removed
- com.sun.enterprise.overrideablejavaxpackages renamed to
  org.glassfish.main.webappCL.overridablePackages
  - I don't think anyone used it for years, but it really could be useful.
  - overridable packages are now set only by this system property.

Signed-off-by: David Matějček <dmatej@seznam.cz>
The file was modified appserver/web/web-core/src/main/java/org/apache/catalina/Loader.java
The file was modified appserver/web/web-core/src/main/java/org/apache/catalina/loader/WebappLoader.java
The file was modified appserver/web/war-util/src/main/java/org/glassfish/web/loader/WebappClassLoader.java
The file was modified appserver/web/web-glue/src/main/java/com/sun/enterprise/web/WebModule.java
Commit 639fe4fdeaa217f8b867989608cb094ec15b2706 by David Matějček
el-api 5.0.1 now avoids memory leaks

- so there is no need to use the reflection to clear the cache
- also it would not work any more as the field is not static now)
The file was modified appserver/web/war-util/src/main/java/org/glassfish/web/loader/WebappClassLoader.java
The file was modified nucleus/parent/pom.xml
Commit 6bc08d04c00f8b9ec933690bb650b5612f988f6e by David Matějček
Removed unused error message (usage removed in update of el-api)

Signed-off-by: David Matějček <dmatej@seznam.cz>
The file was modified appserver/web/war-util/src/main/java/org/glassfish/web/loader/LogFacade.java