O'Reilly logo

JBoss: Developer's Guide by Elvadas Nono Woguia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

 Deploying the module on JBoss

To deploy the module, we have to build the project and copy the artifact in the expected module's main folder:

cd $EAP_DOMAIN/jboss-eap-7.0/modules/system/layers/base$ mkdir -p com/beosbank/jbdevg/jbossas/jaas/main$ mvn clean install$ cp target/beosbank-login-module-1.0-SNAPSHOT.jar $EAP_DOMAIN/jboss-eap-7.0/modules/system/layers/base/com/beosbank/jbdevg/jbossas/jaas/main

Copy the module.xml index file to the module -- main folder:

$ cp module.xml $EAP_DOMAIN/jboss-eap-7.0/modules/system/layers/base/com/beosbank/jbdevg/jbossas/jaas/main

Here is the content of the module.xml file. It contains both the default configuration properties, the root resource jar to load, and its dependencies:

<module xmlns="urn:jboss:module:1.1" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required