[JBoss JIRA] (WFLY-9064) HibernateNativeAPINaturalIdTestCase fails with security manager
by Romain Pelisse (JIRA)
[ https://issues.jboss.org/browse/WFLY-9064?page=com.atlassian.jira.plugin.... ]
Romain Pelisse reassigned WFLY-9064:
------------------------------------
Assignee: Romain Pelisse (was: Gail Badner)
> HibernateNativeAPINaturalIdTestCase fails with security manager
> ---------------------------------------------------------------
>
> Key: WFLY-9064
> URL: https://issues.jboss.org/browse/WFLY-9064
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate, Test Suite
> Affects Versions: 11.0.0.Beta1
> Reporter: Ondrej Kotek
> Assignee: Romain Pelisse
> Priority: Critical
> Labels: security-manager
>
> {{HibernateNativeAPINaturalIdTestCase}} fails with security manager because of missing permission {{"("java.lang.RuntimePermission" "createClassLoader")"}}:
> {noformat}
> javax.ejb.EJBException: java.lang.RuntimeException: Could not setup config
> at org.jboss.as.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:83)
> at org.jboss.as.ejb3.tx.StatefulBMTInterceptor.handleInvocation(StatefulBMTInterceptor.java:96)
> ...
> Caused by: java.lang.RuntimeException: Could not setup config
> at org.jboss.as.test.integration.hibernate.naturalid.SFSBHibernateSFNaturalId.setupConfig(SFSBHibernateSFNaturalId.java:69)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "createClassLoader")" in code source "(vfs:/content/hibernate4naturalid_test.ear/beans.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.hibernate4naturalid_test.ear.beans.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:611)
> at org.wildfly.security.manager.WildFlySecurityManager.checkCreateClassLoader(WildFlySecurityManager.java:308)
> ...
> {noformat}
> After adding the permission, there is another missing permission {{"("java.io.FilePermission" "/home/okotek/git/wildfly/dist/target/wildfly-11.0.0.Beta1-SNAPSHOT/modules/system/layers/base/org/hibernate/main/hibernate-envers-5.1.8.Final.jar" "read")"}}. A privileged section is missing probably.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (ELY-1435) Elytron BCrypt Mapper Not Working with jBCrypt
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/ELY-1435?page=com.atlassian.jira.plugin.s... ]
David Lloyd resolved ELY-1435.
------------------------------
Resolution: Rejected
Since this is not actually a bug, but more of a misunderstanding, I'm going to reject this issue. However it is reasonable to open a new issue to request one or more enhancements in this area, if you have any ideas for ways that we could improve things.
> Elytron BCrypt Mapper Not Working with jBCrypt
> ----------------------------------------------
>
> Key: ELY-1435
> URL: https://issues.jboss.org/browse/ELY-1435
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Passwords
> Affects Versions: 1.0.0.Final
> Environment: Wildfly 11.0.0.Final
> Windows Server 2008
> JDK 9.0.1
> Reporter: Paul Carroll
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (WFLY-9533) Add a build property which passes extra JVM arguments in to the testsuite's server process
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/WFLY-9533?page=com.atlassian.jira.plugin.... ]
David Lloyd reassigned WFLY-9533:
---------------------------------
Assignee: David Lloyd
> Add a build property which passes extra JVM arguments in to the testsuite's server process
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-9533
> URL: https://issues.jboss.org/browse/WFLY-9533
> Project: WildFly
> Issue Type: Enhancement
> Components: Build System, Test Suite
> Reporter: David Lloyd
> Assignee: David Lloyd
> Priority: Minor
>
> Right now the only way to easily pass extra arguments in to the test server JVMs (e.g. for profiling, or configuration) seems to be to use the {{server.jvm.args}} property. However using this property directly erases {{-Xmx}} and a bunch of other important things.
> There should be a property which is empty by default that gets merged into the final argument list for {{server.jvm.args}}, like {{extra.server.jvm.args}} or something.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-2116) Improve EvaluationContextImpl memory usage
by Fedor Gavrilov (JIRA)
Fedor Gavrilov created DROOLS-2116:
--------------------------------------
Summary: Improve EvaluationContextImpl memory usage
Key: DROOLS-2116
URL: https://issues.jboss.org/browse/DROOLS-2116
Project: Drools
Issue Type: Enhancement
Components: dmn engine
Reporter: Fedor Gavrilov
Assignee: Fedor Gavrilov
Priority: Minor
Currently java.util.Stack is used to represent call stack. This data structure copies arrays on each pop operation and thus fits the role worse than LinkedList and ArrayDeque offered by standard library, which both offer better performance and less GC pressure.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months