0 Replies Latest reply on May 11, 2015 9:07 AM by Raj Kumar

    How to add libraries to Wildfly Application Server using module ?

    Raj Kumar Newbie

      Hi , i want to load the Application server Libraries in Java Build Path in eclipse,


      i have 5 applications in eclipse which shares common libraries,

      i can't put all the libraries in each project lib folder,

      so i want to add the libraries in Wildfly Application server using modules.


      This is my module.xml file add added the lib at  WILDFLY_HOME/modules/system/layers/base/com/mysql/main/mysql-connector-java-5.1.23-bin.jar


      <?xml version="1.0" encoding="UTF-8"?>

      <module xmlns="urn:jboss:module:1.1" name="com.mysql">


      <resource-root path="mysql-connector-java-5.1.23-bin.jar"/>



      <module name="javax.api"/>

      <module name="javax.transaction.api"/>




      After Restarting the server,this module is not loading in Eclipse Build path.

      Can any one knows what wrong with this modules ?

      In Wildfly i have some predefined modules, those are loading in build path successfully, but user-defined modules are not loading ?

      why ?