[Red Hat JIRA] (WFLY-14077) Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
by Ondrej Kotek (Jira)
[ https://issues.redhat.com/browse/WFLY-14077?page=com.atlassian.jira.plugi... ]
Ondrej Kotek updated WFLY-14077:
--------------------------------
Steps to Reproduce:
- {{cd testsuite/integration/manualmode}}
- {{mvn clean install -B -Dsecurity.manager -Dtest=AuthenticationForwardingSLSFTestCase}}
> Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
> ---------------------------------------------------------------------------------------
>
> Key: WFLY-14077
> URL: https://issues.redhat.com/browse/WFLY-14077
> Project: WildFly
> Issue Type: Bug
> Components: Security Manager
> Affects Versions: 23.0.0.Beta1
> Reporter: Bartosz Spyrko-Smietanko
> Assignee: Richard Opalka
> Priority: Major
> Attachments: stacktrace.log
>
>
> Some tests hang indefinitely of fail when using security manager and Java 11, for example {{AuthenticationForwardingSFSFTestCase}}, {{AuthenticationForwardingSLSFTestCase}}, {{CdiFailoverTestCase}}, because of missing {{RuntimePermission}} permission {{accessClassInPackage.sun.misc}} when initializating {{jboss-marshalling}}.
> This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFLY-14077) Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
by Ondrej Kotek (Jira)
[ https://issues.redhat.com/browse/WFLY-14077?page=com.atlassian.jira.plugi... ]
Ondrej Kotek updated WFLY-14077:
--------------------------------
Description:
Some tests hang indefinitely of fail when using security manager and Java 11, for example {{AuthenticationForwardingSFSFTestCase}}, {{AuthenticationForwardingSLSFTestCase}}, {{CdiFailoverTestCase}}, because of missing {{RuntimePermission}} permission {{accessClassInPackage.sun.misc}} when initializating {{jboss-marshalling}}.
This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
was:
Some tests hang indefinitely when using security manager and JDK 11 : e.g. AuthenticationForwardingSFSFTestCase.java, AuthenticationForwardingSLSFTestCase.java, CdiFailoverTestCase
This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
> Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
> ---------------------------------------------------------------------------------------
>
> Key: WFLY-14077
> URL: https://issues.redhat.com/browse/WFLY-14077
> Project: WildFly
> Issue Type: Bug
> Components: Security Manager
> Affects Versions: 23.0.0.Beta1
> Reporter: Bartosz Spyrko-Smietanko
> Assignee: Richard Opalka
> Priority: Major
> Attachments: stacktrace.log
>
>
> Some tests hang indefinitely of fail when using security manager and Java 11, for example {{AuthenticationForwardingSFSFTestCase}}, {{AuthenticationForwardingSLSFTestCase}}, {{CdiFailoverTestCase}}, because of missing {{RuntimePermission}} permission {{accessClassInPackage.sun.misc}} when initializating {{jboss-marshalling}}.
> This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (AG-154) Connection leak when DB connection closed during transaction rollback
by Wojciech Kopciewicz (Jira)
[ https://issues.redhat.com/browse/AG-154?page=com.atlassian.jira.plugin.sy... ]
Wojciech Kopciewicz commented on AG-154:
----------------------------------------
[~lbarreiro] yes, the logs suggest that issue happens when the transaction is being rolled back.
We tried max-lifetime but it changed nothing.
> Connection leak when DB connection closed during transaction rollback
> ---------------------------------------------------------------------
>
> Key: AG-154
> URL: https://issues.redhat.com/browse/AG-154
> Project: Agroal
> Issue Type: Bug
> Components: narayana, pool
> Affects Versions: 1.9
> Reporter: Wojciech Kopciewicz
> Assignee: Luis Barreiro
> Priority: Critical
>
> We are using Quarkus 1.9.2 with Hibernate and Agroal to access PostgreSQL DB.
> It looks like Agroal is leaking connections when connection is closed (somewhere) on the server side during transaction rollback.
> The following log was observed:
> Error trying to transactionRollback local transaction: This connection has been closed.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFLY-14423) Force restart when legacy security initialize-jacc setting is changed
by Bartosz Spyrko-Smietanko (Jira)
Bartosz Spyrko-Smietanko created WFLY-14423:
-----------------------------------------------
Summary: Force restart when legacy security initialize-jacc setting is changed
Key: WFLY-14423
URL: https://issues.redhat.com/browse/WFLY-14423
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Bartosz Spyrko-Smietanko
Assignee: Bartosz Spyrko-Smietanko
Performing:
/subsystem=security:write-attribute(name=initialize-jacc, value=false)
/subsystem=elytron/policy=jacc:add(jacc-policy={})
reload
Generates:
-------------------------------------
Operation: /subsystem=elytron/policy=jacc:add(jacc-policy={})
Failure: {"WFLYCTL0080: Failed services" => {"org.wildfly.security.policy" => "java
.lang.RuntimeException: WFLYELY01024: Failed to register policy context handlers
Caused by: java.lang.RuntimeException: WFLYELY01024: Failed to register policy
context handlers
Caused by: java.lang.IllegalStateException: WFLYELY01069: Invalid javax.securit
y.jacc.PolicyConfigurationFactory loaded, expected org.wildfly.security.authz.jacc.
ElytronPolicyConfigurationFactory but received org.jboss.security.jacc.JBossPolicyC
onfigurationFactory."}}
-------------------------------------
This is WFLY part of https://issues.redhat.com/browse/WFCORE-5272. The legacy security system should set server state to restart-required.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFLY-14422) Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
by Ondrej Kotek (Jira)
Ondrej Kotek created WFLY-14422:
-----------------------------------
Summary: Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
Key: WFLY-14422
URL: https://issues.redhat.com/browse/WFLY-14422
Project: WildFly
Issue Type: Task
Components: Security Manager
Reporter: Ondrej Kotek
Assignee: Richard Opalka
Some tests hang indefinitely when using security manager and JDK 11 : e.g. AuthenticationForwardingSFSFTestCase.java, AuthenticationForwardingSLSFTestCase.java, CdiFailoverTestCase
This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFLY-14077) Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
by Ondrej Kotek (Jira)
[ https://issues.redhat.com/browse/WFLY-14077?page=com.atlassian.jira.plugi... ]
Ondrej Kotek updated WFLY-14077:
--------------------------------
Description:
Some tests hang indefinitely when using security manager and JDK 11 : e.g. AuthenticationForwardingSFSFTestCase.java, AuthenticationForwardingSLSFTestCase.java, CdiFailoverTestCase
This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
was:
Some tests hang indefinitely when using security manager and JDK 11 : e.g. AuthenticationForwardingSFSFTestCase.java , AuthenticationForwardingSLSFTestCase.java
This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
> Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
> ---------------------------------------------------------------------------------------
>
> Key: WFLY-14077
> URL: https://issues.redhat.com/browse/WFLY-14077
> Project: WildFly
> Issue Type: Task
> Components: Security Manager
> Reporter: Bartosz Spyrko-Smietanko
> Assignee: Richard Opalka
> Priority: Major
> Attachments: stacktrace.log
>
>
> Some tests hang indefinitely when using security manager and JDK 11 : e.g. AuthenticationForwardingSFSFTestCase.java, AuthenticationForwardingSLSFTestCase.java, CdiFailoverTestCase
> This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFLY-14077) Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
by Ondrej Kotek (Jira)
[ https://issues.redhat.com/browse/WFLY-14077?page=com.atlassian.jira.plugi... ]
Ondrej Kotek updated WFLY-14077:
--------------------------------
Summary: Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11 (was: Some tests hang indefinitely when using security manager on JDK 11.0.8 & JDK 11.0.9)
> Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11
> ---------------------------------------------------------------------------------------
>
> Key: WFLY-14077
> URL: https://issues.redhat.com/browse/WFLY-14077
> Project: WildFly
> Issue Type: Task
> Components: Security Manager
> Reporter: Bartosz Spyrko-Smietanko
> Assignee: Richard Opalka
> Priority: Major
> Attachments: stacktrace.log
>
>
> Some tests hang indefinitely when using security manager and JDK 11 : e.g. AuthenticationForwardingSFSFTestCase.java , AuthenticationForwardingSLSFTestCase.java
> This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months