2 Replies Latest reply on Jan 2, 2014 7:07 PM by Harish Maridi

    Module Loading issue - Jboss 6.1 eap

    Harish Maridi Newbie

      Hi,

       

      I have a rar file AvCredentialConnector.rar and its MET-INF has following dependency

      Manifest-Version: 1.0

      Ant-Version: Apache Ant 1.7.0

      Created-By: 24.45-b08 (Oracle Corporation)

      Dependency: av.mobile.axis2

       

      JBOSS_HOME/modules/system/layers/base/av/mobile/axis2/main has

      Jar that has "AvQuestInterfaces_DataNotification_PublicServiceStub" class and module.xml

      Module.xml contents:

      <module xmlns="urn:jboss:module:1.1" name="av.mobile.axis2">

          <properties>

              <property name="jboss.api" value="private"/>

          </properties>

          <resources>

              <resource-root path="AvMobileAxis2Services.jar"/>

              <!-- Insert resources here -->

          </resources>

          <dependencies>

          </dependencies>

      </module>

       

      I am getting the following error while accessing the application::

      15:50:47,869 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/avmobi].[MobiRouterServlet]] (http-/127.0.0.1:8080-3) JBWEB000236: Servlet.service() for servlet MobiRouterServlet threw exception: java.lang.ClassNotFoundException: com.av.mobile.ws.axis2.adb.esb.employee.v1_0.AvQuestInterfaces_DataNotification_PublicServiceStub from [Module "deployment.AvCredentialConnector.rar:main" from Service Module Loader]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]

       

      Please let me know If I am doing anything wrong with module loading. or if I missed any configurations needed.

       

      Thanks,

      Harish Maridi