[JBoss JIRA] (WFCORE-3930) Possible file permission issues in .properties files
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3930?page=com.atlassian.jira.plugi... ]
Brian Stansberry reassigned WFCORE-3930:
----------------------------------------
Assignee: Alexey Loubyansky
> Possible file permission issues in .properties files
> ----------------------------------------------------
>
> Key: WFCORE-3930
> URL: https://issues.jboss.org/browse/WFCORE-3930
> Project: WildFly Core
> Issue Type: Bug
> Components: Build System
> Reporter: Martin Švehla
> Assignee: Alexey Loubyansky
>
> With new galleon build system we discovered differences in .properties files permissions. There's probably not one "true" setting, but the permissions should be reviewed to be consistent across versions (that's why I'm setting priority major, unless we decide it's problem for users).
> Possible issue here is mgmt-groups.properties and application-roles.properties being readable by world.
> Here are the differences between the last couple of major builds. Most important differences (imho) are:
> * *.properties under /bin used to be 664, now they are 644
> * /appclient/configuration/logging.properties and /domain/configuration/logging.properties used to be 664, now they're 600 in legacy build, 644 in galleon build
> * mgmt-groups.properties and application-roles.properties are 644 in galleon build (i.e. readble by world)
> {code}
> $ find . -type f -name '*.properties' -exec stat --format '%A %a %n' {} \;
> -rw-rw-r-- 664 ./jboss-eap-6.4.20/bin/add-user.properties
> -rw-rw-r-- 664 ./jboss-eap-6.4.20/bin/jboss-cli-logging.properties
> -rw-rw-r-- 664 ./jboss-eap-6.4.20/appclient/configuration/logging.properties
> -rw------- 600 ./jboss-eap-6.4.20/standalone/configuration/mgmt-users.properties
> -rw------- 600 ./jboss-eap-6.4.20/standalone/configuration/mgmt-groups.properties
> -rw------- 600 ./jboss-eap-6.4.20/standalone/configuration/application-roles.properties
> -rw-rw-r-- 664 ./jboss-eap-6.4.20/standalone/configuration/logging.properties
> -rw------- 600 ./jboss-eap-6.4.20/standalone/configuration/application-users.properties
> -rw------- 600 ./jboss-eap-6.4.20/domain/configuration/mgmt-users.properties
> -rw------- 600 ./jboss-eap-6.4.20/domain/configuration/mgmt-groups.properties
> -rw------- 600 ./jboss-eap-6.4.20/domain/configuration/application-roles.properties
> -rw-rw-r-- 664 ./jboss-eap-6.4.20/domain/configuration/logging.properties
> -rw------- 600 ./jboss-eap-6.4.20/domain/configuration/application-users.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/bin/add-user.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/bin/jboss-cli-logging.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/migration/configuration/environment.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/migration/configuration/logging.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/appclient/configuration/logging.properties
> -rw------- 600 ./jboss-eap-7.1.2/standalone/configuration/mgmt-users.properties
> -rw------- 600 ./jboss-eap-7.1.2/standalone/configuration/mgmt-groups.properties
> -rw------- 600 ./jboss-eap-7.1.2/standalone/configuration/application-roles.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/standalone/configuration/logging.properties
> -rw------- 600 ./jboss-eap-7.1.2/standalone/configuration/application-users.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/domain/configuration/default-server-logging.properties
> -rw------- 600 ./jboss-eap-7.1.2/domain/configuration/mgmt-users.properties
> -rw------- 600 ./jboss-eap-7.1.2/domain/configuration/mgmt-groups.properties
> -rw------- 600 ./jboss-eap-7.1.2/domain/configuration/application-roles.properties
> -rw-rw-r-- 664 ./jboss-eap-7.1.2/domain/configuration/logging.properties
> -rw------- 600 ./jboss-eap-7.1.2/domain/configuration/application-users.properties
> -rw-rw-r-- 664 ./jboss-eap-7.2.0.CD12/bin/add-user.properties
> -rw-rw-r-- 664 ./jboss-eap-7.2.0.CD12/bin/jboss-cli-logging.properties
> -rw-rw-r-- 664 ./jboss-eap-7.2.0.CD12/appclient/configuration/logging.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/standalone/configuration/mgmt-users.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/standalone/configuration/mgmt-groups.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/standalone/configuration/application-roles.properties
> -rw-rw-r-- 664 ./jboss-eap-7.2.0.CD12/standalone/configuration/logging.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/standalone/configuration/application-users.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/domain/configuration/mgmt-users.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/domain/configuration/mgmt-groups.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/domain/configuration/application-roles.properties
> -rw-rw-r-- 664 ./jboss-eap-7.2.0.CD12/domain/configuration/logging.properties
> -rw------- 600 ./jboss-eap-7.2.0.CD12/domain/configuration/application-users.properties
> -rw-r--r-- 644 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/bin/add-user.properties
> -rw-r--r-- 644 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/bin/jboss-cli-logging.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/appclient/configuration/logging.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/standalone/configuration/mgmt-users.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/standalone/configuration/mgmt-groups.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/standalone/configuration/application-roles.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/standalone/configuration/logging.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/standalone/configuration/application-users.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/domain/configuration/default-server-logging.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/domain/configuration/mgmt-users.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/domain/configuration/mgmt-groups.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/domain/configuration/application-roles.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/domain/configuration/logging.properties
> -rw------- 600 ./wildfly-legacy-build-14.0.0.Beta1-SNAPSHOT/domain/configuration/application-users.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/bin/add-user.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/bin/jboss-cli-logging.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/appclient/configuration/logging.properties
> -rw------- 600 ./wildfly-14.0.0.Beta1-SNAPSHOT/standalone/configuration/mgmt-users.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/standalone/configuration/mgmt-groups.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/standalone/configuration/application-roles.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/standalone/configuration/logging.properties
> -rw------- 600 ./wildfly-14.0.0.Beta1-SNAPSHOT/standalone/configuration/application-users.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/domain/configuration/default-server-logging.properties
> -rw------- 600 ./wildfly-14.0.0.Beta1-SNAPSHOT/domain/configuration/mgmt-users.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/domain/configuration/mgmt-groups.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/domain/configuration/application-roles.properties
> -rw-r--r-- 644 ./wildfly-14.0.0.Beta1-SNAPSHOT/domain/configuration/logging.properties
> -rw------- 600 ./wildfly-14.0.0.Beta1-SNAPSHOT/domain/configuration/application-users.propertie
> {code}
> Note: WF build is current master (commit 7027657)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (WFLY-10520) Add Hibernate ORM 5.3 compatibility transformer
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-10520?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-10520:
-------------------------------------
Transformer is working at all for wildfly/testsuite/compat testing, you need to start WildFly in EE 8 mode and then just do "mvn clean install" to run tests.
The server.log is mostly here (zero NoSuchMethodError errors) [https://paste.fedoraproject.org/paste/Vf~eqQXDLCt8Q76JFbfwYA] and test output is here [https://paste.fedoraproject.org/paste/vcDeCUtfsrgpcBoCt904lA].
Good progress, thanks for the tests Gail and thanks for the transformer help David!
> Add Hibernate ORM 5.3 compatibility transformer
> -----------------------------------------------
>
> Key: WFLY-10520
> URL: https://issues.jboss.org/browse/WFLY-10520
> Project: WildFly
> Issue Type: Task
> Components: JPA / Hibernate
> Reporter: Gail Badner
> Assignee: Scott Marlow
> Fix For: 14.0.0.CR1
>
>
> A compatibility transformer needs to be added to address Hibernate ORM 5.3 API methods that are no longer compatible with 5.1.
> From https://docs.google.com/document/d/1cAVBdeQXQfpTwH0f_GKSahh_gRd7bKI6kII-w...
> # Change call to org.hibernate.BasicQueryContract.getFlushMode() to instead call BasicQueryContract.getHibernateFlushMode().
> # Change call to org.hibernate.Session.getFlushMode, to instead call Session.getHibernateFlushMode()
> # Modify calls to org.hibernate.Query.getFirstResult() to convert returned int, to Integer result.
> # Modify calls to org.hibernate.Query.getMaxResults() to convert returned int, to Integer result, if returned int value is <= 0, null should be used, if Integer.MAX_VALUE is, the transformer should replace with null reference.
> # App References to Enum org.hibernate.FlushMode.NEVER (0) should be transformed to reference FlushMode.MANUAL (0) instead.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (DROOLS-2638) Enumerations drop quotes when double quotes are used
by Toni Rikkola (JIRA)
Toni Rikkola created DROOLS-2638:
------------------------------------
Summary: Enumerations drop quotes when double quotes are used
Key: DROOLS-2638
URL: https://issues.jboss.org/browse/DROOLS-2638
Project: Drools
Issue Type: Bug
Components: Enumerations Editor
Reporter: Toni Rikkola
Assignee: Michael Anstis
https://github.com/kiegroup/kie-wb-common/pull/1890
@Rikkola The issue reported in the JIRA seem to be resolved; however I noticed (given an enumeration defined as Person.name: ['a', '"b, c"', 'd']) that the generated DRL is Person( name == "b, c" ) whereas should it be Person( name == "\"b, c\"" )? Closing and re-opening the decision table keeps the correct values selected in the table. I also tried defining the BRL fragment to use a literal value for the enumeration and this gave the same results (DRL possibly incorrect, but re-opening and editing the column was OK).
I also checked Guided Rules and the DRL is equally wrong however re-opening the rule also led to the wrong enumeration value being selected in the editor (it selected the first option by default) and the DRL showing the same (i.e. I set it to "b, c" and re-opening the file selected a).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ELY-1493) java.util.concurrent.TimeoutException on slow machines
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/ELY-1493?page=com.atlassian.jira.plugin.s... ]
Jan Kalina commented on ELY-1493:
---------------------------------
Second PR: prolonged timeouts yet - I have not found any locking issue which could cause longer test run :/
> java.util.concurrent.TimeoutException on slow machines
> ------------------------------------------------------
>
> Key: ELY-1493
> URL: https://issues.jboss.org/browse/ELY-1493
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Testsuite
> Affects Versions: 1.2.0.Beta11
> Reporter: Martin Choma
> Assignee: Jan Kalina
> Fix For: 1.2.0.Beta12
>
>
> On solaris 10 (slow machine) there occured timeout for task task2Future.get(1, TimeUnit.SECONDS) on line 492.
> Prolong timeout will probably reduce occurences.
> {noformat}
> java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
> at org.wildfly.security.credential.store.KeystorePasswordStoreTest.testAccessFromMultipleCredentialStores(KeystorePasswordStoreTest.java:459)
> at org.wildfly.security.credential.store.KeystorePasswordStoreTest.testParallelAccessToCS(KeystorePasswordStoreTest.java:439)
> Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
> at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
> at org.wildfly.security.credential.store.KeystorePasswordStoreTest.testAccessFromMultipleCredentialStores(KeystorePasswordStoreTest.java:457)
> ... 1 more
> Caused by: java.util.concurrent.TimeoutException
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
> at org.wildfly.security.credential.store.KeystorePasswordStoreTest$1.call(KeystorePasswordStoreTest.java:492)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
> at java.base/java.lang.Thread.run(Thread.java:844)
> {noformat}
> [1] https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/view/EAP7/view/EAP7-...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month