[JBoss JIRA] (WFLY-5183) VaultSystemPropertyOnServerStartTestCase ends with "Internal Server Error" with security manager
by Ondrej Kotek (JIRA)
[ https://issues.jboss.org/browse/WFLY-5183?page=com.atlassian.jira.plugin.... ]
Ondrej Kotek reassigned WFLY-5183:
----------------------------------
Assignee: Ondrej Kotek (was: Ondrej Lukas)
> VaultSystemPropertyOnServerStartTestCase ends with "Internal Server Error" with security manager
> ------------------------------------------------------------------------------------------------
>
> Key: WFLY-5183
> URL: https://issues.jboss.org/browse/WFLY-5183
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Reporter: Marek Kopecký
> Assignee: Ondrej Kotek
>
> *Description of problem:*
> VaultSystemPropertyOnServerStartTestCase ends with "Internal Server Error" with security manager
> *How reproducible:*
> Always
> *Steps to Reproduce:*
> # ./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2 -DfailIfNoTests=false -Dsecurity.manager -Dts.noSmoke -Dts.manualmode -Dtest=VaultSystemPropertyOnServerStartTestCase
> *Actual results:*
> {noformat}
> java.util.concurrent.ExecutionException: java.io.IOException: HTTP Status 500 Response: <html><head><title>Error</title></head><body>Internal Server Error</body></html>
> java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: HTTP Status 500 Response: <html><head><title>Error</title></head><body>Internal Server Error</body></html>
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> at org.jboss.as.test.integration.common.HttpRequest.execute(HttpRequest.java:51)
> at org.jboss.as.test.integration.common.HttpRequest.get(HttpRequest.java:81)
> at org.jboss.as.test.manualmode.security.VaultSystemPropertyOnServerStartTestCase.testVaultedSystemPropertyOnStart(VaultSystemPropertyOnServerStartTestCase.java:94)
> Caused by: java.io.IOException: HTTP Status 500 Response: <html><head><title>Error</title></head><body>Internal Server Error</body></html>
> at org.jboss.as.test.integration.common.HttpRequest.processResponse(HttpRequest.java:156)
> at org.jboss.as.test.integration.common.HttpRequest.access$000(HttpRequest.java:45)
> at org.jboss.as.test.integration.common.HttpRequest$1.call(HttpRequest.java:78)
> at org.jboss.as.test.integration.common.HttpRequest$1.call(HttpRequest.java:73)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (WFLY-5222) Unable to grant custom permission from a WildFly module
by Josef Cacek (JIRA)
Josef Cacek created WFLY-5222:
---------------------------------
Summary: Unable to grant custom permission from a WildFly module
Key: WFLY-5222
URL: https://issues.jboss.org/browse/WFLY-5222
Project: WildFly
Issue Type: Bug
Components: Security Manager
Reporter: Josef Cacek
Assignee: Stefan Guilhen
Priority: Blocker
When a custom permission is defined in a WildFly module (e.g. {{org.jboss.remoting3.security.RemotingPermission}}) then it's not possible to grant it to deployments.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (WFLY-5219) Datasource transformer for EAP6.2
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-5219?page=com.atlassian.jira.plugin.... ]
Kabir Khan closed WFLY-5219.
----------------------------
Resolution: Rejected
> Datasource transformer for EAP6.2
> ----------------------------------
>
> Key: WFLY-5219
> URL: https://issues.jboss.org/browse/WFLY-5219
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Affects Versions: 10.0.0.Beta2
> Reporter: Hynek Švábek
> Assignee: Stefano Maestri
> Priority: Blocker
> Fix For: 10.0.0.CR1
>
>
> Datasource transformer for EAP6.2 work with wrong model version.
> EAP 6.2 doesn't contain datasource model version 1.2, right version is 1.1 (jboss-as-datasources_1_1.xsd)
> https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/or...
> I execute this command over CLI
> DomainController - EAP7 DR8
> Slave - EAP 6.2
> {code}
> data-source add --profile=full-ha --jndi-name=java:jboss/datasources/TestDS --name=java:jboss/datasources/TestDS --driver-name=h2 --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
> {code}
> and get this output
> {code}
> Failed to execute line 'data-source add --profile=full-ha --jndi-name=java:jboss/datasources/TestDS --name=java:jboss/datasources/TestDS --driver-name=h2 --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1': org.jboss.as.cli.CommandLineException: {"host-failure-descriptions" => {"slave" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"profile\" => \"full-ha\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"java:jboss/datasources/TestDS\")
> ],
> \"operation\" => \"add\",
> \"jndi-name\" => \"java:jboss/datasources/TestDS\",
> \"driver-name\" => \"h2\",
> \"connection-url\" => \"jdbc:h2:mem:test;DB_CLOSE_DELAY=-1\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"1dc420b4-d16f-4d0b-9cc5-3709939cff7d\",
> \"execute-for-coordinator\" => true,
> \"domain-controller-lock-id\" => 131382573
> }
> } at resource [
> (\"profile\" => \"full-ha\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"java:jboss/datasources/TestDS\")
> ] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true"}}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (WFLY-5219) Datasource transformer for EAP6.2
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-5219?page=com.atlassian.jira.plugin.... ]
Kabir Khan reopened WFLY-5219:
------------------------------
> Datasource transformer for EAP6.2
> ----------------------------------
>
> Key: WFLY-5219
> URL: https://issues.jboss.org/browse/WFLY-5219
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Affects Versions: 10.0.0.Beta2
> Reporter: Hynek Švábek
> Assignee: Stefano Maestri
> Priority: Blocker
> Fix For: 10.0.0.CR1
>
>
> Datasource transformer for EAP6.2 work with wrong model version.
> EAP 6.2 doesn't contain datasource model version 1.2, right version is 1.1 (jboss-as-datasources_1_1.xsd)
> https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/or...
> I execute this command over CLI
> DomainController - EAP7 DR8
> Slave - EAP 6.2
> {code}
> data-source add --profile=full-ha --jndi-name=java:jboss/datasources/TestDS --name=java:jboss/datasources/TestDS --driver-name=h2 --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
> {code}
> and get this output
> {code}
> Failed to execute line 'data-source add --profile=full-ha --jndi-name=java:jboss/datasources/TestDS --name=java:jboss/datasources/TestDS --driver-name=h2 --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1': org.jboss.as.cli.CommandLineException: {"host-failure-descriptions" => {"slave" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"profile\" => \"full-ha\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"java:jboss/datasources/TestDS\")
> ],
> \"operation\" => \"add\",
> \"jndi-name\" => \"java:jboss/datasources/TestDS\",
> \"driver-name\" => \"h2\",
> \"connection-url\" => \"jdbc:h2:mem:test;DB_CLOSE_DELAY=-1\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"1dc420b4-d16f-4d0b-9cc5-3709939cff7d\",
> \"execute-for-coordinator\" => true,
> \"domain-controller-lock-id\" => 131382573
> }
> } at resource [
> (\"profile\" => \"full-ha\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"java:jboss/datasources/TestDS\")
> ] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true"}}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (DROOLS-897) Binding variable or condition
by Sante Stanisci (JIRA)
[ https://issues.jboss.org/browse/DROOLS-897?page=com.atlassian.jira.plugin... ]
Sante Stanisci updated DROOLS-897:
----------------------------------
Description:
In this example I have more classes that extends EntityBase (my class). In my intention, i would assign to variable $entity one of this class that is inserted in Ksession fact.
I insert fact of CtbMovrCoan class
In when statement of the rule at row 16, variable $entity is correctely,
but in then statement variable $entity becomes JtbRLavt class (first declared in then cond) and this behavior throw a ClassCastException, obviously.
Can Help me?
was:
In this example I have more classes that extends EntityBase (my class). In my intention, i would assign to variable $entity one of this class that is inserted in Ksession fact.
I insert fact of CtbMovrCoan class
In then statement of the rule at row 16, variable $entity is correctely,
but in when statement variable $entity becomes JtbRLavt class (first declared in then cond) and this behavior throw a ClassCastException, obviously.
Can Help me?
> Binding variable or condition
> -----------------------------
>
> Key: DROOLS-897
> URL: https://issues.jboss.org/browse/DROOLS-897
> Project: Drools
> Issue Type: Enhancement
> Components: core engine
> Affects Versions: 6.2.0.Final
> Environment: Windows 8
> Reporter: Sante Stanisci
> Assignee: Mario Fusco
> Labels: dynamic, instanciation, variable
> Attachments: rule.drl, workaround.drl
>
>
> In this example I have more classes that extends EntityBase (my class). In my intention, i would assign to variable $entity one of this class that is inserted in Ksession fact.
> I insert fact of CtbMovrCoan class
> In when statement of the rule at row 16, variable $entity is correctely,
> but in then statement variable $entity becomes JtbRLavt class (first declared in then cond) and this behavior throw a ClassCastException, obviously.
> Can Help me?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (DROOLS-897) Binding variable or condition
by Sante Stanisci (JIRA)
[ https://issues.jboss.org/browse/DROOLS-897?page=com.atlassian.jira.plugin... ]
Sante Stanisci updated DROOLS-897:
----------------------------------
Attachment: workaround.drl
workaround with out use modify, but use directly reflection java in then condition
> Binding variable or condition
> -----------------------------
>
> Key: DROOLS-897
> URL: https://issues.jboss.org/browse/DROOLS-897
> Project: Drools
> Issue Type: Enhancement
> Components: core engine
> Affects Versions: 6.2.0.Final
> Environment: Windows 8
> Reporter: Sante Stanisci
> Assignee: Mario Fusco
> Labels: dynamic, instanciation, variable
> Attachments: rule.drl, workaround.drl
>
>
> In this example I have more classes that extends EntityBase (my class). In my intention, i would assign to variable $entity one of this class that is inserted in Ksession fact.
> I insert fact of CtbMovrCoan class
> In then statement of the rule at row 16, variable $entity is correctely,
> but in when statement variable $entity becomes JtbRLavt class (first declared in then cond) and this behavior throw a ClassCastException, obviously.
> Can Help me?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (DROOLS-897) Binding variable or condition
by Sante Stanisci (JIRA)
Sante Stanisci created DROOLS-897:
-------------------------------------
Summary: Binding variable or condition
Key: DROOLS-897
URL: https://issues.jboss.org/browse/DROOLS-897
Project: Drools
Issue Type: Enhancement
Components: core engine
Affects Versions: 6.2.0.Final
Environment: Windows 8
Reporter: Sante Stanisci
Assignee: Mario Fusco
Attachments: rule.drl
In this example I have more classes that extends EntityBase (my class). In my intention, i would assign to variable $entity one of this class that is inserted in Ksession fact.
I insert fact of CtbMovrCoan class
In then statement of the rule at row 16, variable $entity is correctely,
but in when statement variable $entity becomes JtbRLavt class (first declared in then cond) and this behavior throw a ClassCastException, obviously.
Can Help me?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (WFCORE-925) Ability to use proxy in MavenUtil
by Marek Kopecký (JIRA)
[ https://issues.jboss.org/browse/WFCORE-925?page=com.atlassian.jira.plugin... ]
Marek Kopecký updated WFCORE-925:
---------------------------------
Description:
WildFly Core testsuite can be run on pure-IPv6 machines. Proxy could be used in that case.
But some tests use MavenUtil class for download some dependencies. And this class can not use proxy server. So these tests fail.
This MavenUtil should check "proxyHost" and "proxyPort" environment variables. If they are set, MavenUtil class should set proxy. If these variables are not set, proxy is not used. These variables are used by maven too.
was:
WildFly Core testsuite can be run on pure-IPv6 machines. Proxy could be used in that case.
But some tests use MavenUtil class for download some dependencies. And this class can not use proxy server.
This MavenUtil should check "proxyHost" and "proxyPort" environment variables. If they are set, MavenUtil class should set proxy. If these variables are not set, proxy is not used. These variables are used by maven too.
> Ability to use proxy in MavenUtil
> ---------------------------------
>
> Key: WFCORE-925
> URL: https://issues.jboss.org/browse/WFCORE-925
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: Marek Kopecký
> Assignee: Marek Kopecký
>
> WildFly Core testsuite can be run on pure-IPv6 machines. Proxy could be used in that case.
> But some tests use MavenUtil class for download some dependencies. And this class can not use proxy server. So these tests fail.
> This MavenUtil should check "proxyHost" and "proxyPort" environment variables. If they are set, MavenUtil class should set proxy. If these variables are not set, proxy is not used. These variables are used by maven too.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months