The release 7.2 of JBoss AS introduces the capability to install a module using the Command Line Interface. In this tutorial we will show how you can install a data source as a module using a CLI script.
JBoss Enterprise Application Platform; JBEAP-12467 (7.1.0) Module naming does does not support slots. JBoss has a module 'sun.jdk' which is used to load the jdk classes. For some reason not all classes are referenced. In order to allow for the sun or com related jdk packages which are not getting loaded we need to register them under the 'sun.jdk' module.
Modules are the heart of the new application server release. If you want to install a library as a module, in order to share with your applications, you have to create a directory structure for it and add the module.xml file descriptor and the JAR libraries. See this tutorial for more information about installing a module on your AS 7 file system.
Jboss Module Slot Machine
This might be a little lenghty approach or simply it can be you don't have access to the JBoss AS file system. (e.g. a remote server installation). In order to install modules using the CLI, you have to download a JBoss AS 7.2 latest build from Jenkins https://ci.jboss.org/jenkins/job/JBoss-AS-7.x-latest/
As you can see, once you connect with the CLI (jboss-cli.cmd / jboss-cli.sh) some new commands are available, by pressing the tab key. Craps table meaning.
The command we will use is 'module' and you need to provide three arguments: the module name, the resources (JAR files) and the dependencies used. Optionally you can add a module slot, in case your module uses several different implementations. Genting casino fountain park poker tournaments 2020.
Jboss-deployment-structure Module Slot
Kyle canyon slots. Here's the script for creating a MySQL module (line 1) + driver (line 2) + data source (line 3).