[JBoss JIRA] (WFCORE-2864) JMX is not logging the user and remote address for audit logging
by James Perkins (JIRA)
James Perkins created WFCORE-2864:
-------------------------------------
Summary: JMX is not logging the user and remote address for audit logging
Key: WFCORE-2864
URL: https://issues.jboss.org/browse/WFCORE-2864
Project: WildFly Core
Issue Type: Bug
Components: JMX
Reporter: James Perkins
Assignee: James Perkins
Priority: Blocker
The JMX audit logging is still using the {{javax.security.auth.Subject}} to get the user and remote IP address. This needs to use the {{AccessAuditContext}} for the remote IP and the {{SecurityIdentity}} for the user id.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (LOGMGR-159) (7.0.z) Suppressed exception format is not correct
by Bartosz Spyrko-Śmietanko (JIRA)
Bartosz Spyrko-Śmietanko created LOGMGR-159:
-----------------------------------------------
Summary: (7.0.z) Suppressed exception format is not correct
Key: LOGMGR-159
URL: https://issues.jboss.org/browse/LOGMGR-159
Project: JBoss Log Manager
Issue Type: Bug
Reporter: Bartosz Spyrko-Śmietanko
Assignee: James Perkins
Fix For: 2.0.5.Final, 2.1.0.Alpha1
The suppressed exception format is not correct when multiple exceptions are suppressed. Too many causes are printed likely because the circular dependencies are not working correctly.
{code:java|title=Example Reproducer}
final RuntimeException r1 = new RuntimeException("Exception 1");
final RuntimeException r2 = new RuntimeException("Exception 2", r1);
final RuntimeException r3 = new RuntimeException("Exception 3", r2);
final RuntimeException cause = new RuntimeException("This is the cause", r1);
cause.addSuppressed(r2);
cause.addSuppressed(r3);
Logger.getLogger(Main.class).error("Log message", cause);
{code}
{code:title=Output from JBoss Log Manager}
13:03:53,684 ERROR [com.jamezp.test.Main] Log message: java.lang.RuntimeException: This is the cause
at com.jamezp.test.Main.main(Main.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Suppressed: java.lang.RuntimeException: Exception 2
at com.jamezp.test.Main.main(Main.java:162)
... 5 more
Caused by: java.lang.RuntimeException: Exception 1
at com.jamezp.test.Main.main(Main.java:161)
... 5 more
Suppressed: java.lang.RuntimeException: Exception 3
at com.jamezp.test.Main.main(Main.java:163)
... 5 more
Caused by: java.lang.RuntimeException: Exception 2
at com.jamezp.test.Main.main(Main.java:162)
... 5 more
Caused by: java.lang.RuntimeException: Exception 1
at com.jamezp.test.Main.main(Main.java:161)
... 5 more
Caused by: java.lang.RuntimeException: Exception 1
at com.jamezp.test.Main.main(Main.java:161)
... 5 more
{code}
{code:title=Output from Throwable.printStackTrace()}
java.lang.RuntimeException: This is the cause
at com.jamezp.test.Main.main(Main.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Suppressed: java.lang.RuntimeException: Exception 2
at com.jamezp.test.Main.main(Main.java:162)
... 5 more
Caused by: java.lang.RuntimeException: Exception 1
at com.jamezp.test.Main.main(Main.java:161)
... 5 more
Suppressed: java.lang.RuntimeException: Exception 3
at com.jamezp.test.Main.main(Main.java:163)
... 5 more
[CIRCULAR REFERENCE:java.lang.RuntimeException: Exception 2]
[CIRCULAR REFERENCE:java.lang.RuntimeException: Exception 1]
{code}
{code:title=Output from JUL}
Jan 26, 2017 1:06:29 PM com.jamezp.test.Main main
ERROR: Log message
java.lang.RuntimeException: This is the cause
at com.jamezp.test.Main.main(Main.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Suppressed: java.lang.RuntimeException: Exception 2
at com.jamezp.test.Main.main(Main.java:162)
... 5 more
Caused by: java.lang.RuntimeException: Exception 1
at com.jamezp.test.Main.main(Main.java:161)
... 5 more
Suppressed: java.lang.RuntimeException: Exception 3
at com.jamezp.test.Main.main(Main.java:163)
... 5 more
[CIRCULAR REFERENCE:java.lang.RuntimeException: Exception 2]
[CIRCULAR REFERENCE:java.lang.RuntimeException: Exception 1]
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (LOGMGR-158) (7.0.z) Module naming does does not support slots
by Bartosz Spyrko-Śmietanko (JIRA)
Bartosz Spyrko-Śmietanko created LOGMGR-158:
-----------------------------------------------
Summary: (7.0.z) Module naming does does not support slots
Key: LOGMGR-158
URL: https://issues.jboss.org/browse/LOGMGR-158
Project: JBoss Log Manager
Issue Type: Bug
Reporter: Bartosz Spyrko-Śmietanko
Assignee: James Livingston
Fix For: 1.5.6.Final, 2.0.4.Final, 2.1.0.Alpha1
AbstractPropertyConfiguration$ModuleFinder uses ModuleIdentifier.create() rather than fromString(), which means it does not support specifying the slot via "module:slot" and can only use the main slot.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (WFLY-8826) Encrypt protocols should not require credential-reference
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-8826?page=com.atlassian.jira.plugin.... ]
Paul Ferraro moved JBEAP-11094 to WFLY-8826:
--------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8826 (was: JBEAP-11094)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Clustering
(was: Clustering)
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.DR18)
> Encrypt protocols should not require credential-reference
> ---------------------------------------------------------
>
> Key: WFLY-8826
> URL: https://issues.jboss.org/browse/WFLY-8826
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 11.0.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
>
> A key store does not require that keys be secured with a password - thus the credential-reference attribute should not be required.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months