[JBoss JIRA] (WFCORE-4266) Classes for newer versions are not loaded from Multi-Release-JARs in WARs
by David Lloyd (Jira)
[ https://issues.jboss.org/browse/WFCORE-4266?page=com.atlassian.jira.plugi... ]
David Lloyd commented on WFCORE-4266:
-------------------------------------
Myabe give https://github.com/wildfly/wildfly-core/pull/3636 a try?
> Classes for newer versions are not loaded from Multi-Release-JARs in WARs
> -------------------------------------------------------------------------
>
> Key: WFCORE-4266
> URL: https://issues.jboss.org/browse/WFCORE-4266
> Project: WildFly Core
> Issue Type: Bug
> Components: VFS
> Environment: Java 9+
> Reporter: Daniel Schwering
> Priority: Major
> Attachments: buggywar.src.zip, buggywar.war, multireleaselib-0.0.1-SNAPSHOT.jar, multireleaselib-0.0.1-SNAPSHOT.jar, multireleaselib.src.zip, multireleaselib.src.zip
>
>
> 1
> down vote
> favorite
> Since Java 9 there are Multi-Release JARs ([MRJARS|https://openjdk.java.net/jeps/238]) that allow different classes for different Java versions to be included in one JAR file. I was surprised when a Wildfly 14 running on Java 11 executed Java-8-code in a JAR included in a WAR although the JAR was a MRJAR with code for Java 11. That JAR included as a dependency for a regular Java SE project is running different code depending on the running JRE, but when included in a WAR, the Java-11-code seems to be ignored.
> Is that expected behavior for a webserver, as Java EE 8 does not explicitly require Java 9 (which introduced MRJARs) but only Java 8?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (WFCORE-4266) Classes for newer versions are not loaded from Multi-Release-JARs in WARs
by David Lloyd (Jira)
[ https://issues.jboss.org/browse/WFCORE-4266?page=com.atlassian.jira.plugi... ]
David Lloyd moved WFLY-11353 to WFCORE-4266:
--------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-4266 (was: WFLY-11353)
Component/s: VFS
(was: Class Loading)
Affects Version/s: (was: 14.0.0.Final)
(was: 15.0.0.Final)
> Classes for newer versions are not loaded from Multi-Release-JARs in WARs
> -------------------------------------------------------------------------
>
> Key: WFCORE-4266
> URL: https://issues.jboss.org/browse/WFCORE-4266
> Project: WildFly Core
> Issue Type: Bug
> Components: VFS
> Environment: Java 9+
> Reporter: Daniel Schwering
> Priority: Major
> Attachments: buggywar.src.zip, buggywar.war, multireleaselib-0.0.1-SNAPSHOT.jar, multireleaselib-0.0.1-SNAPSHOT.jar, multireleaselib.src.zip, multireleaselib.src.zip
>
>
> 1
> down vote
> favorite
> Since Java 9 there are Multi-Release JARs ([MRJARS|https://openjdk.java.net/jeps/238]) that allow different classes for different Java versions to be included in one JAR file. I was surprised when a Wildfly 14 running on Java 11 executed Java-8-code in a JAR included in a WAR although the JAR was a MRJAR with code for Java 11. That JAR included as a dependency for a regular Java SE project is running different code depending on the running JRE, but when included in a WAR, the Java-11-code seems to be ignored.
> Is that expected behavior for a webserver, as Java EE 8 does not explicitly require Java 9 (which introduced MRJARs) but only Java 8?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (DROOLS-3339) refactor the PMML regression model to use an external library for regressions
by Jiri Petrlik (Jira)
[ https://issues.jboss.org/browse/DROOLS-3339?page=com.atlassian.jira.plugi... ]
Jiri Petrlik edited comment on DROOLS-3339 at 1/8/19 7:37 AM:
--------------------------------------------------------------
[~elmiko]
Is there any progress in this issue? It was mentioned that it consists of the following subtasks:
* research external regression library
* integrate code
* review tests and add where needed
Are some of these subtasks finished? Is there something to which QE can look at?
was (Author: jpetrlik):
[~elmiko]
Is there any progress in this issue? It was mentioned that it consists of the following subtasks:
* research external regression library
* integrate code
* review tests and add where needed
Are some of these subtasks finished?
> refactor the PMML regression model to use an external library for regressions
> -----------------------------------------------------------------------------
>
> Key: DROOLS-3339
> URL: https://issues.jboss.org/browse/DROOLS-3339
> Project: Drools
> Issue Type: Feature Request
> Components: PMML
> Affects Versions: 7.14.0.Final
> Reporter: michael mccune
> Assignee: michael mccune
> Priority: Critical
>
> Replace the current DRL generation for regression calculation by a specialized regression library, in order to simplify the code and improve compilation and runtime performance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (WFLY-11353) Classes for newer versions are not loaded from Multi-Release-JARs in WARs
by David Lloyd (Jira)
[ https://issues.jboss.org/browse/WFLY-11353?page=com.atlassian.jira.plugin... ]
David Lloyd commented on WFLY-11353:
------------------------------------
EARs and JARs (aka "non-WAR deployments") are what I'm referring to. You could potentially package your application as an EAR with the MR-JAR dependency in the EAR rather than inside the WAR. Note that this is just a workaround for the bug.
The proper fix belongs in org.jboss.as.server.deployment.module.VFSResourceLoader though, and probably isn't too difficult.
> Classes for newer versions are not loaded from Multi-Release-JARs in WARs
> -------------------------------------------------------------------------
>
> Key: WFLY-11353
> URL: https://issues.jboss.org/browse/WFLY-11353
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading
> Affects Versions: 14.0.0.Final, 15.0.0.Final
> Environment: Java 9+
> Reporter: Daniel Schwering
> Priority: Major
> Attachments: buggywar.src.zip, buggywar.war, multireleaselib-0.0.1-SNAPSHOT.jar, multireleaselib-0.0.1-SNAPSHOT.jar, multireleaselib.src.zip, multireleaselib.src.zip
>
>
> 1
> down vote
> favorite
> Since Java 9 there are Multi-Release JARs ([MRJARS|https://openjdk.java.net/jeps/238]) that allow different classes for different Java versions to be included in one JAR file. I was surprised when a Wildfly 14 running on Java 11 executed Java-8-code in a JAR included in a WAR although the JAR was a MRJAR with code for Java 11. That JAR included as a dependency for a regular Java SE project is running different code depending on the running JRE, but when included in a WAR, the Java-11-code seems to be ignored.
> Is that expected behavior for a webserver, as Java EE 8 does not explicitly require Java 9 (which introduced MRJARs) but only Java 8?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (DROOLS-3339) refactor the PMML regression model to use an external library for regressions
by Jiri Petrlik (Jira)
[ https://issues.jboss.org/browse/DROOLS-3339?page=com.atlassian.jira.plugi... ]
Jiri Petrlik commented on DROOLS-3339:
--------------------------------------
[~elmiko]
Is there any progress in this issue? It was mentioned that it consists of the following subtasks:
* research external regression library
* integrate code
* review tests and add where needed
Are some of these subtasks finished?
> refactor the PMML regression model to use an external library for regressions
> -----------------------------------------------------------------------------
>
> Key: DROOLS-3339
> URL: https://issues.jboss.org/browse/DROOLS-3339
> Project: Drools
> Issue Type: Feature Request
> Components: PMML
> Affects Versions: 7.14.0.Final
> Reporter: michael mccune
> Assignee: michael mccune
> Priority: Critical
>
> Replace the current DRL generation for regression calculation by a specialized regression library, in order to simplify the code and improve compilation and runtime performance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (DROOLS-3339) refactor the PMML regression model to use an external library for regressions
by Jiri Petrlik (Jira)
[ https://issues.jboss.org/browse/DROOLS-3339?page=com.atlassian.jira.plugi... ]
Jiri Petrlik edited comment on DROOLS-3339 at 1/8/19 7:27 AM:
--------------------------------------------------------------
[~elmiko]
Is there any progress in this issue? It was mentioned that it consists of the following subtasks:
* research external regression library
* integrate code
* review tests and add where needed
Are some of these subtasks finished?
was (Author: jpetrlik):
[~elmiko]
Is there any progress in this issue? It was mentioned that it consists of the following subtasks:
* research external regression library
* integrate code
* review tests and add where needed
Are some of these subtasks finished?
> refactor the PMML regression model to use an external library for regressions
> -----------------------------------------------------------------------------
>
> Key: DROOLS-3339
> URL: https://issues.jboss.org/browse/DROOLS-3339
> Project: Drools
> Issue Type: Feature Request
> Components: PMML
> Affects Versions: 7.14.0.Final
> Reporter: michael mccune
> Assignee: michael mccune
> Priority: Critical
>
> Replace the current DRL generation for regression calculation by a specialized regression library, in order to simplify the code and improve compilation and runtime performance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months