[JBoss JIRA] (WFLY-11504) Some hibernate tests fail with security on IBM Java 8: HHH000142
by Ondrej Kotek (Jira)
[ https://issues.jboss.org/browse/WFLY-11504?page=com.atlassian.jira.plugin... ]
Ondrej Kotek commented on WFLY-11504:
-------------------------------------
I have attached a log for {{EntityTestCase}}.
I have found just [HHH-11218|https://hibernate.atlassian.net/browse/HHH-11218].
> Some hibernate tests fail with security on IBM Java 8: HHH000142
> ----------------------------------------------------------------
>
> Key: WFLY-11504
> URL: https://issues.jboss.org/browse/WFLY-11504
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate, Test Suite
> Affects Versions: 16.0.0.Beta1
> Environment: IBM Java 8
> Reporter: Ondrej Kotek
> Assignee: Scott Marlow
> Priority: Major
> Attachments: org.jboss.as.test.integration.jpa.hibernate.entitytest.EntityTestCase-output.txt
>
>
> Seven hibernate tests fail with security on IBM Java 8, for example:
> {noformat}
> org.hibernate.HibernateException: HHH000142: Bytecode enhancement failed: org.jboss.as.test.integration.jpa.hibernate.Employee
> {noformat}
> Affected test cases:
> * {{org.jboss.as.test.integration.jpa.hibernate.entitytest.EntityTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.AuditJoinTableoverOnetoManyJoinColumnTest}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.basicenverstest.BasicEnversTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.basicselectiveenverstest.BasicSelectiveEnversTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.implementvalidityauditstrategytest.ImplementValidityAuditStrategyTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.validityauditstrategyoninheritancetest.ValidityAuditStrategyonInheritanceTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.sessionfactorytest.SessionFactoryTestCase}}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11504) Some hibernate tests fail with security on IBM Java 8: HHH000142
by Ondrej Kotek (Jira)
[ https://issues.jboss.org/browse/WFLY-11504?page=com.atlassian.jira.plugin... ]
Ondrej Kotek updated WFLY-11504:
--------------------------------
Attachment: org.jboss.as.test.integration.jpa.hibernate.entitytest.EntityTestCase-output.txt
> Some hibernate tests fail with security on IBM Java 8: HHH000142
> ----------------------------------------------------------------
>
> Key: WFLY-11504
> URL: https://issues.jboss.org/browse/WFLY-11504
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate, Test Suite
> Affects Versions: 16.0.0.Beta1
> Environment: IBM Java 8
> Reporter: Ondrej Kotek
> Assignee: Scott Marlow
> Priority: Major
> Attachments: org.jboss.as.test.integration.jpa.hibernate.entitytest.EntityTestCase-output.txt
>
>
> Seven hibernate tests fail with security on IBM Java 8, for example:
> {noformat}
> org.hibernate.HibernateException: HHH000142: Bytecode enhancement failed: org.jboss.as.test.integration.jpa.hibernate.Employee
> {noformat}
> Affected test cases:
> * {{org.jboss.as.test.integration.jpa.hibernate.entitytest.EntityTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.AuditJoinTableoverOnetoManyJoinColumnTest}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.basicenverstest.BasicEnversTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.basicselectiveenverstest.BasicSelectiveEnversTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.implementvalidityauditstrategytest.ImplementValidityAuditStrategyTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.envers.validityauditstrategyoninheritancetest.ValidityAuditStrategyonInheritanceTestCase}}
> * {{org.jboss.as.test.integration.jpa.hibernate.sessionfactorytest.SessionFactoryTestCase}}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (DROOLS-3433) KieSession OOM
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-3433?page=com.atlassian.jira.plugi... ]
Mario Fusco resolved DROOLS-3433.
---------------------------------
Resolution: Cannot Reproduce
Sorry but your description of the problem is absolutely not workable. Please send a complete reproduce and I will give a look. Thanks
> KieSession OOM
> --------------
>
> Key: DROOLS-3433
> URL: https://issues.jboss.org/browse/DROOLS-3433
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 7.5.0.Final
> Environment: Java EE 8
> Reporter: xy z
> Assignee: Mario Fusco
> Priority: Major
>
> hello,
> 1 start up application: initialize all sessions(KieSession) by KieContainer
> 2 running:
> FactHandle checkout =session.insert(checkoutReq);
> FactHandle toPay =session.insert(toPayReq);
> session.getAgenda().getAgendaGroup('myRuleName').setFocus();
> session.fireAllRules();
> session.delete(checkout );
> session.delete(toPay );
> then session cant not delete fact,it will be oom
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFCORE-4253) SNICombinedWithALPNTestCase fails with security manager on Java 11
by Ondrej Kotek (Jira)
[ https://issues.jboss.org/browse/WFCORE-4253?page=com.atlassian.jira.plugi... ]
Ondrej Kotek updated WFCORE-4253:
---------------------------------
Description:
{{org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase}} fails with security manager on Java 11 due to missing permissions:
{noformat}
[ERROR] Failure when constructing test Time elapsed: 0.029 s <<< FAILURE!
java.lang.AssertionError:
Failed to deploy test.jar: 10 assets: {"WFLYCTL0080: Failed services" => {"jboss.undertow-test-server" => "Failed to start service
Caused by: java.lang.ExceptionInInitializerError
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.io.FilePermission\" \"/home/okotek/test/asts-core-intermit/testsuite/standalone/target/wildfly-core/modules/system/layers/base/io/undertow/core/main/undertow-core-2.0.15.Final.jar\" \"read\")\" in code source \"(vfs:/content/test.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.test.jar\" from Service Module Loader\")"}}
at org.junit.Assert.fail(Assert.java:88)
at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.deploy(SNICombinedWithALPNTestCase.java:414)
at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase$Setup.setup(SNICombinedWithALPNTestCase.java:188)
at org.wildfly.core.testrunner.WildflyTestRunner.runSetupTasks(WildflyTestRunner.java:121)
at org.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:107)
at org.junit.runners.Suite.runChild(Suite.java:128)
...
{noformat}
-A customer should not be asked to add such permission for reading a module file, it brings bad UX and it could bring security flaws.-
was:
{{org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase}} fails with security manager on Java 11 due to missing permissions:
{noformat}
[ERROR] Failure when constructing test Time elapsed: 0.029 s <<< FAILURE!
java.lang.AssertionError:
Failed to deploy test.jar: 10 assets: {"WFLYCTL0080: Failed services" => {"jboss.undertow-test-server" => "Failed to start service
Caused by: java.lang.ExceptionInInitializerError
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.io.FilePermission\" \"/home/okotek/test/asts-core-intermit/testsuite/standalone/target/wildfly-core/modules/system/layers/base/io/undertow/core/main/undertow-core-2.0.15.Final.jar\" \"read\")\" in code source \"(vfs:/content/test.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.test.jar\" from Service Module Loader\")"}}
at org.junit.Assert.fail(Assert.java:88)
at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.deploy(SNICombinedWithALPNTestCase.java:414)
at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase$Setup.setup(SNICombinedWithALPNTestCase.java:188)
at org.wildfly.core.testrunner.WildflyTestRunner.runSetupTasks(WildflyTestRunner.java:121)
at org.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:107)
at org.junit.runners.Suite.runChild(Suite.java:128)
...
{noformat}
A customer should not be asked to add such permission for reading a module file, it brings bad UX and it could bring security flaws.
> SNICombinedWithALPNTestCase fails with security manager on Java 11
> ------------------------------------------------------------------
>
> Key: WFCORE-4253
> URL: https://issues.jboss.org/browse/WFCORE-4253
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 8.0.0.Beta1
> Environment: Java 11
> Reporter: Ondrej Kotek
> Assignee: Darran Lofthouse
> Priority: Major
>
> {{org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase}} fails with security manager on Java 11 due to missing permissions:
> {noformat}
> [ERROR] Failure when constructing test Time elapsed: 0.029 s <<< FAILURE!
> java.lang.AssertionError:
> Failed to deploy test.jar: 10 assets: {"WFLYCTL0080: Failed services" => {"jboss.undertow-test-server" => "Failed to start service
> Caused by: java.lang.ExceptionInInitializerError
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.io.FilePermission\" \"/home/okotek/test/asts-core-intermit/testsuite/standalone/target/wildfly-core/modules/system/layers/base/io/undertow/core/main/undertow-core-2.0.15.Final.jar\" \"read\")\" in code source \"(vfs:/content/test.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.test.jar\" from Service Module Loader\")"}}
> at org.junit.Assert.fail(Assert.java:88)
> at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.deploy(SNICombinedWithALPNTestCase.java:414)
> at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase$Setup.setup(SNICombinedWithALPNTestCase.java:188)
> at org.wildfly.core.testrunner.WildflyTestRunner.runSetupTasks(WildflyTestRunner.java:121)
> at org.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:107)
> at org.junit.runners.Suite.runChild(Suite.java:128)
> ...
> {noformat}
> -A customer should not be asked to add such permission for reading a module file, it brings bad UX and it could bring security flaws.-
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFCORE-4253) SNICombinedWithALPNTestCase fails with security manager on Java 11
by Ondrej Kotek (Jira)
[ https://issues.jboss.org/browse/WFCORE-4253?page=com.atlassian.jira.plugi... ]
Ondrej Kotek updated WFCORE-4253:
---------------------------------
Priority: Major (was: Critical)
> SNICombinedWithALPNTestCase fails with security manager on Java 11
> ------------------------------------------------------------------
>
> Key: WFCORE-4253
> URL: https://issues.jboss.org/browse/WFCORE-4253
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 8.0.0.Beta1
> Environment: Java 11
> Reporter: Ondrej Kotek
> Assignee: Darran Lofthouse
> Priority: Major
>
> {{org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase}} fails with security manager on Java 11 due to missing permissions:
> {noformat}
> [ERROR] Failure when constructing test Time elapsed: 0.029 s <<< FAILURE!
> java.lang.AssertionError:
> Failed to deploy test.jar: 10 assets: {"WFLYCTL0080: Failed services" => {"jboss.undertow-test-server" => "Failed to start service
> Caused by: java.lang.ExceptionInInitializerError
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.io.FilePermission\" \"/home/okotek/test/asts-core-intermit/testsuite/standalone/target/wildfly-core/modules/system/layers/base/io/undertow/core/main/undertow-core-2.0.15.Final.jar\" \"read\")\" in code source \"(vfs:/content/test.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.test.jar\" from Service Module Loader\")"}}
> at org.junit.Assert.fail(Assert.java:88)
> at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.deploy(SNICombinedWithALPNTestCase.java:414)
> at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase$Setup.setup(SNICombinedWithALPNTestCase.java:188)
> at org.wildfly.core.testrunner.WildflyTestRunner.runSetupTasks(WildflyTestRunner.java:121)
> at org.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:107)
> at org.junit.runners.Suite.runChild(Suite.java:128)
> ...
> {noformat}
> A customer should not be asked to add such permission for reading a module file, it brings bad UX and it could bring security flaws.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (DROOLS-3433) KieSession OOM
by xy z (Jira)
xy z created DROOLS-3433:
----------------------------
Summary: KieSession OOM
Key: DROOLS-3433
URL: https://issues.jboss.org/browse/DROOLS-3433
Project: Drools
Issue Type: Feature Request
Components: core engine
Affects Versions: 7.5.0.Final
Environment: Java EE 8
Reporter: xy z
Assignee: Mario Fusco
hello,
1 start up application: initialize all sessions(KieSession) by KieContainer
2 running:
FactHandle checkout =session.insert(checkoutReq);
FactHandle toPay =session.insert(toPayReq);
session.getAgenda().getAgendaGroup('myRuleName').setFocus();
session.fireAllRules();
session.delete(checkout );
session.delete(toPay );
then session cant not delete fact,it will be oom
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (DROOLS-3432) While using the same template key with difference objects/attributes causes an exception when switching to the Data tab in a Guided Rule Template
by Toni Rikkola (Jira)
[ https://issues.jboss.org/browse/DROOLS-3432?page=com.atlassian.jira.plugi... ]
Toni Rikkola moved RHPAM-1783 to DROOLS-3432:
---------------------------------------------
Project: Drools (was: Red Hat Process Automation Manager)
Key: DROOLS-3432 (was: RHPAM-1783)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Docs QE Status: NEW
Component/s: Guided Template Editor
(was: Business Central)
Affects Version/s: (was: 7.0.0.GA)
QE Status: NEW
> While using the same template key with difference objects/attributes causes an exception when switching to the Data tab in a Guided Rule Template
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-3432
> URL: https://issues.jboss.org/browse/DROOLS-3432
> Project: Drools
> Issue Type: Bug
> Components: Guided Template Editor
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
>
> When we use the same template in key for different object fields(different fields from the same fields from different objects), we get an exception after selecting the data tab, attaching the screen shot.
> There is a workaround , we can give every template a unique name as a work around, but this slow down because we need to create different key names with the same information in the data table.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months