[JBoss JIRA] (DROOLS-5345) Class loading issue in Eclipse Equinox OSGi container
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-5345?page=com.atlassian.jira.plug... ]
Mario Fusco updated DROOLS-5345:
--------------------------------
Sprint: 2020 Week 22-24 (from May 25) (was: 2020 Week 19-21 (from May 4))
> Class loading issue in Eclipse Equinox OSGi container
> -----------------------------------------------------
>
> Key: DROOLS-5345
> URL: https://issues.redhat.com/browse/DROOLS-5345
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.37.0.Final
> Reporter: Richard Schurig
> Assignee: Mario Fusco
> Priority: Major
>
> When using Drools inside an *Equinox* OSGi container (Oxygen, org.eclipse.osgi-3.12.0.v20170512-1932.jar) the logic inside {{org.drools.relective.classloader.ProjectClassLoader#isOsgiClassLoader}} does not work properly, i.e. the OSGi runtime is not detected. This leads to "The Eclipse JDT Core jar is not in the classpath" because the shaded and packed compiler classes cannot be found.
> Cause of the problem seems to be the fact that the {{EquinoxClassLoader}} does not implement {{BundleReference}} directly *but so does its superclass*. I tried and patched {{ProjectClassLoader}} with the following snippet and this seems to work:
> {code:java}
> private static boolean isOsgiClassLoader(final ClassLoader cl) {
> Class<?> clc = cl.getClass();
> while (clc != null && !clc.equals(ClassLoader.class)) {
> if (Stream.of(clc.getInterfaces()).map(Class::getSimpleName).anyMatch(name -> name.equals("BundleReference"))) {
> return true;
> }
> clc = clc.getSuperclass();
> }
> return false;
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (DROOLS-5364) Test scenario reports data type change during creation
by Daniele Zonca (Jira)
[ https://issues.redhat.com/browse/DROOLS-5364?page=com.atlassian.jira.plug... ]
Daniele Zonca reassigned DROOLS-5364:
-------------------------------------
Assignee: Yeser Amer (was: Daniele Zonca)
> Test scenario reports data type change during creation
> ------------------------------------------------------
>
> Key: DROOLS-5364
> URL: https://issues.redhat.com/browse/DROOLS-5364
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Affects Versions: 7.38.0.Final
> Reporter: Jozef Marko
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2020-05-25 08-04-44.png, sample_abcd.zip
>
>
> There is warning about data type change even when a test scenario is just created. The spotted behavior would be expected if user is reopening a a scenario but not creating a new one.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (DROOLS-5364) Test scenario reports data type change during creation
by Jozef Marko (Jira)
Jozef Marko created DROOLS-5364:
-----------------------------------
Summary: Test scenario reports data type change during creation
Key: DROOLS-5364
URL: https://issues.redhat.com/browse/DROOLS-5364
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Affects Versions: 7.38.0.Final
Reporter: Jozef Marko
Assignee: Daniele Zonca
Attachments: Screenshot from 2020-05-25 08-04-44.png, sample_abcd.zip
There is warning about data type change even when a test scenario is just created. The spotted behavior would be expected if user is reopening a a scenario but not creating a new one.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (WFLY-13510) [QE](7.3.z) [WFLY-12991] SunX509 TrustManagerFactory not available from Elytron tests on IBM jdk
by Peter Mackay (Jira)
Peter Mackay created WFLY-13510:
-----------------------------------
Summary: [QE](7.3.z) [WFLY-12991] SunX509 TrustManagerFactory not available from Elytron tests on IBM jdk
Key: WFLY-13510
URL: https://issues.redhat.com/browse/WFLY-13510
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: Peter Mackay
Assignee: Petr Kremensky
Fix For: 19.0.0.Beta2, 19.0.0.Final
On IBM JDK the following exception is thrown
{noformat}
Caused by: java.security.NoSuchAlgorithmException: SunX509 TrustManagerFactory not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:171)
at javax.net.ssl.TrustManagerFactory.getInstance(TrustManagerFactory.java:20)
at org.wildfly.extension.elytron.SSLDefinitions$2.createTrustManagerFactory(SSLDefinitions.java:869)
... 11 more
{noformat}
from
{noformat}
org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testSuccessfulAuthAndPermissionCheck
org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedAuthWrongUser
org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedAuthEmptyPassword
org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedAuthWrongPassword
org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedPermissionCheck
org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testForbidden
org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testUnprotectedAccess
org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testUntrustedCertificate
org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testProtectedAccess
org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslNeedClientAuthTestCase.testSendingTrustedClientCertificate
org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslTestCase.testSendingNoClientCertificate
org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslTestCase.testSendingNonTrustedClientCertificate
org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslTestCase.testSendingTrustedClientCertificate
{noformat}
These need to use IBMX509 instead.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month