[JBoss JIRA] (WFCORE-3895) module.path of embedded server cannot be modified after it is set
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3895?page=com.atlassian.jira.plugi... ]
Jeff Mesnil commented on WFCORE-3895:
-------------------------------------
[~jamezp] this regression happened with WFCORE-3205 since 5.0.0.Beta1.
This is a regression against WildFly 12 and this should be fixed before WildFly 13 is released
> module.path of embedded server cannot be modified after it is set
> -----------------------------------------------------------------
>
> Key: WFCORE-3895
> URL: https://issues.jboss.org/browse/WFCORE-3895
> Project: WildFly Core
> Issue Type: Bug
> Components: Embedded
> Affects Versions: 5.0.0.Beta5
> Reporter: Erich Duda
> Assignee: James Perkins
> Priority: Blocker
>
> *Scenario:*
> * Run CLI in non-modular class loading mode.
> * Run embed-server with {{--jboss-home}} pointing to server A
> * Stop embed-server
> * Remove server A
> * Run embed-server with {{--jboss-home}} pointing to server B
> *Expectation:* embed-server with {{--jboss-home}} pointing to server B will boot.
> *Reality*: The following error message is thrown. As you can see the embed server tries to load modules from server A directory even if the jboss-home was set to server B.
> {code}
> Cannot start embedded server: The first directory of the specified module path /home/eduda/Projects/wildfly/dist/target/wildfly-A/modules is invalid or does not exist.
> {code}
> *Users impact:* Behavior of non-modular class loading \[1\] has changed. This change can break user's automation or tests.
> *Blocker priority* was chosen because this is change in behavior against Wildfly 12.
> *Technical details*
> When the embed-server is started for the second time, following warning is logged.
> {code}
> 2018-05-28 08:10:57,621 WARN [org.jboss.as.embedded] (main) WFLYEMB0145: The module loader has already been configured. Changing the module.path property will have no effect
> {code}
> It seems that the change in behavior was caused by commit \[2\].
> \[1\] http://wildfly.org/news/2015/03/13/Offline-CLI/#classloading
> \[2\] https://github.com/wildfly/wildfly-core/commit/22f3956f1adcdf8b1cb11e24f2...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFCORE-3885) XNIO prints WARNING with JDK10+ if CLI connects to server
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3885?page=com.atlassian.jira.plugi... ]
Kabir Khan updated WFCORE-3885:
-------------------------------
Labels: blocker-WF14 (was: )
> XNIO prints WARNING with JDK10+ if CLI connects to server
> ---------------------------------------------------------
>
> Key: WFCORE-3885
> URL: https://issues.jboss.org/browse/WFCORE-3885
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI, Scripts
> Reporter: Marek Kopecký
> Assignee: Jean-Francois Denise
> Priority: Blocker
> Labels: blocker-WF14
>
> CLI prints WARNING with JDK10+ if CLI connects to server
> {noformat}
> [mkopecky@dhcp-10-40-5-52 bin]$ java -version
> java version "10" 2018-03-20
> Java(TM) SE Runtime Environment 18.3 (build 10+46)
> Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
> [mkopecky@dhcp-10-40-5-52 bin]$ ./jboss-cli.sh "echo test"
> test
> [mkopecky@dhcp-10-40-5-52 bin]$ ./jboss-cli.sh -c "echo test"
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.xnio.nio.NioXnio$2 (jar:file:/home/mkopecky/playground/eap/7.2.0.CD13.1/jboss-eap-7.2/modules/system/layers/base/org/jboss/xnio/nio/main/xnio-nio-3.6.3.Final.jar!/) to constructor sun.nio.ch.EPollSelectorProvider()
> WARNING: Please consider reporting this to the maintainers of org.xnio.nio.NioXnio$2
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> test
> [mkopecky@dhcp-10-40-5-52 bin]$
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months