3 Replies Latest reply on Jul 5, 2015 6:52 AM by Wolfgang Mayer

    how to check if a module is loaded into JBOSS server

    aditya vamsee Newbie



      I use JBOSS EAP-6.3 server.

      I have added EclipseLink-2.1.3.jar as module by creating <JBoss_Home>/modules/org/eclipse/persistence/ and copied eclipselink jar and created module.xml as below




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

      <module xmlns="urn:jboss:module:1.1" name="org.eclipse.persistence">


      <resource-root path="EclipseLink-2.1.3.jar"/>



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

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

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

      <module name="javax.xml.bind.api"/>




      and restarted the server as ./standalone.sh -c standalone-full.xml


      However, post restarting and starting the application getting an error as


      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011434: Persistence provider module load error org.eclipse.persistence (class org.eclipse.persistence.jpa.PersistenceProvider)

          Caused by: org.jboss.modules.ModuleNotFoundException: org.apache.ant:main"}},

          "rolled-back" => true


      Kindly suggest on how to check if the eclipselink is loaded into the server or on how to resolve the above issue.