[jboss-jira] [JBoss JIRA] (WFLY-10937) Starting WFLY scripts with JDK 11 blows up with ModuleNotFoundException java.se

Marek Kopecký (Jira) issues at jboss.org
Tue Jan 29 06:24:01 EST 2019


    [ https://issues.jboss.org/browse/WFLY-10937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688587#comment-13688587 ] 

Marek Kopecký commented on WFLY-10937:
--------------------------------------

[~suganya_rajeswaran]: I confirm that appclient.bat works correctly with WF 15, but don't work correctly with WF 14.0.1
{noformat}
C:\Users\Administrator\wildfly-14.0.1.Final\bin>appclient.bat
Calling "C:\Users\Administrator\wildfly-14.0.1.Final\bin\appclient.conf.bat"
org.jboss.modules.ModuleNotFoundException: java.se
        at org.jboss.modules.Module.addPaths(Module.java:1266)
        at org.jboss.modules.Module.link(Module.java:1622)
        at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296)
        at org.jboss.modules.Main.main(Main.java:437)

C:\Users\Administrator\wildfly-14.0.1.Final\bin>
{noformat}
{noformat}
C:\Users\Administrator\wildfly-15.0.0.Final\bin>appclient.bat
Calling "C:\Users\Administrator\wildfly-15.0.0.Final\bin\appclient.conf.bat"
12:22:19,026 INFO  [org.jboss.modules] (main) JBoss Modules version 1.8.7.Final
WFLYAC0004: You must specify the application client to execute
The appclient script starts an application client which can be used to test and access the deployed EJBs.
Usage: appclient [args...]
where args include:
    --appclient-config=<config>         Name of the app client configuration
                                        file to use (default is "appclient.xml")


    -h, --help                          Display this message and exit


    --host=<url>, -H=<url>              Set the url of the application server
                                        instance to connect to


    -P=<url>, --properties=<url>        Load system properties from the given
                                        url


    --ejb-client-properties=<url>       Load ejb-client.properties file from
                                        the given url


    -D<name>[=value]                    Set a system property


    -v, --version                       Print version and exit


    -secmgr                             Runs the container with the security
                                        manager enabled.



C:\Users\Administrator\wildfly-15.0.0.Final\bin>
{noformat}

> Starting WFLY scripts with JDK 11 blows up with ModuleNotFoundException java.se
> -------------------------------------------------------------------------------
>
>                 Key: WFLY-10937
>                 URL: https://issues.jboss.org/browse/WFLY-10937
>             Project: WildFly
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: Marek Kopecký
>            Assignee: Richard Opalka
>            Priority: Blocker
>              Labels: Java11, blocker-WF14, jdk11
>             Fix For: 15.0.0.Beta1, 15.0.0.Final
>
>         Attachments: appclient.conf.bat
>
>
> Starting WFLY scripts with JDK 11 blows up with ModuleNotFoundException java.se
> *Affected scripts*
> * appclient
> * jdr
> * wsconsume
> * wsprovide
> *Example of logs*
> {noformat}
> [mkopecky at dhcp-10-40-4-197 bin]$ ./jdr.sh 
> org.jboss.modules.ModuleNotFoundException: java.se
> 	at org.jboss.modules.Module.addPaths(Module.java:1266)
> 	at org.jboss.modules.Module.link(Module.java:1622)
> 	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
> 	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296)
> 	at org.jboss.modules.Main.main(Main.java:437)
> [mkopecky at dhcp-10-40-4-197 bin]$ 
> {noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list