[JBoss JIRA] (WFCORE-4674) Custom handlers, formatters and filters cause the server to crash if the log manager is on the boot class path
by Francisco De Melo Junior (Jira)
[ https://issues.redhat.com/browse/WFCORE-4674?page=com.atlassian.jira.plug... ]
Francisco De Melo Junior commented on WFCORE-4674:
--------------------------------------------------
[~jamezp] since we are already here, could you describe the steps. I sincerely thought replacing the modules and changing standalone.conf was enough.
> Custom handlers, formatters and filters cause the server to crash if the log manager is on the boot class path
> --------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4674
> URL: https://issues.redhat.com/browse/WFCORE-4674
> Project: WildFly Core
> Issue Type: Bug
> Components: Logging
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Critical
> Labels: OpenShift, jdk11
> Fix For: 13.0.0.Beta1
>
>
> If the log manager is on the boot class path with Java 11, {{-Xbootclasspath/a:jboss-logmanager.jar}}, and a custom handler, formatter or filter is used the server will fail to boot as the log manager can't see the types in jboss-modules. This seems due to the fact that the log manager is on the boot class path and jboss-modules is on the system class path.
> Example exception:
> {code}
> Failed to read or configure the org.jboss.logmanager.LogManager
> java.lang.IllegalArgumentException: Failed to load module "org.jboss.logmanager" for formatter "JSON"
> at org.jboss.logmanager.config.AbstractPropertyConfiguration.<init>(AbstractPropertyConfiguration.java:65)
> at org.jboss.logmanager.config.FormatterConfigurationImpl.<init>(FormatterConfigurationImpl.java:30)
> at org.jboss.logmanager.config.LogContextConfigurationImpl.addFormatterConfiguration(LogContextConfigurationImpl.java:172)
> at org.jboss.logmanager.PropertyConfigurator.configureFormatter(PropertyConfigurator.java:631)
> at org.jboss.logmanager.PropertyConfigurator.configureHandler(PropertyConfigurator.java:701)
> at org.jboss.logmanager.PropertyConfigurator.configureLogger(PropertyConfigurator.java:583)
> at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:521)
> at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:97)
> at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:170)
> at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:132)
> at java.util.logging.LogManager$3.run(LogManager.java:399)
> at java.util.logging.LogManager$3.run(LogManager.java:396)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:396)
> at java.util.logging.LogManager.access$800(LogManager.java:145)
> at java.util.logging.LogManager$2.run(LogManager.java:345)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.ensureLogManagerInitialized(LogManager.java:338)
> at java.util.logging.LogManager.getLogManager(LogManager.java:378)
> at org.jboss.modules.Main.main(Main.java:523)
> Caused by: java.lang.NoClassDefFoundError: org/jboss/modules/ModuleLoader
> at org.jboss.logmanager.config.AbstractPropertyConfiguration$ModuleFinder.getClassLoader(AbstractPropertyConfiguration.java:556)
> at org.jboss.logmanager.config.AbstractPropertyConfiguration.<init>(AbstractPropertyConfiguration.java:63)
> ... 19 more
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years
[JBoss JIRA] (WFLY-13905) Support ProtoStream marshalling of @Stateful EJB instances
by Paul Ferraro (Jira)
Paul Ferraro created WFLY-13905:
-----------------------------------
Summary: Support ProtoStream marshalling of @Stateful EJB instances
Key: WFLY-13905
URL: https://issues.redhat.com/browse/WFLY-13905
Project: WildFly
Issue Type: Sub-task
Components: Clustering
Reporter: Paul Ferraro
Assignee: Paul Ferraro
This encompasses the EJB instance itself, along with its attributes, including:
* Serializable JDK classes
* Application specific classes
* References to other EJBs
* Injected objects allowed by the spec, including:
** References to a UserTransaction
** References to a resource manager connection factory
** References to a container managed EntityManager or EntityManagerFactory
** References to an EJB Timer object
The scope of this Jira does not include:
* Marshalling of EJB method parameters and responses for use with @Remote invocation
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years
[JBoss JIRA] (WFLY-13904) Support ProtoStream marshalling of web session attributes
by Paul Ferraro (Jira)
Paul Ferraro created WFLY-13904:
-----------------------------------
Summary: Support ProtoStream marshalling of web session attributes
Key: WFLY-13904
URL: https://issues.redhat.com/browse/WFLY-13904
Project: WildFly
Issue Type: Sub-task
Components: Clustering
Reporter: Paul Ferraro
Assignee: Paul Ferraro
This encompasses any type of object that can be placed into an HttpSession, including:
* Serializable JDK classes
* JSF classes
* Weld classes for handling session scope
* EJB references
* Application specific classes
This will not include:
* Non-serializable JDK classes
* EJB instances (these will be handled separately)
* 3rd party web framework classes
** Perhaps create wildlfy-extra repos for some of the more common frameworks
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years